linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* e2fsck discrepancy with debugfs stat ?
@ 2015-09-11  3:03 Chris Hunter
  2015-09-11 12:39 ` Chris Hunter
  2015-09-11 17:55 ` Theodore Ts'o
  0 siblings, 2 replies; 5+ messages in thread
From: Chris Hunter @ 2015-09-11  3:03 UTC (permalink / raw)
  To: linux-ext4

Hi,
Are there scenarios where e2fsck will report a deleted/unused inode but 
debugfs is able to read the inode structure ?

Some details:
I am using lustre version of e2fsprogs (1.42.12.wc1). When I run e2fsck 
in nofix/dry-run mode on a blockdev, I receive errors about unused inodes.
eg)
 > $ e2fsck -nfv <DEV>
> e2fsck 1.42.12.wc1 (15-Sep-2014)
> Warning: skipping journal recovery because doing a read-only filesystem check.
> Pass 1: Checking inodes, blocks, and sizes
> Pass 2: Checking directory structure
> Entry '131249395' in /O/0/d19 (118843419) has deleted/unused inode 5671802.  Clear? no
etc...

However when I run command debugfs -c -R "stat /O/0/d19/131249395" 
<DEV>, I can retrieve inode contents. Further debugfs "dump" will 
successfully pull the contents (980 bytes) of the file entry.

thanks,
chris hunter
chris.hunter@yale.edu

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-09-12  2:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-11  3:03 e2fsck discrepancy with debugfs stat ? Chris Hunter
2015-09-11 12:39 ` Chris Hunter
2015-09-11 17:55 ` Theodore Ts'o
2015-09-11 19:59   ` Chris Hunter
2015-09-12  2:09     ` Theodore Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).