How can a file or directory path name on a GFS2 file-system be obtained using only its inode number in RHEL 5, 6, and 7?

Solution Unverified - Updated -

Issue

  • How can the inode on a GFS2 file-system be identified using only its inode number?
  • I have identified lock contention on my GFS2 file system in glock captures but all I know is the inode number of the problematic file or directory. How can I find out what it is?
  • I need to locate an inode on GFS2 by number, but I'm worried find will create more lock contention.

Environment

  • Red Hat Enterprise Linux (RHEL) 5, 6, or 7 with the Resilient Storage Add On
  • GFS2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In