Opened 14 months ago
Closed 6 months ago
#1450 closed enhancement (wontfix)
Check zpool status - Cronjob
| Reported by: | RoofBurner | Owned by: | |
|---|---|---|---|
| Priority: | trivial | Milestone: | |
| Component: | Backend | Version: | |
| Keywords: | cron check zpool status | Cc: |
Description
I'm a Freenas user since a couple of months. I only use my Freenas server after WakeOnLan?.
I see the newest version of Freenas does some zpool scrubbing and monitoring using a cronjob. But at those times, my Freenas is off...
I once found a script (http://sourceforge.net/apps/phpbb/freenas/viewtopic.php?f=97&t=8400, authors Gimpe & cypher1024) and changed it a little bit ot work with Freenas 8.x
steps:
- ssh to your Freenas
- execute "mount -o rw /dev/ufs/FreeNASs1a /"
- create a file: e.g. /root/check-zpool-status (file in attachement).
- create a cronjob (using the GUI) to execute this script every x minutes/hours/...
Attachments (1)
Change History (3)
comment:1 Changed 14 months ago by RoofBurner
comment:2 Changed 6 months ago by william
- Resolution set to wontfix
- Status changed from new to closed
This script is of no use. FreeNAS alert system already does that check.
What could be discussed here is: #1845
Note: See
TracTickets for help on using
tickets.

I just thought of something: I don't know if my HDD wakes from sleep/standby when executing this script.
Question is: does "zpool status" needs disk access?