Page 1 of 1

partimage image file uses whole drive

Posted: Tue Jul 29, 2008 4:10 am
by jozien
I have on /dev/sda12 mepis 7.0; 5.9GB, 3.6GB used.
Shrunk sda12 to 4.0GB. Used partimage to backup sdb12 and
compress using gzip and got 1.7GB image file.
Expanded sda12 to original size 5.9GB
Restored sda12 and uncompress to original 3.6GB
Took up whole sda12; 5.9GB, no more space left on sda12.
What happened to the unused 2.3GB on original sda12; 5.9GB?.
Did the same on a 59GB partition, no space left on device.
Tried dd, same result

#dd if=/dev/sda12 of=/dev/sdb15. sdb15 is a 59GB USB hard drive.

Am I missing something? What am I doing wrong?