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