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] Re: Virtual block devices (vbd) still not working... :-(

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: Virtual block devices (vbd) still not working... :-(
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Sat, 11 Oct 2003 11:21:44 +0100
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, sven.kretzschmar@xxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Sat, 11 Oct 2003 11:22:18 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Sat, 11 Oct 2003 09:19:21 BST." <E1A8Ey9-0002Ht-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>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> This refreshes Linux's view of its partition table, and also polls Xen
> to find out the current parameters of the VBD. Without doing this,
> Linux will never see the correct capacity for the VBD (it will
> probably continue to think that it has zero size!).

Whenever Alex or I have used VDs they've just worked: There's
no way to populate a vd with a file system unless you can access
it from domain0, so its obviously been working for some people.

I wander if it's got something to do with whether the newly
created virtual disk just happens to have something approximating
a valid partition table or not?

Having the refresh tool seems like a good solution until we
figure out how to make Linux do it automatically. I can't think
of any real block devices that have their size change dynamically
that we can borrow the mechanism from. I guess we could use
'media change' events, but it would be good to be able to 
extend a virtual disk that's already mounted.


This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
Xen-devel mailing list