There appears to be a bug resizing disk images taken using the oneiric distro. Images of the same hardware/disk using the earlier natty distro resize correctly, using the same parameters. The key seems to be the version that was used to image originally, as I can restore a disk image (that was made using Natty version) on the Oneiric version and it resizes correctly. However if I take the same image using the Oneiric version and try to restore that one, it does not resize.
Looking at the debug output, it seems the issue is that when restoring the image (remember this is using the same set of parameters i.e the -r and -k1) it does not recognise that the target drive is bigger, so restore a 32Gb image to an 80Gb drive, starts the resize part of the process but sees the device as 32Gb and says it doesnt need to resize. I can then straight away start the process over (still using Oneiric) and choose my natty image, and when the resize part starts it see a volume of 32Gb but device of 80Gb so resizes it up.
I had been tearing my hair out for 3 weeks trying to figure out why my new image wouldnt resize, and eventually factored out everything except the version used to take the original image. Screenshots of the debug log output attached
Trying to restore image taken using ONEIRIC distro onto identical hardware just bigger SSD
showing how image doesnt resize as it sees the device size as 32Gb instead of 80Gb
Right after the procedure, restoring a different image taken using Natty and shows how it sees the device size correctly and resizes to match
Now restoring image taken using Natty version, notice how is has the correct sizes for both SDA and SDA1 now (still using same restore procedure)
Could you please Clonezilla live 1.2.12-51 or 20120419-precise a try?
If this problem is reproducible on these 2 versions, please let us know.
Thanks.
Steven.