Operating System - HP-UX
1832300 Members
1862 Online
110041 Solutions
New Discussion

how to equate inode/filename

 
SOLVED
Go to solution
galenr
Advisor

how to equate inode/filename

pass1 - checking inode sanity and blocks
fileset 999 primary inode 80796 marked bad, allocation flags (0x0001

-Guys,the above is the error I get. How do I determine which file the inode is associated with?
2 REPLIES 2
John Poff
Honored Contributor
Solution

Re: how to equate inode/filename

Hi,

You can use the 'find' command with the '-inum' option to find the file with that inode number. Try something like this, where 'filesystem' is the filesystem that fsck was checking:

find /filesystem -inum 9999

and 'find' should print the filename in question.

JP
galenr
Advisor

Re: how to equate inode/filename

OUTSTANDING John...
greatly appreciated and so simple too !!!
Have a great day