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] Xen 3.0.3 tap:aio disk image fails on RAID5/XFS filesyst

To: Steven Haigh <netwiz@xxxxxxxxx>
Subject: Re: [Xen-devel] Xen 3.0.3 tap:aio disk image fails on RAID5/XFS filesystem
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Tue, 27 Apr 2010 12:00:54 +0300
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 27 Apr 2010 02:02:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <b7b8cffd0e0556fb26d755947c5dec33@localhost>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <f5b2387c6f997c05f4ff5dcfd41e305e@localhost> <b7b8cffd0e0556fb26d755947c5dec33@localhost>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Tue, Apr 27, 2010 at 05:19:54PM +1000, Steven Haigh wrote:
> 
> On Tue, 27 Apr 2010 14:01:17 +1000, Steven Haigh <netwiz@xxxxxxxxx> wrote:
> > Hi all,
> > 
> > Upon bashing my head against a wall trying to get Xen working on my new
> > hardware I came across an interesting discovery. Every install using
> > virt-install was failing and I could only use the file: access method
> for
> > my DomUs. Every time I tries to use tap:aio the guest would error on
> boot
> > saying it couldn't find the root partition.
> > 
> > My system is as follows:
> > OS: CentOS 5.4
> > Xen: 3.0.3-94.el5_4.3
> > / = 2 x 80Gb HDDs, dmraid1, ext3
> > /mnt/raid = 3 x 1Tb HDDs, dmraid5, xfs
> > 
> > On whim, I moved the DomU images from /mnt/raid/vm-images to /vm-images
> > and instantly tap:aio worked again.
> > 
> > This brings me to my question:
> > 
> > Why would tap:aio fail when the images are on an XFS/RAID5 filesystem
> but
> > work correctly when on a RAID1/ext3 filesystem?
> > 
> > To me, this seems like a bug.
> 
> Oh, and for the record, this is my config file:
> 
> name = "mail.crc.id.au"
> uuid = "929c5a29-10c2-b388-ff01-42110c4ea66e"
> maxmem = 512
> memory = 512
> vcpus = 2
> bootloader = "/usr/bin/pygrub"
> on_poweroff = "destroy"
> on_reboot = "restart"
> on_crash = "restart"
> #disk = [ "file:/vm-images/mail.crc.id.au.img,xvda,w" ]
> disk = [ "tap:aio:/vm-images/mail.crc.id.au.img,xvda,w" ]
> vif = [ "mac=00:16:3E:00:00:13, bridge=virbr0" ]
> 

Since you're using EL5 distribution you might want to search Redhat bugzilla
to see if there are already existing bugreports about this issue.

-- Pasi


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