[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Re: lvm inside of domU
Well LVM inside a DomU definitely works. LVM works in a DomU the same way it works in Dom0. What I did was to pass a physical disk /dev/sdc into the DomU with a VG called vg2 on it. In this scenario the Dom0, when booting, activates the VG. I felt it was safer to have the VG active by only one OS so during Dom0 boot I made an init.d script which does this: # set the VG to inactive vgchange -a n vg2 # start the DomU which uses the VG xm create theDomU # theDomU config refers to phy:/dev/sdc,xvdc,w It might be worth noting that the DomU must be able to see all the physical extents that make up the VG and it must have exclusive access to them. It might be possible to use the lvm.conf file to prevent the vg from starting. It is possible to pvcreate inside a DomU that has been passed an lv. I think the same concerns arise. The Dom0 may attempt to activate the nested VG. > Message: 1 > Date: Sun, 16 May 2010 22:07:40 +0200 > From: toni <dranach@xxxxxxxxxx> > Subject: [Xen-users] lvm inside of domU > To: xen-users@xxxxxxxxxxxxxxxxxxx > Message-ID: <4BF0508C.7040509@xxxxxxxxxx> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > I've found some discussion here about using lvm *inside* the domU. > I would like to do my own share of experimenting with it, but haven't > found any info (yet) on how to use lvm inside the domU. > > Can anyone point me in the right direction of some useful documentation > on the subject? > > All the searches I've made so far invariably point to making a domU *on* > a volume group, which isn't exactly what I'm looking for, since I have > already accomplished that part.. > > Toni M. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |