Yell
Explorer
- Joined
- Oct 24, 2012
- Messages
- 74
It would be greate to active monitor a scrub/checksum errors for Harddisk replacement purpose.
I'm atm using the following commandline from ssh
Note: i have created my raid from the command line, because i was one disk short)
Lets say you have a button under Storage->Active Volumes in front of the datapool(s) to start scrub monitoring.
Output would go below the datapool like this:
Note: the pool is degrated because i created a degrated raidz2 and "md3" is offline (woulndt be grep'ed and dosent exist).
I know i get a nightly email like:
I'm atm using the following commandline from ssh
Code:
while true ; do clear; zpool status | grep -e scrub -e STATE -e ada ; sleep 60; done
Note: i have created my raid from the command line, because i was one disk short)
Lets say you have a button under Storage->Active Volumes in front of the datapool(s) to start scrub monitoring.
Output would go below the datapool like this:

Note: the pool is degrated because i created a degrated raidz2 and "md3" is offline (woulndt be grep'ed and dosent exist).
I know i get a nightly email like:
But i dont like to wait and dont want to configure an hourly email spam.# skipping scrubbing of pool 'datapool':
last scrubbing is 0 days ago, threshold is set to 20 days