Gimpe has put together a bash script to automatically run a script at predifined intervals to do a scrub on each ZFS pool. Please note, this will only run on FreeNAS 0.7 (not on the 0.6x series as it doesn’t support Sun’s Zetabyte Filesystem (ZFS).
View/Download the script from hypeothetic.com
Related posts: