Darren Myers
Guru
- Joined
- Oct 2, 2014
- Messages
- 925
Are you sure the drives are adaX and not daX? 2 of my drives (the boot drives) come up as adaX and all my hdds come up as daXI finally got those to work! Huge thanks for those - they are a life saver.
The CPU/HDD temp output works great, I'm having some errors with the e-mail the SMART report one.
Here's the error I got & then the output it gives me - I have 6 drives. I get the full report for the detailed SMART status, but the grid doesn't fill out ada1 to ada4 - ada6 and ada7 are not in use at the moment, but will be in a few days.
Any ideas?
Code:[root@freenas] /scripts# ./smart_hdd.sh awk: can't open file 81 source line number 1 awk: can't open file 21 source line number 1 awk: can't open file 81 source line number 1 awk: can't open file 21 source line number 1
Code:########## SMART status report summary for all drives ########## +------+---------------+----+-----+-----+-----+-------+-------+--------+------+------+------+-------+----+ |Device|Serial |Temp|Power|Start|Spin |ReAlloc|Current|Offline |UDMA |Seek |High |Command|Last| | | | |On |Stop |Retry|Sectors|Pending|Uncorrec|CRC |Errors|Fly |Timeout|Test| | | | |Hours|Count|Count| |Sectors|Sectors |Errors| |Writes|Count |Age | +------+---------------+----+-----+-----+-----+-------+-------+--------+------+------+------+-------+----+ |ada0 |W1F4TVXX | 35 | 9953| 1079| 0| 0| 0| 0| 0| 0| 0| 0| 415| |ada5 |Z1F4Z3EB | 34 | 1321| 539| 0| 0| 0| 0| 0| 0| 0| 0| 55| |ada6 | | | | | | | | | | N/A| N/A| N/A| 0| |ada7 | | | | | | | | | | N/A| N/A| N/A| 0| +------+---------------+----+-----+-----+-----+-------+-------+--------+------+------+------+-------+----+ ########## SMART status report for ada0 drive (Seagate Barracuda 7200.14: W1F4TVXX) ########## SMART overall-health self-assessment test result: PASSED...