On Tuesday 03 July 2007 13:33, James Knott wrote:
Christopher Stender wrote:
On Tuesday 03 July 2007 12:06, Anders Norrbring wrote:
I usually use dd and ssh to clone disks from one machine to another, but that only works when the target is equally big or larger than the source.
Is there any easy way to do it from a 13% filled 60GB disk to a remote disk that's only 16GB?
Obviously dd won't work...
You can use: dd if=/dev/sda1 | gzip > some_file.img.gz
This compress the image on the fly.
And then, when you try to unzip it on a disk that's too small???
Whether you zip it or not, you can't use an image to move to a smaller disk.
Well, I assumed that he wanted to do a backup only. Of course you can not unzip a compressed disc image which is bigger than your hdd. Best regards, Christopher -- Christopher Stender, R&D Team Mobile Devices SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org