Hi,
I recently made an image of my HDD using clonezilla live and discovered
a problem with the partclone image of an ext4 partition on that HDD. The
ext4 partition is the root "/" partition of a Fedora 13 installation.
Problem description:
After creating an image (with gzip compression) of the HDD I ran
# cat sda3.ext4-ptcl-img.gz | gzip -d -c | partclone.restore -C -s - -o
sda3.img
to obtain "sda3.img" which I want to loop mount using the command
# mount -t ext4 -o loop,ro sda3.img /media/ext4test/
yielding the following error output from mount
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
the corresponding dmesg output is
EXT4-fs (loop0): bad geometry: block count 47863659 exceeds size of
device (47712800 blocks)
I searched the web to find out if the problem is more widespread, but I
did not (yet) find anything clonezilla/partclone related.
The partition itself is OK since Fedora 13 boots flawlessly from it and
fsck does not report any errors. However, due to the above error I
cannot run fsck on the file "sda3.img". The error happens with both, the
32-bit and the 64-bit versions of Fedora 13.
Previously I never had problems with clonezilla and ext3 partitions. I
hit this error using clonezilla-live-1.2.5-35-i686.iso and
clonezilla-live-20100721-lucid.iso (the latest stable versions of
clonezilla live).
Additional information is attached.
Did I miss an option in the mount command? Is there something else in
the procedure I am using?
I highly appreciate any help in resolving this problem.
Thank you in advance!
Regards,
Andreas
PS: The "/boot" partition on that HDD also uses ext4 and it can be loop
mounted without any problems from an image using the procedure as
described above.
Image was saved by these Clonezilla-related packages:
drbl-1.9.6-36 clonezilla-2.3.6-43 mkswap-uuid-0.1.1-1
drbl-partimage-0.6.8-1drbl partclone-0.2.11-1drbl drbl-chntpw-0.0.20040818-7
drbl-lzop-1.02-0.8drbl pigz-2.1.5-1drbl pbzip2-1.1.1-1drbl
udpcast-20100130-1drbl
sda3
cylinders=30401
heads=255
sectors=63
Model: ATA FUJITSU MHZ2250B (scsi)
Disk /dev/sda: 488397168s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 63s 92164904s 92164842s primary ntfs boot
2 92164905s 93193064s 1028160s primary ext4
3 93193065s 476102339s 382909275s primary ext4
4 476102340s 488392064s 12289725s primary linux-swap(v1)
# partition table of /dev/sda
unit: sectors
/dev/sda1 : start= 63, size= 92164842, Id= 7, bootable
/dev/sda2 : start= 92164905, size= 1028160, Id=83
/dev/sda3 : start= 93193065, size=382909275, Id=83
/dev/sda4 : start=476102340, size= 12289725, Id=82
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Clonezilla-live mailing list
Clonezilla-live@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clonezilla-live