Description of problem: The linux kernel 2.6.17 can cause directory corruption with xfs formatted partitions. 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): kernel-2.6.17-* How reproducible: 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 Actual results: directory corruption and data loss Expected results: a stable filesystem Additional info: http://oss.sgi.com/projects/xfs/faq.html#dir2
This should be fixed in the 2.6.17.8 based update currently in updates-testing (due to move to final today/tomorrow) I think. Eric ?
This should have been fixed in 2.6.17.7 actually. http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.17.7 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. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=201654