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-devel] About Copy-on-Write in Xen

To: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] About Copy-on-Write in Xen
From: Bin Ren <br260@xxxxxxxxx>
Date: Fri, 16 Jan 2004 17:11:56 +0000
Cc: Devel Xen <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 16 Jan 2004 17:26:25 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <E1AhWxb-00069j-00@xxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <E1AhWxb-00069j-00@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
On 16 Jan 2004, at 16:36, Ian Pratt wrote:
In Xen, VBDs are implemented as 'extents'. One 'extent' is a group of
contiguous sectors of the real disks. VBDs can grow by adding extra
extents from the underlying real disks. Obviously, VBDs work at a
much lower level.

Therefore, you can say, you have created a VBD of 4G but actually
starts with only 500M. Whenever the free space drops below a
threshold, extra extents are automatically added. This function is
already present in 1.2 and 1.3

Erm, no.

virtual disks may be extended or contracted, but this is not
currently automatic: the vd tools must be used to extend the
virtual disk, and then typically the guest will need to resize
the file system on the virtual disk (I believe ext3 supports
on-line resizing, but not automatically).

Ian, thanks for pointing this out. I messed the words up when I tried to
say: the function extent adding/removing has been present; but for
automatic resizing, a script should be created.

In addition to ext3, reiserfs has good support for online resizing,
i.e. without unmount.

-- Bin

The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>