Mailinglist Archive: opensuse (1532 mails)

< Previous Next >
Re: [opensuse] Ideas on disk cloning?
  • From: Christopher Stender <cstender@xxxxxxx>
  • Date: Tue, 3 Jul 2007 12:24:03 +0200
  • Message-id: <200707031224.03912.cstender@xxxxxxx>
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.


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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References