Red Hat Bugzilla – Bug 201650
directory corruption in Linux 2.6.17 with xfs
Last modified: 2007-11-30 17:11:39 EST
Description of problem:
The linux kernel 2.6.17 can cause directory corruption with xfs formatted
In the Linux kernel 2.6.17 release a subtle bug was accidentally introduced into
the XFS directory code by some "sparse" endian annotations. This bug was
sufficiently uncommon (it only affects a certain type of format change, in Node
or B-Tree format directories, and only in certain situations).
Version-Release number of selected component (if applicable):
update the kernel to a 2.6.17 version and have a xfs partiton formatted with xfs
and mounted r/w.
Steps to Reproduce:
1. format a partition with xfs
2. update to a 2.6.17 kernel
3. mount it r/w and do crreate/modifiy some data
directory corruption and data loss
a stable filesystem
This should be fixed in the 22.214.171.124 based update currently in updates-testing
(due to move to final today/tomorrow) I think. Eric ?
This should have been fixed in 126.96.36.199 actually.
grep for "XFS: corruption fix"
Also, xfsprogs v 2.8.10 will be needed to repair the damage...
I have created a bug entry against xfsprogs, but did not get a response from
Jeff Garzik yet.