1 btrfs-inspect-internal(8)
2 =========================
6 btrfs-inspect-internal - resolve different btrfs items for debug purpose
10 *btrfs inspect-internal* <subcommand> <args>
14 *btrfs inspect-internal* is used to resolve different items for debug purpose.
18 *inode-resolve* [-v] <inode> <path>::
19 Resolves an <inode> in subvolume <path> to all filesystem paths.
24 verbose mode. print count of returned paths and ioctl() return value
26 *logical-resolve* [-Pv] [-s <bufsize>] <logical> <path>::
27 Resolves a <logical> address in the filesystem mounted at <path> to all inodes.
29 By default, each inode is then resolved to a file system path (similar to the
30 inode-resolve subcommand).
35 skip the path resolving and print the inodes instead
37 verbose mode. print count of returned paths and all ioctl() return values
39 set inode container's size.
41 This is used to increase inode container's size in case it is
42 not enough to read all the resolved results. The max value one can set is 64k.
44 *subvolid-resolve* <subvolid> <path>::
45 Get file system paths for the given subvolume ID.
48 For a given file or directory, return the containing tree root id. For a
49 subvolume return it's own tree id.
51 The result is undefined for the so-called empty subvolumes (identified by inode number 2).
55 *btrfs inspect-internal* returns a zero exist status if it succeeds. Non zero is
56 returned in case of failure.
60 *btrfs* is part of btrfs-progs.
61 Please refer to the btrfs wiki http://btrfs.wiki.kernel.org for