I recently put a NFS file server into production, with mostly XFS volumes on
LVM. The server was quite low on traffic until this morning and one of the
filesystems crashed twice since this morning with the following backtrace:
Filesystem "dm-24": XFS internal error xfs_trans_cancel at line 1164 of file
fs/xfs/xfs_trans.c. Caller 0xffffffff811b09a7
Pid: 2053, comm: nfsd Not tainted 18.104.22.168-filer #1
xfs_force_shutdown(dm-24,0x8) called from line 1165 of file fs/xfs/xfs_trans.c.
Return address = 0xffffffff811b181f
Filesystem "dm-24": Corruption of in-memory data detected. Shutting down
The two crashed are related to the same function: xfs_rename.
I _really_ cannot upgrade to 2.6.29 or later because of the "reconnect_path:
npd != pd" bug and the maybe related radix-tree bug (
http://bugzilla.kernel.org/show_bug.cgi?id=13375 ) affecting all kernel version
Unmounting then remounting the filesystem allow to access the mountpoint again
without any error message or apparent file corruption.
This filesystem is used by ~30 NFS clients and contains about 5M files (100GB).
Before using the volume over NFS, there was only local activity (rsync syncing)
and we didn't get any error.
I expect to see this crash again in a few hours except if the volume is really
corrupted. Does a full filesystem copy to a newly created volume would have a
chance to solve the problem?