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/
Home Products Support Community News


Re: [Xen-users] Handling virtual disks on Xen

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Handling virtual disks on Xen
From: Andy Burns <lists.xensource.com@xxxxxxxxxxxxxx>
Date: Mon, 07 Jul 2008 21:25:18 +0100
Delivery-date: Mon, 07 Jul 2008 13:25:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <13878d9a0807071318q2f653dbbt70aadef39f5d9265@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: Gecko/20080421 Lightning/0.8 Thunderbird/ Mnenhy/
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.

Xen-users mailing list