'\" t .\" Title: btrfs-inspect-internal .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.76.1 .\" Date: 06/20/2015 .\" Manual: Btrfs Manual .\" Source: Btrfs v3.17 .\" Language: English .\" .TH "BTRFS\-INSPECT\-INTE" "8" "06/20/2015" "Btrfs v3\&.17" "Btrfs Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" btrfs-inspect-internal \- resolve different btrfs items for debug purpose .SH "SYNOPSIS" .sp \fBbtrfs inspect\-internal\fR \fI\fR \fI\fR .SH "DESCRIPTION" .sp \fBbtrfs inspect\-internal\fR is used to resolve different items for debug purpose\&. .SH "SUBCOMMAND" .PP \fBinode\-resolve\fR [\-v] \fI\fR \fI\fR .RS 4 Resolves an \fI\fR in subvolume \fI\fR to all filesystem paths\&. .sp \fBOptions\fR .PP \-v .RS 4 verbose mode\&. print count of returned paths and ioctl() return value .RE .RE .PP \fBlogical\-resolve\fR [\-Pv] [\-s \fI\fR] \fI\fR \fI\fR .RS 4 Resolves a \fI\fR address in the filesystem mounted at \fI\fR to all inodes\&. .sp By default, each inode is then resolved to a file system path (similar to the inode\-resolve subcommand)\&. .sp \fBOptions\fR .PP \-P .RS 4 skip the path resolving and print the inodes instead .RE .PP \-v .RS 4 verbose mode\&. print count of returned paths and all ioctl() return values .RE .PP \-s \fI\fR .RS 4 set inode container\(cqs size\&. .sp This is used to increase inode container\(cqs size in case it is not enough to read all the resolved results\&. The max value one can set is 64k\&. .RE .RE .PP \fBsubvolid\-resolve\fR \fI\fR \fI\fR .RS 4 Get file system paths for the given subvolume ID\&. .RE .PP \fBrootid\fR \fI\fR .RS 4 For a given file or directory, return the containing tree root id\&. For a subvolume return it\(cqs own tree id\&. .sp The result is undefined for the so\-called empty subvolumes (identified by inode number 2)\&. .RE .SH "EXIT STATUS" .sp \fBbtrfs inspect\-internal\fR returns a zero exit status if it succeeds\&. Non zero is returned in case of failure\&. .SH "AVAILABILITY" .sp \fBbtrfs\fR is part of btrfs\-progs\&. Please refer to the btrfs wiki \m[blue]\fBhttp://btrfs\&.wiki\&.kernel\&.org\fR\m[] for further details\&. .SH "SEE ALSO" .sp \fBmkfs\&.btrfs\fR(8), \fBbtrfs\-debug\-tree\fR(8)