[Bug 84821] "attempt to access beyond end of device" when creating LVM snapshot

Craig Box craig at dubculture.co.nz
Tue Feb 13 01:28:53 UTC 2007


Public bug reported:

Binary package hint: linux-source-2.6.15

Dapper machine.

I am creating a 2G snapshot of a xfs file system.  dmesg output:

[42949497.480000] attempt to access beyond end of device
[42949497.480000] dm-17: rw=17, want=1286595616, limit=4194304
[42949497.480000] device-mapper: Error reading/writing snapshot
[42949499.470000] device-mapper: snapshot is marked invalid
[42949499.540000] Buffer I/O error on device dm-18, logical block 65535984
[42949499.540000] Buffer I/O error on device dm-18, logical block 65535984
[42949499.550000] Buffer I/O error on device dm-18, logical block 0
[42949499.550000] Buffer I/O error on device dm-18, logical block 0
[42949499.550000] Buffer I/O error on device dm-18, logical block 0
[42949499.560000] Buffer I/O error on device dm-18, logical block 0
[42949499.560000] Buffer I/O error on device dm-18, logical block 0
[42949499.570000] Buffer I/O error on device dm-18, logical block 0
[42949499.570000] Buffer I/O error on device dm-18, logical block 2
[42949499.570000] Buffer I/O error on device dm-18, logical block 2

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=152162 suggests a
similar error, where the fix is the patch in
http://bugzilla.kernel.org/show_bug.cgi?id=4946 - I've downloaded the
kernel source to test patching this, and I find that it's already
setting bio->bi_idx.

The error doesn't occur if I create a 500MB snapshot, but does if I
create a 1GB snapshot.

** Affects: linux-source-2.6.15 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
"attempt to access beyond end of device" when creating LVM snapshot
https://launchpad.net/bugs/84821




More information about the kernel-bugs mailing list