Drive Failure Notfications

Status
Not open for further replies.

FireBIade

Dabbler
Joined
Jan 4, 2012
Messages
25
I have FreeNas 8.03 P1 installed on a server with hardware raid, is it possible to get a report via email when a disc in the array dies?
 

lrusak

Explorer
Joined
Dec 20, 2011
Messages
56
turn on smart monitoring and have the root email setup then add, -m root, to the addition smart parameters in the disks section
 

FireBIade

Dabbler
Joined
Jan 4, 2012
Messages
25
For some reason the smart service will not start, I'm guessing this is due to the drives being SAS drives rather than SATA or IDE. After I pulled a drive the system still worked fine so the underlying hardware raid 5 is doing it's job. I did get a daily email through with reference to the HD being pulled (simulating a failure) and then a rebuild. Maybe I should run a cron job checking the logs for keywords and if it finds any just email the log out straight away?

+ciss1: *** Hot-plug drive removed, Port=1I Box=1 Bay=5
+ciss1: *** Physical drive failure, Port=1I Box=1 Bay=5
+ciss1: *** State change, logical drive 0, new state=REGENING
+ciss1: logical drive 0 (pass1) changed status OK->interim recovery,
+spare status 0x0
+ciss1: *** Drive firmware update req., model DG146ABAB4 (min. ver=HPDA)
+ciss1: *** Hot-plug drive inserted, Port=1I Box=1 Bay=5
+ciss1: *** State change, logical drive 0, new state=NEEDS_REBUILD
+ciss1: logical drive 0 (pass1) changed status interim recovery->ready
+for recovery, spare status 0x0
+ciss1: *** State change, logical drive 0, new state=REBUILDING
+ciss1: logical drive 0 (pass1) changed status ready for
+recovery->recovering, spare status 0x0
+ciss1: *** State change, logical drive 0, new state=OK
+ciss1: logical drive 0 (pass1) changed status recovering->OK, spare
+status 0x0 pid 48153 (zfs), uid 0: exited on signal 6 pid 48203 (zfs),
+uid 0: exited on signal 6 pid 48251 (zfs), uid 0: exited on signal 6
+pid 48297 (zfs), uid 0: exited on signal 6 pid 48342 (zfs), uid 0:
+exited on signal 6 pid 48390 (zfs), uid 0: exited on signal 6 pid 48423
+(zfs), uid 0: exited on signal 6 pid 48471 (zfs), uid 0: exited on
+signal 6 pid 48517 (zfs), uid 0: exited on signal 6 pid 48562 (zfs),
+uid 0: exited on signal 6 pid 48610 (zfs), uid 0: exited on signal 6
+pid 48646 (zfs), uid 0: exited on signal 6 pid 48702 (zfs), uid 0:
+exited on signal 6 pid 48740 (zfs), uid 0: exited on signal 6
+ciss1: *** Parity/consistency initialization complete, logical drive 0
+ciss1: logical drive 0 (pass1) completed consistency initialisation
 
Status
Not open for further replies.
Top