George Shuklin
2011-Sep-29 16:43 UTC
[Xen-users] xvda I/O errors in linux 3.1 under XCP 1.0
Good day. I''m getting this error: [101017.440858] blkfront: barrier: empty write xvda op failed [101017.440862] blkfront: xvda: barrier or flush: disabled [101017.463438] end_request: I/O error, dev xvda, sector 3676376 [101017.463452] end_request: I/O error, dev xvda, sector 3676376 [101017.463459] Buffer I/O error on device xvda1, logical block 459291 [101017.463464] lost page write due to I/O error on xvda1 It happens in every linux 3.1 rc since rc2 during boot (may be in 3.1-rc1 - but it crash at start). Linux 3.0 boots fine. This is not hardware or storage error: only Linux 3.1 cause this. Did some one saw this? What the reason can be behind this? (I''m not sure but this looks like announcing wrong size of block device, so ext3 failing to change it journal). _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mike McClurg
2011-Sep-30 10:36 UTC
Re: [Xen-users] xvda I/O errors in linux 3.1 under XCP 1.0
On 29/09/11 17:43, George Shuklin wrote:> Good day. > > I''m getting this error: > > [101017.440858] blkfront: barrier: empty write xvda op failed > [101017.440862] blkfront: xvda: barrier or flush: disabled > [101017.463438] end_request: I/O error, dev xvda, sector 3676376 > [101017.463452] end_request: I/O error, dev xvda, sector 3676376 > [101017.463459] Buffer I/O error on device xvda1, logical block 459291 > [101017.463464] lost page write due to I/O error on xvda1 > > It happens in every linux 3.1 rc since rc2 during boot (may be in > 3.1-rc1 - but it crash at start). Linux 3.0 boots fine. This is not > hardware or storage error: only Linux 3.1 cause this. > > Did some one saw this? What the reason can be behind this? (I''m not > sure but this looks like announcing wrong size of block device, so ext3 > failing to change it journal).That sounds like more of a linux bug to me. I think that it might be better to report this to either the linux kernel mailing list, or possibly the xen-devel mailing list (the list for discussing hypervisor development). I''d check those lists first before posting, in case someone has already reported this. Mike _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Steve Allison
2011-Sep-30 10:58 UTC
Re: [Xen-users] xvda I/O errors in linux 3.1 under XCP 1.0
On 29/09/2011 17:43, George Shuklin wrote:> Good day. > > I''m getting this error: > > [101017.440858] blkfront: barrier: empty write xvda op failed > [101017.440862] blkfront: xvda: barrier or flush: disabled > [101017.463438] end_request: I/O error, dev xvda, sector 3676376 > [101017.463452] end_request: I/O error, dev xvda, sector 3676376 > [101017.463459] Buffer I/O error on device xvda1, logical block 459291 > [101017.463464] lost page write due to I/O error on xvda1 > > It happens in every linux 3.1 rc since rc2 during boot (may be in > 3.1-rc1 - but it crash at start). Linux 3.0 boots fine. This is not > hardware or storage error: only Linux 3.1 cause this. > > Did some one saw this? What the reason can be behind this? (I''m not > sure but this looks like announcing wrong size of block device, so ext3 > failing to change it journal). > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersTry using the barriers=0 mount option $ grep xvda2 /etc/fstab /dev/xvda2 / ext4 noatime,nodiratime,errors=remount-ro,barrier=0 0 1 -- May the ping be with you .. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
George Shuklin
2011-Sep-30 11:57 UTC
Re: [Xen-users] xvda I/O errors in linux 3.1 under XCP 1.0
On 30.09.2011 14:58, Steve Allison wrote:>> >> [101017.440858] blkfront: barrier: empty write xvda op failed >> [101017.440862] blkfront: xvda: barrier or flush: disabled >> [101017.463438] end_request: I/O error, dev xvda, sector 3676376 >> [101017.463452] end_request: I/O error, dev xvda, sector 3676376 >> [101017.463459] Buffer I/O error on device xvda1, logical block 459291 >> [101017.463464] lost page write due to I/O error on xvda1 >> >> It happens in every linux 3.1 rc since rc2 during boot (may be in >> 3.1-rc1 - but it crash at start). Linux 3.0 boots fine. This is not >> hardware or storage error: only Linux 3.1 cause this. >> >> Did some one saw this? What the reason can be behind this? (I''m not >> sure but this looks like announcing wrong size of block device, so ext3 >> failing to change it journal). >> > I''m getting this error: > Try using the barriers=0 mount option > > $ grep xvda2 /etc/fstab > /dev/xvda2 / ext4 noatime,nodiratime,errors=remount-ro,barrier=0 0 1 >Thank tou very much! It works! Early lack of barrier disabling cause only warrning, now it cause I/O error. Anyway, this option "barrier=0" solve the problem. Thank you! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users