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:

  1. ssh to your Freenas
  2. execute "mount -o rw /dev/ufs/FreeNASs1a /"
  3. create a file: e.g. /root/check-zpool-status (file in attachement).
  4. create a cronjob (using the GUI) to execute this script every x minutes/hours/...

Attachments (1)

check-zpool-status (2.1 KB) - added by RoofBurner 14 months ago.
Check zpool status script

Download all attachments as: .zip

Change History (3)

comment:1 Changed 14 months ago by RoofBurner

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?

Changed 14 months ago by RoofBurner

Check zpool status script

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.