Hi, I''m running Xen on a Debian Xeon E3110 using the Debian 2.6.26-2-xen kernel. As filesystem for my lvm domU partitions I choosed xfs. I get the following error in kern.log of domU when booting a domU: blkfront: sda2: write barrier op failed blkfront: sda2: barriers disabled end_request: I/O error, dev sda2, sector 0 end_request: I/O error, dev sda2, sector 0 Filesystem "sda2": Disabling barriers, trial barrier write failed Has anybody an idea how to resolve this? Thanks a lot Alexander Maringer _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Aug-27 13:06 UTC
Re: [Xen-users] Debian lenny, lvm and filesystem xfs
On Thu, Aug 27, 2009 at 7:49 PM, Alexander Maringer<maringer@maringer-it.de> wrote:> Hi, > > I''m running Xen on a Debian Xeon E3110 using the Debian 2.6.26-2-xen kernel. > As filesystem for my lvm domU partitions I choosed xfs. > > I get the following error in kern.log of domU when booting a domU: > blkfront: sda2: write barrier op failed > blkfront: sda2: barriers disabled > end_request: I/O error, dev sda2, sector 0 > end_request: I/O error, dev sda2, sector 0 > Filesystem "sda2": Disabling barriers, trial barrier write failedAFAIK LVM2 does not support write barriers. Does your domU work correctly despite the warnings? -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alexander Maringer
2009-Aug-27 13:18 UTC
AW: [Xen-users] Debian lenny, lvm and filesystem xfs
No, the domU doesn''t work correct, kjournald produces a heavy load and I saw some topics which describes the write barrier error as reason for the kjournald load. Best regards Alexander Maringer -----Ursprüngliche Nachricht----- Von: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] Im Auftrag von Fajar A. Nugraha Gesendet: Donnerstag, 27. August 2009 15:07 An: Alexander Maringer Cc: xen-users@lists.xensource.com Betreff: Re: [Xen-users] Debian lenny, lvm and filesystem xfs On Thu, Aug 27, 2009 at 7:49 PM, Alexander Maringer<maringer@maringer-it.de> wrote:> Hi, > > I''m running Xen on a Debian Xeon E3110 using the Debian 2.6.26-2-xenkernel.> As filesystem for my lvm domU partitions I choosed xfs. > > I get the following error in kern.log of domU when booting a domU: > blkfront: sda2: write barrier op failed > blkfront: sda2: barriers disabled > end_request: I/O error, dev sda2, sector 0 > end_request: I/O error, dev sda2, sector 0 > Filesystem "sda2": Disabling barriers, trial barrier write failedAFAIK LVM2 does not support write barriers. Does your domU work correctly despite the warnings? -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Aug-27 13:24 UTC
Re: [Xen-users] Debian lenny, lvm and filesystem xfs
On Thu, Aug 27, 2009 at 8:18 PM, Alexander Maringer<maringer@maringer-it.de> wrote:> No, the domU doesn''t work correct, kjournald produces a heavy load and I saw > some topics which describes the write barrier error as reason for the > kjournald load.If that''s the cause then you can''t use XFS on your setup. It would probably work if domU''s partition/disk is backed by dom0 partition/disk, not LV. I know that ext3/ext4 works correctly with dom0 LVM setup, so you might want to try that. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
"Fajar A. Nugraha" <fajar@fajar.net> writes:> On Thu, Aug 27, 2009 at 8:18 PM, Alexander > Maringer<maringer@maringer-it.de> wrote: > >> No, the domU doesn''t work correct, kjournald produces a heavy load and I saw >> some topics which describes the write barrier error as reason for the >> kjournald load. > > If that''s the cause then you can''t use XFS on your setup. It would > probably work if domU''s partition/disk is backed by dom0 > partition/disk, not LV. > > I know that ext3/ext4 works correctly with dom0 LVM setup, so you > might want to try that.I run lots of Debian Lenny domUs on Debian Lenny dom0s (with the Etch 2.6.18-xen kernel), where the guest use XFS over LVM. On bootup, they say Filesystem "dm-0": Disabling barriers, not supported by the underlying device but otherwise work normally. -- Regards, Feri. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users