btrfs inspect-internal

Query internal information of a btrfs filesystem. More information: https://btrfs.readthedocs.io/en/latest/btrfs-inspect-internal.html.

sudo btrfs inspect-internal dump-super {{path/to/partition}}

sudo btrfs inspect-internal dump-super --all {{path/to/partition}}

sudo btrfs inspect-internal dump-tree {{path/to/partition}}

sudo btrfs inspect-internal inode-resolve {{n}} {{path/to/btrfs_mount}}

sudo btrfs inspect-internal logical-resolve {{logical_address}} {{path/to/btrfs_mount}}

sudo btrfs inspect-internal tree-stats {{path/to/partition}}