<p>It picks up the sector identifying ot as a lvm. On write the contents go inside the lvm boundary and an lvm inside a real lvm doesn&#39;t work.</p>
<div class="gmail_quote">On Jan 4, 2011 8:29 PM, &quot;David Tomaschik&quot; &lt;<a href="mailto:david@systemoverlord.com">david@systemoverlord.com</a>&gt; wrote:<br type="attribution">&gt; Why would dd straight to &amp; from LVM do anything?  A logical volume<br>
&gt; should be just a block device to any app, including dd.<br>&gt; <br>&gt; David<br>&gt; <br>&gt; <br>&gt; On 01/04/2011 04:24 PM, Ken Price wrote:<br>&gt;&gt;<br>&gt;&gt; James gave you some good suggestions, here&#39;s how you do it over SSH<br>
&gt;&gt; from the source machine.<br>&gt;&gt;<br>&gt;&gt;     * (On source machine) dd if=/dev/sda | ssh root@[destination] dd<br>&gt;&gt;       of=/dev/sda<br>&gt;&gt;<br>&gt;&gt; Something that&#39;s important to note.  You don&#39;t want to copy a LVM<br>
&gt;&gt; volume over the network to another LVM volume.  It won&#39;t work<br>&gt;&gt; correctly and you&#39;ll corrupt the destination volume.  You can,<br>&gt;&gt; however, copy to a file on the remote machine, and then to the<br>
&gt;&gt; destination LVM volume.<br>&gt;&gt;<br>&gt;&gt;     * (On source machine) dd if=/dev/VolGroup/LogVol00 | ssh<br>&gt;&gt;       root@[destination] dd of=/home/somefilename.dump<br>&gt;&gt;     * (On destination machine) dd if=/home/somefilename.dump<br>
&gt;&gt;       of=/dev/VolGroup/DestinationVol<br>&gt;&gt;<br>&gt;&gt; I always add bs=64k to the source dd command to speed things up, but<br>&gt;&gt; it&#39;s up to you.  Hope this helps.<br>&gt;&gt;<br>&gt;&gt; Ken<br>
&gt;&gt;<br>&gt;&gt;  <br>&gt;&gt;<br>&gt;&gt; On Tue, 4 Jan 2011 20:01:58 +0000, wrote:<br>&gt;&gt;<br>&gt;&gt;&gt; Hi..<br>&gt;&gt;&gt; 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? <br>
&gt;&gt;&gt;<br>&gt;&gt;&gt; -Jim Butler<br>&gt;&gt;&gt; Sent from my BlackBerry Smartphone provided by Alltel<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; Ale mailing list<br>&gt;&gt;&gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a> &lt;mailto:<a href="mailto:Ale@ale.org">Ale@ale.org</a>&gt;<br>
&gt;&gt;&gt; <a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a><br>&gt;&gt;&gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>&gt;&gt;&gt; <a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a><br>
&gt;&gt;<br>&gt;&gt;<br>&gt; <br></div>