Permalink
Cannot retrieve contributors at this time
Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upsystemd-utils/units/btrfs-scrub.service
Go to file| [Unit] | |
| Description=Check volume for errors | |
| Documentation=man:btrfs-scrub | |
| After=fstrim.service | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/usr/bin/sh -c 'for i in $(grep btrfs /proc/mounts | cut -f1 -d" " | uniq); do echo scrubbing $i; btrfs scrub start -Bd $i; done' | |
| IOSchedulingClass=idle | |
| CPUSchedulingPolicy=idle |