If you've properly setup your FreeNAS box it should send you emails when things go bad as well as some informational emails. Depending on the FreeNAS version you are using you can expect either nightly emails or emails only the first night after you do a bootup/reboot.
So my friend's server is setup with what I call a proper schedule of SMART testing, scrubs, etc. If you want to see what I use and recommend check out http://forums.freenas.org/index.php?threads/scrub-and-smart-testing-schedules.20108/
So here's a real-world result of my friend's server. Server had been running 24x7 for about 5 months and all of a sudden a drive decided it didn't want to work. To the hardware the hard drive was "disconnected" from the system.
To explain a little, his server sends SMART emails to his cell phone as SMS texts (Google your cell phone provider for how to do this). For him, his "email address" is xxxxxxxxxx@vtext.com (he uses Verizon). But the root user is his personal email. We did this because standard emails aren't exactly a "high priority" but SMART emails are. They can range from a failed disk to a failing disk to a disk that is overheating because a fan in his server just failed. In the event a fan fails you don't want to let it run all weekend while the drive cooks, so the smart thing is to get an immediate message.
So at 1:22AM this particular day he got an email sent to his "root" account that consisted of the following:
Of course, he wasn't checking his email at that exact minute. Since SMART still runs, just 3 minutes later he got an SMS on his phone...
Of course this SMS message got his attention. It just so happened he and I were awake and on Skype and within 30 minutes he had the disk removed, new disk installed, and resilvering was already in progress. Before noon that day his server was back online with full redundancy restored. Knowing this kind of thing happens and its a matter of when and not if he had a spare disk already tested and ready to go. He just had to do the actual disk swap.
Anyone curious to know when the last time he had actually logged into the WebGUI? About 5 months.
So what should you take away from this? If you know what you are doing and actually think about how you want the server to contact you if there is a problem you can have almost instantaneous feedback in the event something goes wrong. This also means that if you've done your job and planned ahead there is no reason to log into your server at any regular interval because the server should be telling tell you if things aren't right.
Hope this shows the power that FreeNAS offers if you take the time to set it up properly.
So my friend's server is setup with what I call a proper schedule of SMART testing, scrubs, etc. If you want to see what I use and recommend check out http://forums.freenas.org/index.php?threads/scrub-and-smart-testing-schedules.20108/
So here's a real-world result of my friend's server. Server had been running 24x7 for about 5 months and all of a sudden a drive decided it didn't want to work. To the hardware the hard drive was "disconnected" from the system.
To explain a little, his server sends SMART emails to his cell phone as SMS texts (Google your cell phone provider for how to do this). For him, his "email address" is xxxxxxxxxx@vtext.com (he uses Verizon). But the root user is his personal email. We did this because standard emails aren't exactly a "high priority" but SMART emails are. They can range from a failed disk to a failing disk to a disk that is overheating because a fan in his server just failed. In the event a fan fails you don't want to let it run all weekend while the drive cooks, so the smart thing is to get an immediate message.
So at 1:22AM this particular day he got an email sent to his "root" account that consisted of the following:
Subject: Critical Alerts
The volume tank (ZFS) status is DEGRADED
Of course, he wasn't checking his email at that exact minute. Since SMART still runs, just 3 minutes later he got an SMS on his phone...
Subject: Fwd: SMART error (FailedOpenDevice) detected on host: freenas
This message was generated by the smartd daemon running on:
host name: freenas
DNS domain: <removed to protect the innocent>
The following warning/error was logged by the smartd daemon:
Device: /dev/da9 [SAT], unable to open device
Device info:
ST3000DM001-9YN166, S/N:<redacted>, WWN:5-000c50-0536e2d5e, FW:CC4B, 3.00 TB
For details see host's SYSLOG.
You can also use the smartctl utility for further investigation.
No additional messages about this problem will be sent.
Of course this SMS message got his attention. It just so happened he and I were awake and on Skype and within 30 minutes he had the disk removed, new disk installed, and resilvering was already in progress. Before noon that day his server was back online with full redundancy restored. Knowing this kind of thing happens and its a matter of when and not if he had a spare disk already tested and ready to go. He just had to do the actual disk swap.
Anyone curious to know when the last time he had actually logged into the WebGUI? About 5 months.
So what should you take away from this? If you know what you are doing and actually think about how you want the server to contact you if there is a problem you can have almost instantaneous feedback in the event something goes wrong. This also means that if you've done your job and planned ahead there is no reason to log into your server at any regular interval because the server should be telling tell you if things aren't right.
Hope this shows the power that FreeNAS offers if you take the time to set it up properly.
Last edited: