From btrfs Wiki
(Difference between revisions)
Jump to: navigation, search
(btrfs-inspect-internal(8) Manual Page: add link to git)
Line 1: Line 1:
=btrfs-inspect-internal(8) Manual Page=
=btrfs-inspect-internal(8) Manual Page=

Revision as of 16:08, 27 August 2015


btrfs-inspect-internal(8) Manual Page



btrfs-inspect-internal - resolve different btrfs items for debug purpose


btrfs inspect-internal <subcommand> <args>


btrfs inspect-internal is used to resolve different items for debug purpose.


inode-resolve [-v] <inode> <path>
Resolves an <inode> in subvolume <path> to all filesystem paths.
verbose mode. print count of returned paths and ioctl() return value
Resolves a <logical> address in the filesystem mounted at <path> to all inodes.
By default, each inode is then resolved to a file system path (similar to the inode-resolve subcommand).
skip the path resolving and print the inodes instead
verbose mode. print count of returned paths and all ioctl() return values
-s <bufsize>
set inode container’s size.
This is used to increase inode container’s size in case it is not enough to read all the resolved results. The max value one can set is 64k.
subvolid-resolve <subvolid> <path>
Get file system paths for the given subvolume ID.
rootid <path>
For a given file or directory, return the containing tree root id. For a subvolume return it’s own tree id.


btrfs inspect-internal returns a zero exist status if it succeeds. Non zero is returned in case of failure.




mkfs.btrfs(8), btrfs-debug-tree(8)

Personal tools