btrfs-scrub
Scrub btrfs filesystems to verify data integrity. tldr-pages
On Linux
Linux
Scrub btrfs filesystems to verify data integrity. It is recommended to run a scrub once a month.
Start a scrub
sudo btrfs [sc start path/to/btrfs_mountIdentifyShow the status of an ongoing or last completed scrub
sudo btrfs [sc status path/to/btrfs_mountIdentifyCancel an ongoing scrub
sudo btrfs [sc [c path/to/btrfs_mountIdentifyResume a previously cancelled scrub
sudo btrfs [sc [r path/to/btrfs_mountIdentifyStart a scrub, but do not put the program in the Background
sudo btrfs [sc start -B path/to/btrfs_mountIdentifyStart a scrub in quiet mode (does not print errors or statistics)
sudo btrfs [sc start --quiet path/to/btrfs_mountIdentify