btrfs-debug-tree (8)
Leading comments
Title: btrfs-inspect-internal Author: [FIXME: author] [see http://docbook.sf.net/el/author] Generator: DocBook XSL Stylesheets v1.79.0 <http://docbook.sf.net/> Date: 07/28/2017 Manual: Btrfs Manual Source: Btrfs v4.12 Language: English
NAME
btrfs-debug-tree - dump btrfs filesystem metadata into stdoutSYNOPSIS
btrfs-debug-tree [options] <device>
DESCRIPTION
btrfs-debug-tree is used to dump the whole tree of the given device.
This is maybe useful for analyzing filesystem state or inconsistence and has a positive educational effect on understanding the internal structure. <device> is the device file where the filesystem is stored.
OPTIONS
-e
- Print detailed extents info.
-d
- Print info of btrfs device and root tree dirs only.
-r
- Print info of roots only.
-b <block_num>
- Print info of the specified block only.
EXIT STATUS
btrfs-debug-tree will return 0 if no error happened. If any problems happened, 1 will be returned.