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: "Joseph L. Casale" <JCasale@xxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] virtual machine lvm issues during install
From: Charlie Reddington <charlie.reddington@xxxxxxxxx>
Date: Fri, 29 Aug 2008 11:38:46 -0500
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 29 Aug 2008 09:39:26 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=mcjmLbZ12xVDEv/LfTEkRg3Ozbwf+m2Rvucj/okEeTU=; b=rYmnzXjVP+JRp2FScxSOwG6Pc2d/kfyU1DB8tgNi9YcwVwxk7H0N50yZialPxP34IU 2Ve0lbEOrXxBhC1stMygub0SYi9IVp8aBoEw5UBgXCVlhsF55IFj5xaRJqE3TmsbON23 oNQJEa7DKRBWzkuz3VHyOlDuWVcIF8GHwOeJI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=caaxwuDu2fUgP2gBeIwh4NWw2J6s2UEL9kNo2GcDMjeLQlB0vTojeq7UWc3l7uSD5Q YeLQIiL0+QoSddFk3o6oIOXioDydzVsRm6ITS2TZtjY1kBU2mOukbsBzitpc5SEQXgxY FI5yM/DcYKIN4T5FnLICJybKzaWsh9/QrQ1mk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49627735003F5C479100225C339F9FE0D37050E8BC@xxxxxxxxxxxxxxxxxxxxxx>
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> <49627735003F5C479100225C339F9FE0D37050E8BC@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks for the reply I'll fill in some blanks..... I normally disable selinux accross the board but I haven't done so yet. I have however set it to permissive, assuming it would let things slide but only complain about it.

I'll give it a whack with selinux disabled and see if it has any changes for me.....

On Aug 29, 2008, at 11:16 AM, Joseph L. Casale wrote:

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?

Correct

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.

I get this for all my images...

-rwxrwxr-x  root root system_u:object_r:xen_image_t    vm-01-dns-2.img


Look at your image file, does it have the right context?
Go here for explanation, http://wiki.centos.org/TipsAndTricks/Xen

And it appears that I have the right context from my understanding of it.


HTH,
jlc

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


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