<p>James gave you some good suggestions, here's how you do it over SSH from the source machine.</p>
<ul>
<li>(On source machine) dd if=/dev/sda | ssh root@[destination] dd of=/dev/sda</li>
</ul>
<p>Something that's important to note. You don't want to copy a LVM volume over the network to another LVM volume. It won't work correctly and you'll corrupt the destination volume. You can, however, copy to a file on the remote machine, and then to the destination LVM volume.</p>
<ul>
<li>(On source machine) dd if=/dev/VolGroup/LogVol00 | ssh root@[destination] dd of=/home/somefilename.dump</li>
<li>(On destination machine) dd if=/home/somefilename.dump of=/dev/VolGroup/DestinationVol</li>
</ul>
<p>I always add bs=64k to the source dd command to speed things up, but it's up to you. Hope this helps.</p>
<p>Ken</p>
<p> </p>
<p>On Tue, 4 Jan 2011 20:01:58 +0000, wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<pre>Hi..
I need to dd a hard drive from a machine on one box to a machine on another box over a tcp network connection. How would you do that? Would some kind of fancy command using netpipes do the job?
-Jim Butler
Sent from my BlackBerry Smartphone provided by Alltel
_______________________________________________
Ale mailing list
<a href="mailto:Ale@ale.org">Ale@ale.org</a>
<a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a>
See JOBS, ANNOUNCE and SCHOOLS lists at
<a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a>
</pre>
</blockquote>