CmdID

CmdID / Commands

btrfs-check

Check or repair a btrfs filesystem. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Check a btrfs filesystem

sudo btrfs [c path/to/partitionIdentify

Check and repair a btrfs filesystem (dangerous)

sudo btrfs [c --repair path/to/partitionIdentify

Show the progress of the check

sudo btrfs [c --progress path/to/partitionIdentify

Verify the checksum of each data block (if the filesystem is good)

sudo btrfs [c --check-data-csum path/to/partitionIdentify

Use the n-th superblock (n can be 0, 1, or 2)

sudo btrfs [c --super n path/to/partitionIdentify

Rebuild the checksum tree

sudo btrfs [c --repair --init-csum-tree path/to/partitionIdentify

Rebuild the extent tree

sudo btrfs [c --repair --init-extent-tree path/to/partitionIdentify