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-devel

Re: [Xen-devel] trying to get a domU to manage lvm pvs (SUCCESS)

To: Christian.Limpach@xxxxxxxxxxxx
Subject: Re: [Xen-devel] trying to get a domU to manage lvm pvs (SUCCESS)
From: Tupshin Harper <tupshin@xxxxxxxxxxx>
Date: Fri, 11 Feb 2005 18:44:00 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 12 Feb 2005 02:45:42 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <3d8eece2050211174845d47c55@xxxxxxxxxxxxxx>
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: <420D086E.6090507@xxxxxxxxxxx> <420D3656.4060604@xxxxxxxxxxx> <3d8eece2050211174845d47c55@xxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Debian Thunderbird 1.0 (X11/20050116)
Christian Limpach wrote:

It was actually the import which named ide devices slightly different

than the normal ide driver and lvm has hard coded table of device
names and ignores all other devices.  I've fixed this now in
xen-2.0-testing and xen-unstable.  It should work with the version you
have, if you export your pv's to a sd device in domU (sda7 instead of
hda7).

    christian
Wonderful. Thank you thank you thank you. :)

I tried the switch to sda and that does indeed work fine (I'll try the fix for hda soon). More importantly, it works perfectly with the more complex scenario I was attempting which was to export 3 raid5 md devices which are the actual pvs for the vg that I want managed by the domU.

My disk setup now looks like this:
disk = [ 'phy:xen_vg/fileserver,hda1,w',
        'phy:xen_swap_vg/fileserver,hda2,w',
        'phy:md2,sda2,w',
        'phy:md3,sda3,w',
        'phy:md4,sda4,w',
      ]

I have my dom0 entirely on md0 (raid1), with its swap on md1(raid1). I have a number of xenU's, each occupying a lv on a raid5 backed vg (xen_vg above), with each of them having swap space allocated on a another raid1 backed vg (xen_swap_vg above), and then 3 raid fives that collectively make up the vg that my "fileserver" xenU manages.

Initial testing says that it works flawlessly. Woo hoo.

-Tupshin


-------------------------------------------------------
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.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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