WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Re: DomU guest - resize disk on LVM?

To: 'Robin Bowes' <robin-lists@xxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Re: DomU guest - resize disk on LVM?
From: "HAWKER, Dan" <dan.hawker@xxxxxxxxxxxxxxxx>
Date: Wed, 1 Nov 2006 09:31:26 -0000
Delivery-date: Thu, 02 Nov 2006 13:33:35 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> 
> How do you make the lvs available to the DomUs?

Just specify them in the appropriate config file as normal.

> 
> 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 ?

Eg... In the Xen config file

disk = [
'phy:/dev/vg01/lv_guest1_root,sda1,w','phy:/dev/vg01/lv_guest1_usr,sda2,w','
phy:/dev/vg01/lv_guest1_var,sda3,w' ]

And then attach these as required in your guests /etc/fstab as normal. In
the above case, mapping sda1 to root, sda2 to usr and sda3 to var.

HTH

Dan

--

Dan Hawker
Linux System Administrator
Astrium

-- 

This email (including any attachments) may contain confidential and/or 
privileged information or information otherwise protected from disclosure. If 
you are not the intended recipient, please notify the sender immediately, do 
not copy this message or any attachments and do not use it for any purpose or 
disclose its content to any person, but delete this message and any attachments 
from your system. Astrium disclaims any and all liability if this email 
transmission was virus corrupted, altered or falsified.
---------------------------------------------------------------------
Astrium Limited, Registered in England and Wales No. 2449259
Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users