mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 13:02:08 +02:00
btrfs-inspect-internal: add page (#6975)
This commit is contained in:
parent
e9b5ce3961
commit
0ce559932b
1 changed files with 28 additions and 0 deletions
28
pages/linux/btrfs-inspect-internal.md
Normal file
28
pages/linux/btrfs-inspect-internal.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# btrfs inspect-internal
|
||||||
|
|
||||||
|
> Query internal information of a btrfs filesystem.
|
||||||
|
> More information: <https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs-inspect-internal>.
|
||||||
|
|
||||||
|
- Print superblock's information:
|
||||||
|
|
||||||
|
`sudo btrfs inspect-internal dump-super {{path/to/partition}}`
|
||||||
|
|
||||||
|
- Print superblock's and all of its copies' information:
|
||||||
|
|
||||||
|
`sudo btrfs inspect-internal dump-super --all {{path/to/partition}}`
|
||||||
|
|
||||||
|
- Print filesystem's metadata information:
|
||||||
|
|
||||||
|
`sudo btrfs inspect-internal dump-tree {{path/to/partition}}`
|
||||||
|
|
||||||
|
- Print list of files in inode `n`-th:
|
||||||
|
|
||||||
|
`sudo btrfs inspect-internal inode-resolve {{n}} {{path/to/btrfs_mount}}`
|
||||||
|
|
||||||
|
- Print list of files at a given logical address:
|
||||||
|
|
||||||
|
`sudo btrfs inspect-internal logical-resolve {{logical_address}} {{path/to/btrfs_mount}}`
|
||||||
|
|
||||||
|
- Print stats of root, extent, csum and fs trees:
|
||||||
|
|
||||||
|
`sudo btrfs inspect-internal tree-stats {{path/to/partition}}`
|
Loading…
Add table
Reference in a new issue