|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Partition Manager for Xen
Do you have LVM running ontop of file backed images? This can be done it's just very frustrating to do so...
It looks something like this:
First install kpartx
Then mount the image file as a loopback device (where loop0 is a free loopback device)
#losetup /dev/loop0 /path/to/image
Allow dom0 to see LVs on the image #kpartx -av /dev/loop0
Run a vgscan: #vgscan
Make the LVs active (where volgroup0 is the name of the volume group on the domU)
#vgchange -ay volgroup0
The LVs should now be accessible, you can list them using the standard tools and they should be visible in /dev/volgroup0 #ls /dev/volgroup0
Annoying but it works, I think that's about as pretty as you are going to get as a partition manager.
Joseph.
--
Founder | Director | VP Research
Orion Virtualisation Solutions | www.orionvm.com.au | Phone: 1300 56 99 52 | Mobile: 0428 754 846
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|