btrfs-scrub

Scrub btrfs filesystems to verify data integrity.

TLDR

Start a scrub

$ sudo btrfs scrub start [path/to/btrfs_mount]
copy

Show the status of an ongoing or last completed scrub

$ sudo btrfs scrub status [path/to/btrfs_mount]
copy

Cancel an ongoing scrub

$ sudo btrfs scrub cancel [path/to/btrfs_mount]
copy

Resume a previously cancelled scrub

$ sudo btrfs scrub resume [path/to/btrfs_mount]
copy

Start a scrub, but wait until the scrub finishes before exiting

$ sudo btrfs scrub start -B [path/to/btrfs_mount]
copy

Start a scrub in quiet mode (does not print errors or statistics)

$ sudo btrfs scrub start -q [path/to/btrfs_mount]
copy

Copied to clipboard
Stream 500+ movies for free and without signup