xfs
[Top] [All Lists]

Re: get filename->inode mappings in bulk for a live fs?

To: Linda Walsh <xfs@xxxxxxxxx>
Subject: Re: get filename->inode mappings in bulk for a live fs?
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Fri, 5 Oct 2012 08:49:49 +1000
Cc: xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <506DAB8C.9000601@xxxxxxxxx>
References: <506DAB8C.9000601@xxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Oct 04, 2012 at 08:30:20AM -0700, Linda Walsh wrote:
> I notice that attempts to use utils to get name->inode mappings
> (xfs_ncheck) seem to have no option to operate on a mounted filesystem.

If you need xfs_ncheck to get name->inode number mappings, then you
are doing something wrong.

$ find . -printf  "%h/%f: %i\n" | head -10
./.: 1010542779
./.git: 612759677
./.git/branches: 1013256262
./.git/hooks: 33523782
./.git/hooks/guilt: 406321163
./.git/hooks/guilt/delete: 402681911

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>