[BBLISA] Mapping inode numbers to file names

Brian McAllister mcallister at mit.edu
Tue Apr 27 10:32:41 EDT 2010


--------

>>> On 4/27/2010 at 9:22:36 EDT, Edward Ned Harvey wrote:

  > find /tank/.zfs/snapshot -inum 12345

  > Problem is, the find command will run for a long time.

  > Is there any faster way to find the file name(s) when all you know is
  > the inode number?  (Actually, all you know is all the info that's in
  > the present directory, which is not limited to inode number; but, inode
  > number is the only information that I personally know could be useful.)

Wouldn't debugfs would be the right tool for this ?

----
Brian McAllister                                   Senior Software Engineer
mcallister at mit.edu                      Bates Research & Engineering Center
(617) 253-9537                                                Middleton, MA



More information about the bblisa mailing list