Skip to contentSkip to conversation

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

DISCUSSION Simon Kirby 1 participant 1 message Sep 21, 2009

lore
Share & tools
lore
#0 lore raw

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-

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs