Xen 3.0.3 tap:aio disk image fails on RAID5/XFS filesystem
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.
Signature · 6 lines
Steven Haigh Email: [email protected] Web: http://www.crc.id.au Phone: (03) 9001 6090 - 0412 935 897 Fax: (03) 8338 0299
Quoted 5 lines · Steven Haigh
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
Quoted 1 line
my DomUs. Every time I tries to use tap:aio the guest would error on
boot
Quoted 8 lines
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
Quoted 6 lines
On whim, I moved the DomU images from
/mnt/raid/vm-imagesto /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
Quoted 3 lines
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" ]
Signature · 6 lines
Steven Haigh Email: [email protected] Web: http://www.crc.id.au Phone: (03) 9001 6090 - 0412 935 897 Fax: (03) 8338 0299
Quoted 31 lines · Steven Haigh
Quoted 5 lines · Steven Haigh
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
Quoted 1 line
my DomUs. Every time I tries to use tap:aio the guest would error on
boot
Quoted 8 lines
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, xfsQuoted 6 lines
On whim, I moved the DomU images from
/mnt/raid/vm-imagesto /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
Quoted 3 lines
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:
Quoted 13 lines
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
Quoted 7 lines · Pasi Kärkkäinen
Quoted 6 lines · Steven Haigh
Quoted 3 lines · Steven Haigh
Hi all,
Upon bashing my head against a wall trying to get Xen working on my
new
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
hardware I came across an interesting discovery. Every install using virt-install was failing and I could only use the file: access method
for
Quoted 1 line
my DomUs. Every time I tries to use tap:aio the guest would error on
boot
Quoted 2 lines
saying it couldn't find the root partition.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
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, xfsOn whim, I moved the DomU images from
/mnt/raid/vm-imagesto
/vm-images
Quoted 26 lines
Quoted 12 lines
Quoted 5 lines
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
Quoted 3 lines
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:
Quoted 13 lines
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" ]
Quoted 4 lines
Since you're using EL5 distribution you might want to search Redhat bugzilla
to see if there are already existing bugreports about this issue.
I did have a hunt around - but I couldn't locate anything relevant - hence my post here to see if it is anything that is already known - and maybe documented somewhere...
Signature · 6 lines
Steven Haigh Email: [email protected] Web: http://www.crc.id.au Phone: (03) 9001 6090 - 0412 935 897 Fax: (03) 8338 0299
Quoted 1 line · Steven Haigh
On Tue, 27 Apr 2010 12:00:54 +0300, Pasi Kärkkäinen <[email protected]>
Quoted 10 lines · wrote:
Quoted 7 lines · Steven Haigh
Quoted 6 lines
Quoted 3 lines · Steven Haigh
Hi all,
Upon bashing my head against a wall trying to get Xen working on my
new
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
hardware I came across an interesting discovery. Every install using virt-install was failing and I could only use the file: access
method
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
for
Quoted 1 line
my DomUs. Every time I tries to use tap:aio the guest would error on
boot
Quoted 2 lines
saying it couldn't find the root partition.
Quoted 13 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
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, xfsOn whim, I moved the DomU images from
/mnt/raid/vm-imagesto/vm-images
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
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
Quoted 21 lines
Quoted 21 lines
Quoted 20 lines
but
Quoted 3 lines
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" ]
Quoted 6 lines
Quoted 4 lines
Since you're using EL5 distribution you might want to search Redhat bugzilla
to see if there are already existing bugreports about this issue.I did have a hunt around - but I couldn't locate anything relevant -
hence
Quoted 2 lines
my post here to see if it is anything that is already known - and maybe documented somewhere...
For what it's worth, a bit more digging turned up this:
https://bugzilla.redhat.com/show_bug.cgi?id=217098
As I'm not quite cluey enough to know exactly what was discovered in this bug report, I can't say for sure if it is related - however I have filed this:
https://bugzilla.redhat.com/show_bug.cgi?id=586387
I believe I have tagged this correctly as a kmod-xfs bug - as I don't believe it is a problem with Xen as such - however any hints / contributions to the bug report would be appreciated.
Signature · 6 lines
Steven Haigh Email: [email protected] Web: http://www.crc.id.au Phone: (03) 9001 6090 - 0412 935 897 Fax: (03) 8338 0299