Mailinglist Archive: opensuse (1532 mails)

< Previous Next >
Re: [opensuse] Ideas on disk cloning?
  • From: Anders Norrbring <lists@xxxxxxxxxxxx>
  • Date: Wed, 04 Jul 2007 09:15:02 +0200
  • Message-id: <468B48F6.4060709@xxxxxxxxxxxx>
Christopher Stender skrev:
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.

What I'm looking for is to move a working system to another computer with smaller disk...

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >