new system. yeah I should get better cooling.
latest freenas
FreeNAS-9.3-STABLE-201504152200
Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz
doing a big backup. notice this messaging on a pending sector error (I guess)
8165MB
the interesting thing is the smart_alert.py error
it seems to want /tmp/.smartalert
but can't find it.
nothing I did. I'm assuming this must always happen on smartalerts.
freenas install was standard, nothing special.
I can do
smartctl -a /dev/ada1
and
smartctl -a /dev/ada2
fine..ada2 has the pending sector
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0027 177 171 021 Pre-fail Always - 4116
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 62
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 095 095 000 Old_age Always - 3893
10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 52
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 40
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 21
194 Temperature_Celsius 0x0022 111 106 000 Old_age Always - 36
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 1
198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 3
this is from /var/log/messages
Apr 20 23:48:46 mr-0xs2 smartd[2543]: Warning via /usr/local/www/freenasUI/tools/smart_alert.py to kevin@0xdata.com: failed (32-bit/8-bit exit status: 256/1)
Apr 20 23:48:46 mr-0xs2 smartd[2543]: Device: /dev/ada2, previous self-test completed with error (read test element)
Apr 20 23:48:46 mr-0xs2 smartd[2543]: Device: /dev/ada2, Self-Test Log error count increased from 0 to 1
Apr 20 23:48:51 mr-0xs2 smartd[2543]: Warning via /usr/local/www/freenasUI/tools/smart_alert.py to kevin@0xdata.com produced unexpected output (299 bytes) to STDOUT/STDERR:
Apr 20 23:48:51 mr-0xs2 smartd[2543]: Traceback (most recent call last):
Apr 20 23:48:51 mr-0xs2 smartd[2543]: File "/usr/local/www/freenasUI/tools/smart_alert.py", line 66, in <module>
Apr 20 23:48:51 mr-0xs2 smartd[2543]: main()
Apr 20 23:48:51 mr-0xs2 smartd[2543]: File "/usr/local/www/freenasUI/tools/smart_alert.py", line 45, in main
Apr 20 23:48:51 mr-0xs2 smartd[2543]: with open(SMART_FILE, 'rb') as f:
Apr 20 23:48:51 mr-0xs2 smartd[2543]: IOError: [Errno 2] No such file or directory: '/tmp/.smartalert'
Apr 20 23:48:51 mr-0xs2 smartd[2543]: Warning via /usr/local/www/freenasUI/tools/smart_alert.py to kevin@0xdata.com: failed (32-bit/8-bit exit status: 256/1)
Apr 21 00:00:00 mr-0xs2 syslog-ng[1811]: Configuration reload request received, reloading configuration;
Apr 21 00:18:46 mr-0xs2 smartd[2543]: Device: /dev/ada1, Temperature 40 Celsius reached critical limit of 40 Celsius (Min/Max 37/40)
Apr 21 00:18:47 mr-0xs2 smartd[2543]: Device: /dev/ada2, 1 Currently unreadable (pending) sectors
Apr 21 00:18:52 mr-0xs2 smartd[2543]: Warning via /usr/local/www/freenasUI/tools/smart_alert.py to kevin@0xdata.com produced unexpected output (299 bytes) to STDOUT/STDERR:
Apr 21 00:18:52 mr-0xs2 smartd[2543]: Traceback (most recent call last):
Apr 21 00:18:52 mr-0xs2 smartd[2543]: File "/usr/local/www/freenasUI/tools/smart_alert.py", line 66, in <module>
Apr 21 00:18:52 mr-0xs2 smartd[2543]: main()
Apr 21 00:18:52 mr-0xs2 smartd[2543]: File "/usr/local/www/freenasUI/tools/smart_alert.py", line 45, in main
Apr 21 00:18:52 mr-0xs2 smartd[2543]: with open(SMART_FILE, 'rb') as f:
Apr 21 00:18:52 mr-0xs2 smartd[2543]: IOError: [Errno 2] No such file or directory: '/tmp/.smartalert'
thanks
kevin
[UPDATE] added current /tmp
[root@mr-0xs2] /tmp# ls -ltra
total 36
drwxr-xr-x 29 root wheel 1160 Apr 20 17:18 ../
drwx------ 2 www wheel 0 Apr 20 17:18 firmware/
-rw-r--r-- 1 root wheel 1666 Apr 20 17:18 ixdiagnose_boot.log
-rw-r--r-- 1 root wheel 1077 Apr 20 17:20 rc.conf.freenas
-rw-r--r-- 1 root wheel 33 Apr 20 17:20 freenas_config.md5
-rw------- 1 root wheel 168 Apr 20 17:20 sessionidpvk8hfy24fri4mia3w8difzmi8mgimrc
-rw-r--r-- 1 root wheel 0 Apr 20 23:48 mr-0xs2.local-1807400.97265348862369687321562
-rw-r--r-- 1 root wheel 0 Apr 20 23:48 mr-0xs2.local-1807400.97315348862369687321562
-rw-r--r-- 2 root wheel 0 Apr 21 00:18 mr-0xs2.local-1807400.100685348862369687321562
-rw-r--r-- 2 root wheel 0 Apr 21 00:18 .smartalert.lock
-rw------- 1 root wheel 168 Apr 21 02:53 sessionidp9x351bndeg2woqchbcjuj17mjbzm0z9
drwxr-xr-x 6 www www 160 Apr 21 03:00 nginx/
-rw-rw-r-- 1 root wheel 928 Apr 21 03:11 alert
drwxrwxrwt 5 root wheel 520 Apr 21 03:12 ./
drwxrwxrwt 2 root wheel 0 Apr 21 03:12 vi.recover/
latest freenas
FreeNAS-9.3-STABLE-201504152200
Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz
doing a big backup. notice this messaging on a pending sector error (I guess)
8165MB
the interesting thing is the smart_alert.py error
it seems to want /tmp/.smartalert
but can't find it.
nothing I did. I'm assuming this must always happen on smartalerts.
freenas install was standard, nothing special.
I can do
smartctl -a /dev/ada1
and
smartctl -a /dev/ada2
fine..ada2 has the pending sector
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0027 177 171 021 Pre-fail Always - 4116
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 62
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 095 095 000 Old_age Always - 3893
10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 52
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 40
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 21
194 Temperature_Celsius 0x0022 111 106 000 Old_age Always - 36
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 1
198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 3
this is from /var/log/messages
Apr 20 23:48:46 mr-0xs2 smartd[2543]: Warning via /usr/local/www/freenasUI/tools/smart_alert.py to kevin@0xdata.com: failed (32-bit/8-bit exit status: 256/1)
Apr 20 23:48:46 mr-0xs2 smartd[2543]: Device: /dev/ada2, previous self-test completed with error (read test element)
Apr 20 23:48:46 mr-0xs2 smartd[2543]: Device: /dev/ada2, Self-Test Log error count increased from 0 to 1
Apr 20 23:48:51 mr-0xs2 smartd[2543]: Warning via /usr/local/www/freenasUI/tools/smart_alert.py to kevin@0xdata.com produced unexpected output (299 bytes) to STDOUT/STDERR:
Apr 20 23:48:51 mr-0xs2 smartd[2543]: Traceback (most recent call last):
Apr 20 23:48:51 mr-0xs2 smartd[2543]: File "/usr/local/www/freenasUI/tools/smart_alert.py", line 66, in <module>
Apr 20 23:48:51 mr-0xs2 smartd[2543]: main()
Apr 20 23:48:51 mr-0xs2 smartd[2543]: File "/usr/local/www/freenasUI/tools/smart_alert.py", line 45, in main
Apr 20 23:48:51 mr-0xs2 smartd[2543]: with open(SMART_FILE, 'rb') as f:
Apr 20 23:48:51 mr-0xs2 smartd[2543]: IOError: [Errno 2] No such file or directory: '/tmp/.smartalert'
Apr 20 23:48:51 mr-0xs2 smartd[2543]: Warning via /usr/local/www/freenasUI/tools/smart_alert.py to kevin@0xdata.com: failed (32-bit/8-bit exit status: 256/1)
Apr 21 00:00:00 mr-0xs2 syslog-ng[1811]: Configuration reload request received, reloading configuration;
Apr 21 00:18:46 mr-0xs2 smartd[2543]: Device: /dev/ada1, Temperature 40 Celsius reached critical limit of 40 Celsius (Min/Max 37/40)
Apr 21 00:18:47 mr-0xs2 smartd[2543]: Device: /dev/ada2, 1 Currently unreadable (pending) sectors
Apr 21 00:18:52 mr-0xs2 smartd[2543]: Warning via /usr/local/www/freenasUI/tools/smart_alert.py to kevin@0xdata.com produced unexpected output (299 bytes) to STDOUT/STDERR:
Apr 21 00:18:52 mr-0xs2 smartd[2543]: Traceback (most recent call last):
Apr 21 00:18:52 mr-0xs2 smartd[2543]: File "/usr/local/www/freenasUI/tools/smart_alert.py", line 66, in <module>
Apr 21 00:18:52 mr-0xs2 smartd[2543]: main()
Apr 21 00:18:52 mr-0xs2 smartd[2543]: File "/usr/local/www/freenasUI/tools/smart_alert.py", line 45, in main
Apr 21 00:18:52 mr-0xs2 smartd[2543]: with open(SMART_FILE, 'rb') as f:
Apr 21 00:18:52 mr-0xs2 smartd[2543]: IOError: [Errno 2] No such file or directory: '/tmp/.smartalert'
thanks
kevin
[UPDATE] added current /tmp
[root@mr-0xs2] /tmp# ls -ltra
total 36
drwxr-xr-x 29 root wheel 1160 Apr 20 17:18 ../
drwx------ 2 www wheel 0 Apr 20 17:18 firmware/
-rw-r--r-- 1 root wheel 1666 Apr 20 17:18 ixdiagnose_boot.log
-rw-r--r-- 1 root wheel 1077 Apr 20 17:20 rc.conf.freenas
-rw-r--r-- 1 root wheel 33 Apr 20 17:20 freenas_config.md5
-rw------- 1 root wheel 168 Apr 20 17:20 sessionidpvk8hfy24fri4mia3w8difzmi8mgimrc
-rw-r--r-- 1 root wheel 0 Apr 20 23:48 mr-0xs2.local-1807400.97265348862369687321562
-rw-r--r-- 1 root wheel 0 Apr 20 23:48 mr-0xs2.local-1807400.97315348862369687321562
-rw-r--r-- 2 root wheel 0 Apr 21 00:18 mr-0xs2.local-1807400.100685348862369687321562
-rw-r--r-- 2 root wheel 0 Apr 21 00:18 .smartalert.lock
-rw------- 1 root wheel 168 Apr 21 02:53 sessionidp9x351bndeg2woqchbcjuj17mjbzm0z9
drwxr-xr-x 6 www www 160 Apr 21 03:00 nginx/
-rw-rw-r-- 1 root wheel 928 Apr 21 03:11 alert
drwxrwxrwt 5 root wheel 520 Apr 21 03:12 ./
drwxrwxrwt 2 root wheel 0 Apr 21 03:12 vi.recover/