[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Tupshin Harper <tupshin@xxxxxxxxxxx>
  • From: Christian Limpach <christian.limpach@xxxxxxxxx>
  • Date: Sat, 12 Feb 2005 01:48:23 +0000
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sat, 12 Feb 2005 01:53:48 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=THCAjhNBeSNZtHP0CsLsWlejMmajZgdE00ic3gNl1w8ULP/eCpI2E7Q3Ky0movp6A776XiE2WHc5k1jdPnOHs1XrSJoA4zvwJUbbc08OxQVE2Jm0dhOHCwzec20/iMbaGRenjZF1SduTB9TJNqRWWRphK5QhuINO/ZGNOIYShDo=
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>

On Fri, 11 Feb 2005 14:48:54 -0800, Tupshin Harper <tupshin@xxxxxxxxxxx> wrote:
> Tupshin Harper wrote:
> 
> > I'm trying to have a domU run lvm and manage one vg, a few pvs, and
> > lots of lvs without the dom0 having any role in the situation.
> 
> One more piece of info. If I turn up lvm logging to debug level I see this:
> 
>    Using physical volume(s) on command line
>        /dev/hda6: Added to device cache
>        /dev/hda6: Skipping: Unrecognised LVM device type 3
>        /dev/hda6: Skipping (cached)
>  Failed to read physical volume "/dev/hda7"
> 
> At this point, it seems that xen exports a block device with some
> information different enough than the original block device that it's
> tripping up lvm, but I have no idea what that might be. Has anybody had
> lvm working in a domU?

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


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.