btrfs check

Check or repair a btrfs filesystem. More information: https://btrfs.readthedocs.io/en/latest/btrfs-check.html.

sudo btrfs check {{path/to/partition}}

sudo btrfs check --repair {{path/to/partition}}

sudo btrfs check --progress {{path/to/partition}}

sudo btrfs check --check-data-csum {{path/to/partition}}

sudo btrfs check --super {{n}} {{path/to/partition}}

sudo btrfs check --repair --init-csum-tree {{path/to/partition}}

sudo btrfs check --repair --init-extent-tree {{path/to/partition}}