Product SiteDocumentation Site

11.11. Triaging xfs_check and xfs_repair problems

Mostofthetime,inodeinformationisrequired:
> inode <inode number>
> print
The root inode number can be derived from the superblock:
> sb 0
> print rootino
Fordirectories,wecanalsodumpthecontentsfromtheextentlistshownintheinode:
> dblock <file offset in blocks>
> print
Directories have file offsets typically startingat 0, 8388608 and 16777216. Each of these offsets stores different information for a directory.
The filename and inode numbers at 0, hash values at 8388608 and freespace information at 16777216.