public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* xfsprogs 3.0.3 seems to forget to increase nlinks in lost+found
@ 2009-09-21 21:24 Simon Kirby
  0 siblings, 0 replies; only message in thread
From: Simon Kirby @ 2009-09-21 21:24 UTC (permalink / raw)
  To: xfs

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
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-21 21:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-21 21:24 xfsprogs 3.0.3 seems to forget to increase nlinks in lost+found Simon Kirby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox