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

RE: [Xen-users] virtual machine lvm issues during install

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] virtual machine lvm issues during install
From: "Joseph L. Casale" <JCasale@xxxxxxxxxxxxxxxxx>
Date: Fri, 29 Aug 2008 10:16:12 -0600
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Fri, 29 Aug 2008 09:16:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <524AB68E-6354-43BF-B3E9-678BED7F8095@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <596D2D1F-DF73-4EED-9EC2-F2CA8D4EB0D5@xxxxxxxxx> <49627735003F5C479100225C339F9FE0D37050E8BB@xxxxxxxxxxxxxxxxxxxxxx> <524AB68E-6354-43BF-B3E9-678BED7F8095@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckJ7jReTnZTVevYTpCjFm0b1PTQeAAAryPg
Thread-topic: [Xen-users] virtual machine lvm issues during install
>disk = [ "tap:aio:/var/lib/xen/images/vm-01-dns-2.img,xvda,w" ]

I haven't used tap:aio, and I also use ' not " but looks fine I guess?
Using SELinux I presume:)

>It goes through and I just pick the default layout, which sets it up
>with an LVM. (this is where I think I may be wrong in doing so?)

Ahh, so it's the guest vm that gives the error?

>After the point of setting up my disk space it goes on to format the
>filesystem, and fails almost immediately with a somewhat large dump
>ending with that origanl message.

It obviously sees the disc but pukes on writing to it?
So you have exported it *into* your guest correctly, but it has issues writing
which leads me to maybe an SELinux issue? Go into /var/lib/xen/images and do an 
ll -Z.
Look at your image file, does it have the right context?
Go here for explanation, http://wiki.centos.org/TipsAndTricks/Xen

HTH,
jlc

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users