Migrate Hard Drive Over IP
Anonymous (not verified) - Mon, 2009-03-23 14:56
How to migrate a hard drive partition or lvm over a network. On the machine where you want the drive to be copied to (target)
- Create a lvm the correct size
lvcreate -L6G -n pbx-root VolGroup00?
- start netcat
nc -l 30000 |dd of=/dev/VolGroup00?/pbx-rootNote: you may need to disable the firewall or just open port 30000 On the machine where you are copying from (source)
dd if=/dev/VolGroup00?/pbx-root |nc target.tld 30000This may take some time - but when it is finished, both machines will return to the command prompt, with the target machine advising how much data has been transferred.
-- Michael Judd
Tags: