[Nottingham] HDD cloning via LAN

Martin martin at ml1.co.uk
Tue Apr 27 19:04:44 BST 2004


Paul Sladen wrote:
> On Tue, 27 Apr 2004, Martin wrote:
> 
>>Given two laptops, what is the best way to clone the hdd from one onto 
>>the other using their LAN connections?
> 
> 
> First laptop (destination):
> 
>   # nc -l -p 1234 | gunzip -cd > /dev/hda
> 
> Second laptop (source):
> 
>   # nc 10.0.0.1 1234 | gzip -3 < /dev/hda
> 
> The low-compression gzip should accelerate unformatted disk areas without
> caning your CPU.  E&OE.


This looks to be the better bet.

I'll take you up on your E&OE and on the second laptop go for

# gzip -3 < /dev/hda | nc 10.0.0.1 1234

(:-))

Thanks,
Martin

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




More information about the Nottingham mailing list