[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.