[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] sharing kernels
Jeff Utter wrote: So, I've been trying this out. But i ran into the problem where if the /lib/modules was mounted in the dom0 xen wouldn't let me start a domU with it as one of the disk entries. Is there any way around this, am i overlooking something? for now i made a lvm snapshot of the /lib/module partition so i could get my domU's back up and running. Hi Jeff, Here's how I did it for r/o /usr. # disk volumes/partitions /dev/vg0/fc4 contains / # for domain-0 /dev/vg0/swap contains swap # for domain-0 /dev/vg0/vm1 contains / # for domU #1 /dev/vg0/sw1 contains swap # for domU #1 /dev/vg0/usr contains /usr/* # for everybody # from the xen domU #1 definition file /etc/xen/vm1 disk = [ 'phy:vg0/vm1,hda1,w', 'phy:vg0/usr,hda2,r', 'phy:vg0/sw1,hda3,w' ] # domain-0 /etc/fstab /dev/vg0/fc4 / ext3 defaults 1 1 /dev/vg0/usr /usr ext3 ro,async,exec,suid,dev,nouser,auto 0 0 /dev/vg0/swap swap swap defaults 0 0 # domU #1 /etc/fstab /dev/hda1 / ext3 defaults 1 1 /dev/hda2 /usr ext3 ro,async,exec,suid,dev,nouser,auto 0 0 /dev/hda3 swap swap defaults 0 0 There are alot of little pieces happening at different times on different levels so it can become very confusing. Hope this makes it a little clearer for you. Thanks, JeffI use a shared /usr partition between my dom0 and all the domU's. You may be able to do something like that.Create a logical volume to contain /lib/modules/2.6.xx-xen. Export it in your domU definitions as one of the "disk = []" entries, read only, then add a mount line in each of your domU's for it. Guaranteed to be the same on each domU.BTW, none of my domU's even has a /boot partition._______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |