Re: [Clonezilla-live] Clonezilla / Partclone ext4 problem
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
From: Andreas W. <and...@nt...> - 2010-09-03 22:44:57
|
Hi, omitting the -C option does not work when restoring to a file (as expected). I also created SHA1 checksums in order to verify the image is OK. Mounting the partition from an image created with dd works, so it seems this is really a bug in clonezilla or partclone. Regards, Andreas On 01.09.2010 17:15, Andreas Winkelbauer wrote: > I restore the image to a file and the partition holding the file is > large enough to hold the restored partition. I can try it again omitting > the -C option of partclone.restore but I am quite sure that it won't > make a difference. > > By the way: partclone.restore is v0.2.14 and partclone.extfs is the > version included in clonezilla live 1.2.5-35. > > Regards, > Andreas > > > On 01.09.2010 16:44, Steven Shiau wrote: >> The error message: "EXT4-fs (loop0): bad geometry: block count 47863659 >> exceeds size of >> device (47712800 blocks)" >> Maybe you have to check the destination partition size is equal or >> larger than the source one. >> >> Steven. >> >> On 2010年08月31日 16:37, Andreas Winkelbauer wrote: >>> 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. >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 >>> Clo...@li... >>> https://lists.sourceforge.net/lists/listinfo/clonezilla-live >>> >> >> -- >> Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> >> National Center for High-performance Computing, Taiwan. >> http://www.nchc.org.tw >> Public Key Server PGP Key ID: 1024D/9762755A >> Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A >> >> >> >> ------------------------------------------------------------------------------ >> 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 >> Clo...@li... >> https://lists.sourceforge.net/lists/listinfo/clonezilla-live > > ------------------------------------------------------------------------------ > 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 > Clo...@li... > https://lists.sourceforge.net/lists/listinfo/clonezilla-live |