Red Hat Bugzilla – Bug 159749
Bugs in handle striped LVM volumes
Last modified: 2007-11-30 17:11:07 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Description of problem:
I have 6 lvm2 based filsystems. 3 are using striping over raid. All of them started to contain damaged files after we reboot to use the new kernel (kernel-smp-2.6.11-1.27_FC3). Before we had 2.6.10.
kernel: attempt to access beyond end of device
kernel: dm-6: rw=0, want=8390664, limit=8388608
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create an lvm2 raid1 volume with striping (-i 2, or so)
2. Create a ext3 filesystem (mkfs -t ext3 ...)
Actual Results: Files could not be copied, textfiles contained binary data, and was missing parts of information.
Expected Results: I expected lvm2 + stripe over raid1 not to corrupy my filesystem.
I mean that all the stripes filesystems contained corrupt files. The other
non-striped lvm2 raid1 filesystems were OK.
How large are the filesystems?
I'm aware of some problems with older kernels and large stripes, and with mixing
lvm2 and raid in specific ways - but those problems got fixed in upstream
kernels several months ago and I've not heard of any problems recently.
An update has been released for Fedora Core 3 (kernel-2.6.12-1.1372_FC3) which
may contain a fix for your problem. Please update to this new kernel, and
report whether or not it fixes your problem.
If you have updated to Fedora Core 4 since this bug was opened, and the problem
still occurs with the latest updates for that release, please change the version
field of this bug to 'fc4'.
I will test when our spare computer becomes available.
File system sizes:
/dev/mapper/VolGroup00-Root: 13 GB
/dev/mapper/VolGroup00-Home: 17 GB
/dev/mapper/VolGroup00-Work: 9.9 GB
And another possible cause, a kernel bug ('bio->bi_idx = bio_src->bi_idx'
missing from bio_clone in fs/bio.c) found and fixed upstream in 2.6.13-rc4.
that bug is fixed in the latest errata kernels in testing, though they've not
been pushed out publically yet for some reason. In the meantime, you can find
them at http://people.redhat.com/davej/kernels/Fedora/
*** Bug 165585 has been marked as a duplicate of this bug. ***