Menu

#242 ocs-get-part-info get the wrong filesystem type from a OpenBSD partition (0xA6)

testing_clonezilla
open
nobody
None
5
2016-03-06
2016-02-21
Walter
No

Hello,
when I try to backup the hole disk or only the OpenBSD partition I get the error message:
extfsclone.c: Couldn't find valid filesystem bitmap

Here more informations. If I somehow can help just say.

Thank you for you work
Walter

Info-packages.txt

Image was saved by these Clonezilla-related packages:
 drbl-2.19.3-drbl1 clonezilla-3.20.6-drbl1 mkswap-uuid-0.1.1-1drbl partclone-0.2.87-drbl2 drbl-chntpw-20110511-1drbl util-linux-2.27.1-3 gdisk-1.0.1-1

clonezilla-img

This image was saved by Clonezilla at 2016-02-21 05:22:13 UTC.
The log during saving:
----------------------------------------------------------
Starting /usr/sbin/ocs-sr at 2016-02-21 05:18:44 UTC...
*****************************************************.
Clonezilla image dir: /home/partimag
Shutting down the Logical Volume Manager
Finished Shutting down the Logical Volume Manager
The selected devices: sda5
PS. Next time you can run this command directly:
/usr/sbin/ocs-sr -q2 -c -j2 -z1p -i 4096 -p true saveparts 2016-02-21-05-img sda5
*****************************************************.
The selected devices: sda5
The following step is to save the hard disk/partition(s) on this machine as an image:
*****************************************************.
Machine: To be filled by O.E.M.
sda5 (146.4G_ext4(In_ST31000524AS_)_ST31000524AS_9VPFARXH)
*****************************************************.
-> "/home/partimag/2016-02-21-05-img".
Shutting down the Logical Volume Manager
Finished Shutting down the Logical Volume Manager
Saving block devices info in /home/partimag/2016-02-21-05-img/blkdev.list...
Saving block devices attributes in /home/partimag/2016-02-21-05-img/blkid.list...
Checking the integrity of partition table in the disk /dev/sda... 
Reading the partition table for /dev/sda...RETVAL=0
*****************************************************.
The first partition of disk /dev/sda starts at 2048.
Saving the hidden data between MBR (1st sector, i.e. 512 bytes) and 1st partition, which might be useful for some recovery tool, by:
dd if=/dev/sda of=/home/partimag/2016-02-21-05-img/sda-hidden-data-after-mbr skip=1 bs=512 count=2047
2047+0 records in
2047+0 records out
1048064 bytes (1.0 MB, 1.0 MiB) copied, 0.163183 s, 6.4 MB/s
*****************************************************.
Saving the MBR data for sda...
1+0 records in
1+0 records out
512 bytes copied, 0.000124526 s, 4.1 MB/s
Starting saving /dev/sda5 as /home/partimag/2016-02-21-05-img/sda5.XXX...
/dev/sda5 filesystem: ext4.
*****************************************************.
*****************************************************.
Use partclone with pigz to save the image.
Image file will be split with size limit 4096 MB.
*****************************************************.
If this action fails or hangs, check:

* Is the disk full ?
*****************************************************.
Run partclone: partclone.ext4 -z 10485760 -N -L /var/log/partclone.log -c -s /dev/sda5 --output - | pigz -c --fast -b 1024 -p 16 --rsyncable | split -a 2 -b 4096MB - /home/partimag/2016-02-21-05-img/sda5.ext4-ptcl-img.gz. 2> /tmp/split_error.8bx5LF
Partclone v0.2.87 http://partclone.org
Starting to clone device (/dev/sda5) to image (-)
Reading Super Block
we need memory: 4804996 bytes
image head 4160, bitmap 4796736, crc 4100 bytes
Calculating bitmap... Please wait... extfsclone.c: Couldn't find valid filesystem bitmap.
Failed to use partclone program to save or restore an image!
*****************************************************.
Failed to save partition /dev/sda5.
End of saveparts job for image /home/partimag/2016-02-21-05-img.
Checking if udevd rules have to be restored...
This program is not started by Clonezilla server, so skip notifying it the job is done.
Finished!
### End of log ###
### Image created time: 2016-0221-0522

sda-pt.parted

Model: ATA ST31000524AS (scsi)
Disk /dev/sda: 1953525168s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start        End          Size         Type      File system     Flags
 1      2048s        206847s      204800s      primary   ntfs            boot
 2      206848s      307202047s   306995200s   primary   ntfs
 3      307202048s   614195199s   306993152s   primary   ntfs
 4      614197246s   1953523711s  1339326466s  extended
 5      614197248s   921188351s   306991104s   logical   ext4
 6      921190400s   952438783s   31248384s    logical   linux-swap(v1)
 7      952440832s   1259640831s  307200000s   logical   ext4
 8      1259642880s  1552609279s  292966400s   logical   ext4
 9      1552611328s  1953523711s  400912384s   logical   fat32

sda-pt.fs

label: dos
label-id: 0x6e48fe81
device: /dev/sda
unit: sectors

/dev/sda1 : start=        2048, size=      204800, type=7, bootable
/dev/sda2 : start=      206848, size=   306995200, type=7
/dev/sda3 : start=   307202048, size=   306993152, type=7
/dev/sda4 : start=   614197246, size=  1339326466, type=5
/dev/sda5 : start=   614197248, size=   306991104, type=a6
/dev/sda6 : start=   921190400, size=    31248384, type=82
/dev/sda7 : start=   952440832, size=   307200000, type=83
/dev/sda8 : start=  1259642880, size=   292966400, type=83
/dev/sda9 : start=  1552611328, size=   400912384, type=b

Here same outputs from my debian:

~# blkid -c /dev/null /dev/sda5
~# parted -s /dev/sda print
Model: ATA ST31000524AS (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type      File system     Flags
 1      1049kB  106MB   105MB   primary   ntfs            boot
 2      106MB   157GB   157GB   primary   ntfs
 3      157GB   314GB   157GB   primary   ntfs
 4      314GB   1000GB  686GB   extended
 5      314GB   472GB   157GB   logical   ext4
 6      472GB   488GB   16,0GB  logical   linux-swap(v1)
 7      488GB   645GB   157GB   logical   ext4
 8      645GB   795GB   150GB   logical   ext4
 9      795GB   1000GB  205GB   logical   fat32
~# wipefs /dev/sda5
offset               type
----------------------------------------------------------------
0x255c               ufs   [filesystem]
                     UUID:  562ceb05087bd449

0x438                ext4   [filesystem]
                     UUID:  0c392e52-3a56-43e6-8fc3-982c1203ccaf

~# fdisk -l
Disk /dev/sda: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6e48fe81

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sda1  *          2048     206847     204800   100M  7 HPFS/NTFS/exFAT
/dev/sda2           206848  307202047  306995200 146,4G  7 HPFS/NTFS/exFAT
/dev/sda3        307202048  614195199  306993152 146,4G  7 HPFS/NTFS/exFAT
/dev/sda4        614197246 1953523711 1339326466 638,7G  5 Extended
/dev/sda5        614197248  921188351  306991104 146,4G a6 OpenBSD
/dev/sda6        921190400  952438783   31248384  14,9G 82 Linux swap / Solaris
/dev/sda7        952440832 1259640831  307200000 146,5G 83 Linux
/dev/sda8       1259642880 1552609279  292966400 139,7G 83 Linux
/dev/sda9       1552611328 1953523711  400912384 191,2G  b W95 FAT32

Discussion

  • Walter

    Walter - 2016-02-24

    Hello,
    here now the output from OpenBSD command fdisk sd0 (sd0 is my hard disk, under linux is called sda)

    Disk: sd0   geometry: 121601/255/63 [1953525168 Sectors]
    Offset: 0   Signature: 0xAA55
                Starting         Ending         LBA Info:
     #: id      C   H   S -      C   H   S [       start:        size ]
    -------------------------------------------------------------------------------
    *0: 07      0  32  33 -     12 223  19 [        2048:      204800 ] NTFS        
     1: 07     12 223  20 -  19122 112  62 [      206848:   306995200 ] NTFS        
     2: 07  19122 112  63 -  38231 225  10 [   307202048:   306993152 ] NTFS        
     3: 05  38232   2  41 - 121601  57  56 [   614197246:  1339326466 ] Extended DOS
    Offset: 614197246   Signature: 0xAA55
                Starting         Ending         LBA Info:
     #: id      C   H   S -      C   H   S [       start:        size ]
    -------------------------------------------------------------------------------
     0: A6  38232   2  43 -  57341  82  21 [   614197248:   306991104 ] OpenBSD     
     1: 05  57341  82  22 -  59286 145  59 [   921188352:    31250432 ] Extended DOS
     2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
     3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
    Offset: 921188352   Signature: 0xAA55
                Starting         Ending         LBA Info:
     #: id      C   H   S -      C   H   S [       start:        size ]
    -------------------------------------------------------------------------------
     0: 82  57341 114  54 -  59286 145  59 [   921190400:    31248384 ] Linux swap  
     1: 05  59286 145  60 -  78409   3  58 [   952438784:   307202048 ] Extended DOS
     2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
     3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
    Offset: 952438784   Signature: 0xAA55
                Starting         Ending         LBA Info:
     #: id      C   H   S -      C   H   S [       start:        size ]
    -------------------------------------------------------------------------------
     0: 83  59286 178  29 -  78409   3  58 [   952440832:   307200000 ] Linux files*
     1: 05  78409   3  59 -  96645 116  47 [  1259640832:   292968448 ] Extended DOS
     2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
     3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
    Offset: 1259640832  Signature: 0xAA55
                Starting         Ending         LBA Info:
     #: id      C   H   S -      C   H   S [       start:        size ]
    -------------------------------------------------------------------------------
     0: 83  78409  36  28 -  96645 116  47 [  1259642880:   292966400 ] Linux files*
     1: 05  96645 116  48 - 121601  57  56 [  1552609280:   400914432 ] Extended DOS
     2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
     3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
    Offset: 1552609280  Signature: 0xAA55
                Starting         Ending         LBA Info:
     #: id      C   H   S -      C   H   S [       start:        size ]
    -------------------------------------------------------------------------------
     0: 0B  96645 149  17 - 121601  57  56 [  1552611328:   400912384 ] Win95 FAT-32
     1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
     2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
     3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
    
     
  • Steven Shiau

    Steven Shiau - 2016-03-06

    How about the output of "blkid" on clonzilla command line prompt?
    Please show all of them.
    Thanks.

    Steve.

     
  • Walter

    Walter - 2016-03-06

    Hello Steve,
    the command "blkid -c /dev/null /dev/sda5" has no output. Is exactly what you see above.

    Thanks
    Walter

     
  • Steven Shiau

    Steven Shiau - 2016-03-06

    Hi Walter,
    I meant to show all of them by running only "blkid" without any options and parameters.

    Steven.

     
  • Walter

    Walter - 2016-03-06

    Hello Steven,
    here now the output from "blkid".

    ~# blkid
    /dev/sda1: LABEL="System-reserviert" UUID="5C109A39109A19DA" TYPE="ntfs" PARTUUID="6e48fe81-01"
    /dev/sda2: LABEL="Win7" UUID="D6CEA1E8CEA1C0DB" TYPE="ntfs" PARTUUID="6e48fe81-02"
    /dev/sda3: UUID="5ADE6184DE6158F1" TYPE="ntfs" PARTUUID="6e48fe81-03"
    /dev/sda7: LABEL="Arch" UUID="12592d57-5fed-48c5-b5ce-758e3f03c70e" TYPE="ext4" PARTUUID="6e48fe81-07"
    /dev/sda8: LABEL="debian" UUID="af3187b0-7c02-434f-bb58-a841c5d9fa4a" TYPE="ext4" PARTUUID="6e48fe81-08"
    /dev/sda9: LABEL="Daten" UUID="2D81-69DE" TYPE="vfat" PARTUUID="6e48fe81-09"
    /dev/sdb1: UUID="3361-376C" TYPE="vfat" PARTUUID="ed234ca7-01"
    /dev/sda6: UUID="a635644f-bac3-4995-a57c-c8ba5ef87d26" TYPE="swap" PARTUUID="6e48fe81-06"
    /dev/loop0: TYPE="squashfs"
    ~# echo $?
    0
    ~# blkid -c /dev/null /dev/sda5
    ~# echo $?
    2
    ~#
    

    Thanks
    Walter

     

Log in to post a comment.

MongoDB Logo MongoDB