[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Re: DomU guest - resize disk on LVM?
On Tue, Oct 31, 2006 at 08:04:53PM +0000, Robin Bowes wrote: > That's a damn good scheme. [Supported by xen-tools if you're using Debian.] > How do you make the lvs available to the DomUs? > > For example, suppose I have: > > /dev/vg01/lv_guest1_root > /dev/vg01/lv_guest1_usr > /dev/vg01/lv_guest1_var > > How do I make these available to the DomU guest1 ? Just define them appropriately in the configuration file for Xen. Something like this: disk = [ 'phy:vg01/lv_guest1_root,sda1,w', 'phy:vg01/lv_guest1_usr,sda2,w', 'phy:vg01/lv_guest1_var,sda3,w', ... ] Then inside the /etc/fstab of the domU you'd have: /dev/sda1 / ... /dev/sda2 /usr ... /dev/sda3 /var ... Steve -- Debian GNU/Linux System Administration http://www.debian-administration.org/ Attachment:
signature.asc _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |