[OpenAFS] afs file id's

Jimmy Engelbrecht jimmy@e.kth.se
04 Sep 2002 23:40:25 +0200


"Matthew N. Andrews" <matt@slackers.net> writes:

> Hello, is there a tool that will allow me to determine what the name
> of a file with a given FID (as logged in the FileLog)is? IE, if I see:
> 
> Tue Sep  3 01:00:31 2002 SRXAFS_FetchData, Fid = 536892583.761.13052,
> Host 130.237.230.154, Id 32766

There is of course a way to do the mapping.
536892583 for ex. is the volume-id.

But i cant see such a volume in the cell slackers.net

> in my log, is there a way to determine what the name of the file being
> accessed by host 130.237.230.154 is?

its not mine, its haralds box :-)

> being able to retrieve the file id given a name is also sufficient(I'm
> willing to build a static
> table of name <-> id mappings by walking the volume if necesary.)

$ /usr/arla/bin/fs getfid /afs/slackers.net/users/matt/www
Fid: 536871262.1373.48783 in slackers.net (144) 

/Jimmy