[Nottingham] HDD cloning via LAN

Martin martin at ml1.co.uk
Thu Apr 29 00:38:07 BST 2004


Martin wrote:
> Question:
> 
> Given two laptops, what is the best way to clone the hdd from one onto 
> the other using their LAN connections?
> 
> That is, what mini-distro or utility is there to do:
> dd if=ip-of-laptop1/dev/hda of=ip-of-laptop2/dev/hda


Finally used MandrakeMove (cd based distro), running sshd on the 
destination machine, to then use the following incantation on the source 
machine:

dd if=/dev/hda | gzip -3 -c | ssh martin at some-ip-address "( gzip -cd | 
dd of=/dev/hda )"

Included the ( ) out of paranoia.

Worked very well with about 80% cpu useage on the source machine.


Now... There must be a streamlined cut down distro just for doing 
diagnosis, network hackings, disk hackings stuff...

Thanks for the earlier suggestions.

Cheers,
Martin

-- 
----------------
Martin Lomas
martin at ml1.co.uk
----------------




More information about the Nottingham mailing list