btrfs-inspect-internal
Query internal information of a btrfs filesystem. tldr-pages
On Linux
Linux
Print superblock's information
sudo btrfs [i [dump-s path/to/partitionIdentifyPrint superblock's and all of its copies' information
sudo btrfs [i [dump-s --all path/to/partitionIdentifyPrint filesystem's metadata information
sudo btrfs [i [dump-t path/to/partitionIdentifyPrint list of files in inode n-th
sudo btrfs [i [i n path/to/btrfs_mountIdentifyPrint list of files at a given logical address
sudo btrfs [i [lo logical_address path/to/btrfs_mountIdentifyPrint stats of root, extent, csum, and fs trees
sudo btrfs [i [t path/to/partitionIdentify