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] Handling virtual disks on Xen

To: "Andy Burns" <lists.xensource.com@xxxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Handling virtual disks on Xen
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Tue, 8 Jul 2008 11:07:14 +1000
Cc:
Delivery-date: Mon, 07 Jul 2008 18:07:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <48727BAE.5020300@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <13878d9a0807071318q2f653dbbt70aadef39f5d9265@xxxxxxxxxxxxxx> <48727BAE.5020300@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acjgb7jgN16JeyikRTyroFQNs//vqgAJvOWA
Thread-topic: [Xen-users] Handling virtual disks on Xen
> On 07/07/2008 21:18, Augusto Alvarez wrote:
> 
> > *Is there any way to increase/decrease a guest machine disk after
the OS
> > is installed? Can I have a dynamically expanding disk when I create
a
> > virtual machine?*
> 
> if you use LVM, you can create an LV for each "disk" you want a domU
to
> have, you can then expand the LV and then expand the filesystem iside
it
> (or reduce the filesystem, then reduce the LV)
> 
> Unfortunately the last time I checked xen doesn't report the changed
LV
> size "live" to the domU, so you'll need a reboot of the domU.
> 

Even if it did, can Linux handle it anyway? I added a disk to a RAID
array recently and while I could use fdisk to add a new partition, I had
to reboot before Linux could use it.

James

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