WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] image-based VM to LVM-based VM

To: Luis Roberto Romano <luisromano@xxxxxxxxx>
Subject: Re: [Xen-users] image-based VM to LVM-based VM
From: Steve Thompson <smt@xxxxxxxxxxxx>
Date: Fri, 5 Aug 2011 19:02:32 -0400 (EDT)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 05 Aug 2011 16:04:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAHPHDTr15a6zA9ZkcsR8jqqdqgjMbwQg8EPzmABRj_HcX1oDiA@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <CAHPHDTr15a6zA9ZkcsR8jqqdqgjMbwQg8EPzmABRj_HcX1oDiA@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 5 Aug 2011, Luis Roberto Romano wrote:

Is it possible convert an image-based VM to a LVM-based VM??

Shut down the VM, then:

        dd if=file.img of=/dev/vg/volume bs=1024k oflag=direct

where /dev/vg/volume is the same size as file.img. Adjust the VM's
configuration file and reboot.

Steve

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>