Skip to content

stesind/zpool-scrub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

zpool-scrub

Service and Timer for zpool scrub on Ubuntu

Install on Ubuntu

  • Clone this repository, change into the directory zpool-scrub-weekly
  • Install and enable timer and service file in /etc/systemd/system:
git clone https://github.com/stesind/zpool-scrub.git
cd zpool-scrub

sudo install -m 644 -o root -g root zpool-scrub@.service /etc/systemd/system
sudo install -m 644 -o root -g root zpool-scrub@.timer /etc/systemd/system

sudo systemctl daemon-reload
sudo systemctl enable --now zpool-scrub@<POOLNAME>.timer

Replace <POOLNAME> with the name of your pool. Keep in mind that the path is /sbin/zpool in Ubuntu. On Arch Linux it is /usr/sbin/zpool. One has to change the service file accordingly if not used in Ubuntu. If you are unsure about the location, find out using:

which zpool

About

Service and Timer for zpool scrub on Ubuntu

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published