Failure to re-read restored partition table during image restoration
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
Version: clonezilla-live-2.2.2-37-i686-pae
After being seriously let down by my normal RAID1 spare volume backups on the main machine, I made a Clonezilla backup and then immediately restored to see whether I can trust it or not.
Clonezilla failed to restore the disk images (two disks imaged containing RAID volumes that Clonezilla treated as raw volumes) reporting that it could not reread the restored partition table (see attached image - sorry about the flash).
The workaround was to choose 'Use dd to create partition (NOT OK if logical drives exist)' - RAID volumes are logical to me, but I assume this means lvm, which I don't use.
Extra note - this happened every time I tried to restore using the default options - it only worked once dd was used.
I have since done another restoration onto the same disks without messing with dd, and have had no problems. I have moved away from a RAID1 OS volume now, so I'll no longer be able to trigger this bug anyway.
RAID support is not well for Clonezilla, as described here:
http://clonezilla.org/
http://drbl.org/faq/fine-print.php?path=./2_System/95_workaround_for_RAID_1.faq#95_workaround_for_RAID_1.faq
Steven.
I'm not asking for Clonezilla to get involved with the management of the RAID volumes (obviously it would be nice so that it knew about what space was actually used etc) - this is just a case of two disks that just happen to have RAID volumes on them - Clonezilla is imaging the whole disks.
Its just mdadm and no hardware RAID - I guess if this happens again at some point in the future, I will make sure that nothing is touching the partitions (I certainly didn't ask mdadm to reassemble anything etc).
Thanks