Identifying an ext3 file given a block or inode

Ben Scott dragonhawk at gmail.com
Fri Oct 27 14:05:32 EDT 2006


On 10/27/06, Michael ODonnell <michael.odonnell at comcast.net> wrote:
> When looking at the output of fsck as it works on a wounded
> ext3 filesystem I'm wishing I knew which files are associated
> with the duplicate blocks and corrupted inodes it's reporting.

  Use "debugsfs".  The command "icheck block#" will tell you the
inode(s) using a block, and then "ncheck inode#" will tell you the
names(s) associated with an inode.

  On a large filesystem, this can be slow.

-- Ben


More information about the gnhlug-discuss mailing list