Skip to content

lnicola/systemd-zpool-scrub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

zpool-scrub

systemd zpool scrub service and timer

Installation

Arch Linux

You can use the systemd-zpool-scrub AUR package.

Linux

install -m 644 -o root -g root [email protected] /etc/systemd/system
install -m 644 -o root -g root [email protected] /etc/systemd/system

systemctl daemon-reload
# enable for `tank`
systemctl enable --now [email protected]

# enable for every pool
for p in $(zpool list -H | cut -f1); do systemctl enable --now zpool-scrub@$p.timer; done