Shell periodic/daily/800.scrub-zfs

So, I made a diff to the scrub-zfs script for daily periodic
because I have split 2 disks to two separate zpools,
one unencrypted for freebsd system and one GELI encrypted for data.

It seems to work, but it only filters out mirror vdevs.
I have to add all of them not to match not existing disks.
However, the script is usable though because it would just run the scrub another day.
So as long as your zpools are not greater in number than scrub days distance,
it will be ok.
 

Attachments

  • 800.scrub-zfs.diff.txt
    1.9 KB · Views: 117
Back
Top