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

[Xen-users] file based domu conversion to lvm



Hi, I'm having some problems converting an image based domu to lvm based. This is what I've done so far.

lvcreate -L 5000M -n vmsname /dev/vg0
mkfs.ext3 /dev/vg0/vmsname
lvcreate -L 1000M -n vmsswap /dev/vg0
mkswap /dev/vg0/vmsswap

I then used kpartx to expand/mount the image, and with the new lvm mounted I copied the contents of the image into the lvm. I then dismounted the lvm and the image.

I configured the config as follows

name = "vmsname"
memory = "256"
disk = ['phy:/dev/VolGroup01/vmsname,hda1,w', 'phy:/dev/VolGroup01/vmsname,hda2,w' ]
vif = [ 'bridge=xenbr0', ]
bootloader="/usr/bin/pygrub"
vcpus=1
on_reboot = 'restart'
on_crash = 'restart'

When i try to create the vms it hangs until I control+c it. Anyone have any insight? Thanks in advance.


_______________________________________________
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®.