Home > Tips > FreeNAS Bash Script to Start a ZFS Scrub on Each Pool

FreeNAS Bash Script to Start a ZFS Scrub on Each Pool

August 31st, 2009

Hype-o-thetic.com has published a script which performs a scrub on each pool. ZFS automatically checks for errors when it reads/writes files, but you can force a check with the scrub command.

After uploading the script to your FreeNAS machine, hype-o-thetic.com suggest you make it run automatically, by going to System –> Advanced –> Cron and add it as Monthly cron job.

You can find the script here:
FreeNAS Bash script to start a ZFS scrub on each pool (scrub.sh) – hype-o-thetic?com

[Post to Twitter] Tweet This Post  [Post to Delicious] Delicious This Post  [Post to Digg] Digg This Post  [Post to StumbleUpon] Stumble This Post 

admin Tips

  1. No comments yet.
  1. No trackbacks yet.

Tweet This Post links powered by Tweet This v1.3.9, a WordPress plugin for Twitter.