Matthew Steven - Virtualization http://matts.org/taxonomy/term/10/0 Articles about Xen, Virtualbox and friends en Copying a Virtual Machine lv or Partition Over SSH http://matts.org/copy_partitions_over_ssh <h3>Copying a Logical Volume or Partition over SSH</h3> <p>This should only be attempted on either a snapshot lvm volume, or an unmounted hard drive partition!</p> <p>Using ssh and dd you can copy any LVM&nbsp;or (unmounted)&nbsp;hard drive partition over the internet to a new machine easily.&nbsp; You can do a &quot;push&quot;&nbsp;or &quot;pull&quot;&nbsp;copy. &nbsp;Here's a &quot;push&quot;&nbsp;copy:</p> <p><span style="font-family: Courier New;">dd if=/dev/vg0/partition-snapshot bs=1k |<br />&nbsp;&nbsp; ssh remotehost dd of=/dev/vg0/partition-destination bs=1k</span></p> <p><a href="http://matts.org/copy_partitions_over_ssh" target="_blank">read more</a></p> http://matts.org/copy_partitions_over_ssh#comments Linux Administration Virtual Servers and Services Virtualization Sat, 20 Feb 2010 17:26:36 +0000 Matt 37 at http://matts.org Creating a LVM Mirror with LVM2's lvconvert tool. http://matts.org/node/16 <p>Here&rsquo;s one for the hall of fame of terrible error messages.<br /> When trying to add a mirror to a LVM volume on a linux box, you get this message:<br /> <code>#lvconvert -m 1 disks/root /dev/sdb2</code></p> <p>Not enough PVs with free space available for parallel allocation.<br /> Consider --alloc anywhere if desperate.<br /> This message is completely useless, we have TONS of free extents on both disks. So we check for help</p> <p><a href="http://matts.org/node/16" target="_blank">read more</a></p> http://matts.org/node/16#comments Virtualization Sun, 10 May 2009 22:00:11 +0000 Matt 16 at http://matts.org Workaround for Crashing Xen Kernel on Ubuntu Hardy High Memory Systems http://matts.org/node/15 <p><a href="http://matts.org/node/15" target="_blank">read more</a></p> http://matts.org/node/15#comments Virtualization Sun, 10 May 2009 21:58:21 +0000 Matt 15 at http://matts.org