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] File2LVM?

On Tue, 2008-03-11 at 11:41 +0100, Rainer Sokoll wrote:
> On Tue, Mar 11, 2008 at 11:22:47AM +0100, Rainer Sokoll wrote:
> > I want to switch (some of) my domUs from file based storage to a LVM
> > based backend - but without losing my domUs (some Linuxes, some
> > Windowses)
> > Is that possible, and if, how?
> 
> That should work by using dd, shouldn't it?

yup. Assuming one device:

shutdown guest

dd if=/home/doms/mydom.img of=/dev/vgname/lvname bs=10M

change xen config to point device to phy:/dev/vgname/lvname

boot back up

enjoy performance improvement.

John.
-- 
http://www.brightbox.co.uk - UK Ruby on Rails hosting


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

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