Transferring disks with partimage
Joep L. Blom
jlblom at neuroweave.nl
Tue Jul 14 15:08:42 UTC 2009
Fred Roller wrote:
> DD will work over the network. Ensuring neither drive is mounted, the
> command would look something like this:
>
> dd if=/dev/sda1 |ssh user at destination.pc "dd of=/dev/sdb1 bs=4028
> conv=notrunc"
>
> sda1 = whatever source device
> sdb1 = whatever destination drive
>
> if you want to do the whole drive then drop the numbers (sda ->sdb)
>
> this takes awhile (5-25 Mb/s is the range I have seen).
> Hope this helps. Check the archives, we just discussed this subject and
> proceedures for both dd and rsync are there.
>
> Hope this helps.
>
Fred & Siggy,
Thanks for the reply. I agree with Siggy that dd over the network is
dangerous moreover I don't want the same partition size on both drives.
The whole procedure is meant to store one 20 GB disk and one 80 GB disk
each on a separate partition on a 1 TB disk, well at least all the ext3
partitions. Of course the NTFS and FAT32 partitions will come on their
own partition. I was thinking along the line of using partimage-server
to move the images ( of each partition) to the destination system.
However that doesn't solve my wish to concatenate the smaller partitions.
I'm still looking for a way to do that with a minimal of effort (!).
Joep
More information about the ubuntu-users
mailing list