Re: xfs_force_shutdown called from file fs/xfs/xfs_trans_buf.c

Richard Freeman
2008-08-07T21:54:23Z

Jay Sullivan <jpspgd <at> rit.edu> writes:
>
> Today I upgraded to the latest stable kernel in Gentoo (2.6.23-r3) and
> I'm still on xfsprogs 2.9.4, also the latest stable release. A few
> hours after rebooting to load the new kernel, I saw the following in
> dmesg:
>
> ####################
> attempt to access beyond end of device
> dm-0: rw=0, want=68609558288793608, limit=8178892800

I just started getting these on an ext3 filesystem also on gentoo, with the
latest stable kernel. I suspect there is an lvm bug of some kind that is
responsible. I ran an e2fsck on the filesystem and managed to corrupt not
only that filesystem, but also several others on the same RAID. I'm probably
going to have to try to salvage what I can from the no-longer-booting system
and rebuild from scatch/backups.

Either lvm has some major bug, or somehow e2fsck is bypassing the lvm layer
and writing directly to the drives. It shouldn't be possible to write to one
logical volume and modify data stored in a different logical volume on the
same md raid-5 device. A check of the underlying RAID turns up no issues - I
suspect the problem is in the lvm layer.

Googling around for "access beyond end of device" turns up other reports of
similar issues. Obviously the problem is rare.