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] which (pseudo)-device can be used as VBD in xenU ?

To: Jérôme Petazzoni <jp@xxxxxxxx>
Subject: Re: [Xen-devel] which (pseudo)-device can be used as VBD in xenU ?
From: Nuno Silva <nuno.silva@xxxxxxxxxxxx>
Date: Mon, 29 Nov 2004 20:11:43 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 29 Nov 2004 20:12:57 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <41AB557D.2070904@xxxxxxxx>
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: <41AB557D.2070904@xxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.9 (X11/20041124)
Jérôme Petazzoni wrote:
I saw examples of VBD using hdXY and sdXY inside virtual machines, like this : disk=phy:hda5,hda1,w

And I would like to do this : disk=phy:md8,md1,w

But it failed (the "real" md driver tried to access something that didn't exist, of course, and rootfs couldn't be mounted). Did I do something wrong, or is the frontend driver only able to "fake" hdXY and sdXY devices ?

I guess that you can export _ALL_ the block devices that make your md8 and create the md *in* the guest.

Exporting a "normal" block device (md8, from the host) is the same as exporting another "normal" block device, like sda2.

FYI, my motivation is to supply mdX devices to ease migration from/to real servers.

IMHO one of the biggest advantages of virtualization is hardware independence. You'll loose (part of) that if you create your md inside the guest... At least it'll be a pain to mantain...

Nuno Silva

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
Xen-devel mailing list