From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tupshin Harper Subject: Re: trying to get a domU to manage lvm pvs (SUCCESS) Date: Fri, 11 Feb 2005 18:44:00 -0800 Message-ID: <420D6D70.80006@tupshin.com> References: <420D086E.6090507@tupshin.com> <420D3656.4060604@tupshin.com> <3d8eece2050211174845d47c55@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <3d8eece2050211174845d47c55@mail.gmail.com> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Christian.Limpach@cl.cam.ac.uk Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org 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