xfs
[Top] [All Lists]

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

To: xfs@xxxxxxxxxxx
Subject: xfsprogs 3.0.3 seems to forget to increase nlinks in lost+found
From: Simon Kirby <sim@xxxxxxxxxx>
Date: Mon, 21 Sep 2009 14:24:28 -0700
User-agent: Mutt/1.5.13 (2006-08-11)
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-

<Prev in Thread] Current Thread [Next in Thread>
  • xfsprogs 3.0.3 seems to forget to increase nlinks in lost+found, Simon Kirby <=