xfsprogs 3.0.3 seems to forget to increase nlinks in lost+found

Simon Kirby sim at hostway.ca
Mon Sep 21 16:24:28 CDT 2009


After running xfs_repair on a 7 TB file system where the first 1 GB had
been accidentally formatted with mkfs.ext3, a number of paths and files
were found in lost+found, as expected.  However, nlinks of the directory
itself was set to 2, causing "find" to become confused.  A subsequent run
of xfs_progs found and repaired this error:

Phase 7 - verify and correct link counts...
resetting inode 265 nlinks from 2 to 11174
done

Perhaps it would be possible to remember to increment this while things
are being linked to it?

Simon-




More information about the xfs mailing list