Script started on Sat Jul 15 11:17:12 2006 root@sheep:~# xfs_check /dev/md0 ERROR: The filesystem has valuable metadata changes in a log which needs to be replayed. Mount the filesystem to replay the log, and unmount it before re-running xfs_check. If you are unable to mount the filesystem, then use the xfs_repair -L option to destroy the log and attempt a repair. Note that destroying the log may cause corruption -- please attempt a mount of the filesystem before doing this. root@sheep:~# root@sheep:~# mount /data/Scratch/ root@sheep:~# dmesg | tail [] syscall_call+0x7/0xb xfs_force_shutdown(md0,0x8) called from line 1139 of file fs/xfs/xfs_trans.c. Return address = 0xc0258edc Filesystem "md0": Corruption of in-memory data detected. Shutting down filesystem: md0 Please umount the filesystem, and rectify the problem(s) xfs_force_shutdown(md0,0x1) called from line 424 of file fs/xfs/xfs_rw.c. Return address = 0xc0258edc xfs_force_shutdown(md0,0x1) called from line 424 of file fs/xfs/xfs_rw.c. Return address = 0xc0258edc Filesystem "md0": Disabling barriers, not supported by the underlying device XFS mounting filesystem md0 Starting XFS recovery on filesystem: md0 (logdev: internal) Ending XFS recovery on filesystem: md0 (logdev: internal) root@sheep:~# root@sheep:~# dmesg | tail -2 Starting XFS recovery on filesystem: md0 (logdev: internal) Ending XFS recovery on filesystem: md0 (logdev: internal) root@sheep:~# root@sheep:~# xfs_check /dev/md0 bad free block nused 2 should be 25 for dir ino 10436760 block 16777216 bad free block nused 1 should be 21 for dir ino 48138672 block 16777216 missing free index for data block 0 in dir ino 49653161 missing free index for data block 2 in dir ino 49653161 missing free index for data block 3 in dir ino 49653161 missing free index for data block 4 in dir ino 49653161 missing free index for data block 5 in dir ino 49653161 missing free index for data block 6 in dir ino 49653161 missing free index for data block 7 in dir ino 49653161 missing free index for data block 8 in dir ino 49653161 missing free index for data block 9 in dir ino 49653161 missing free index for data block 10 in dir ino 49653161 missing free index for data block 11 in dir ino 49653161 missing free index for data block 12 in dir ino 49653161 missing free index for data block 13 in dir ino 49653161 missing free index for data block 14 in dir ino 49653161 missing free index for data block 15 in dir ino 49653161 missing free index for data block 16 in dir ino 49653161 missing free index for data block 17 in dir ino 49653161 missing free index for data block 18 in dir ino 49653161 missing free index for data block 19 in dir ino 49653161 missing free index for data block 20 in dir ino 49653161 bad free block nused 1 should be 21 for dir ino 53408114 block 16777216 bad free block nused 3 should be 9 for dir ino 61460763 block 16777216 bad free block nused 0 should be 13 for dir ino 62008065 block 16777216 root@sheep:~# root@sheep:~# dmesg | tail -5 Starting XFS recovery on filesystem: md0 (logdev: internal) Ending XFS recovery on filesystem: md0 (logdev: internal) Filesystem "md0": Disabling barriers, not supported by the underlying device XFS mounting filesystem md0 Ending clean XFS mount for filesystem: md0 root@sheep:~# exit Script done on Sat Jul 15 11:27:28 2006