<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Why would dd straight to & from LVM do anything? A logical
volume 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:
<blockquote cite="mid:86959e8c3be7f46ab6aa162953e3fc31@nettwrek.com"
type="cite">
<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: 2px
solid rgb(16, 16, 255); 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 moz-do-not-send="true" href="mailto:Ale@ale.org">Ale@ale.org</a>
<a moz-do-not-send="true" href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a>
See JOBS, ANNOUNCE and SCHOOLS lists at
<a moz-do-not-send="true" href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a>
</pre>
</blockquote>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
</pre>
</blockquote>
<br>
</body>
</html>