FreeNAS Boot SMART testing?

Status
Not open for further replies.
Joined
Oct 2, 2014
Messages
925
I had to look into the SMART results of all my drives, and one of my boot devices came up with pending sectors...yet i never got an email about it, so after looking into my short and long SMART testing, it only allows me to select daX (x being 0-20)...So no option to check the SMART status of ada0 and ada1 ....soooo whats up with that?
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
So no option to check the SMART status of ada0 and ada1 ....soooo whats up with that?
I just check from the GUI and my boot drive ada0 is on the top of the list in:
Tasks > S.M.A.R.T Tests > Add S.M.A.R.T Test
smart-test.jpg
Maybe it has something to do with your hardware and how the SSDs are connected???
 
Joined
Oct 2, 2014
Messages
925
SSDs are direct connected to motherboard, they were there at one point I'll double check when I get back in front of it
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
SSDs are direct connected to motherboard, they were there at one point I'll double check when I get back in front of it
I noticed your post in the bug thread... You don't suppose this could be related, do you?
 
Joined
Oct 2, 2014
Messages
925
Very well possible, but I don't think I'm sharp enough to determine it lol, I only update once a month or so.
 
Joined
Oct 2, 2014
Messages
925
I don't even have an option to select ada0 or ada1. But it was there before I updated I didn't think to check before
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
So no option to check the SMART status of ada0 and ada1
My server now has mirrored 16GB DOMs. I'm now wondering why MY machine is only showing ada0 under setting up smart tests??o_O
 
Joined
Oct 2, 2014
Messages
925
mhmmm maybe something is fouled up somewhere, i cant see either ada0 or ada1 under SMART testing, OR the view disks.....something is really wrong.
 

Attachments

  • no ada's.jpg
    no ada's.jpg
    287.6 KB · Views: 446

rogerh

Guru
Joined
Apr 18, 2014
Messages
1,111
As a matter of interest I am on the latest stable 9.3 and my boot SSDs, which are ada4 and ada5, don't show up in the "add smart test" menu or in existing smart test schedules. I thought there was a bug about this and it was largely dismissed with something to the effect that USB sticks don't benefit from smart tests. Do DOMs have SMART?
 
Joined
Oct 2, 2014
Messages
925
As a matter of interest I am on the latest stable 9.3 and my boot SSDs, which are ada4 and ada5, don't show up in the "add smart test" menu or in existing smart test schedules. I thought there was a bug about this and it was largely dismissed with something to the effect that USB sticks don't benefit from smart tests. Do DOMs have SMART?
Thats kinda stupid not to SMART SSD's.....or DOMs
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
Do DOMs have SMART?
Yes, both my DOMs are smart capable and reports (from smarctl -a /dev/adaX) are basically the same as any other SSD (at least the ones I've looked at).
I just ordered two used Intel X25e 32GB SSD (8860 FW) and will be installing 9.3 on them and fiddeling around with some different configurations.
I have only six drives hooked to my HBA, so I have two spare data cables to utilize for the mirrored boot drives, leaving my Mobo's SATA ports empty.
Can u tell I'm bored?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Many disks do NOT support SMART testing.

Here's one of my SATA DOMs..

Code:
~# smartctl -a /dev/ada0
smartctl 6.3 2014-07-26 r3976 [FreeBSD 9.3-RELEASE-p16 amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:  InnoLite SATADOM D150QV
Serial Number:  20141231AA1005224235
Firmware Version: 120319
User Capacity:  32,017,047,552 bytes [32.0 GB]
Sector Size:  512 bytes logical/physical
Rotation Rate:  Solid State Device
Form Factor:  2.5 inches
Device is:  Not in smartctl database [for details use: -P showall]
ATA Version is:  ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:  Wed Aug 26 13:18:50 2015 MST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
  was never started.
  Auto Offline Data Collection: Disabled.
Total time to complete Offline
data collection:  (  30) seconds.
Offline data collection
capabilities:  (0x00)  Offline data collection not supported.
SMART capabilities:  (0x0003) Saves SMART data before entering
  power-saving mode.
  Supports SMART auto save timer.
Error logging capability:  (0x00) Error logging NOT supported.
  No General Purpose Logging support.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG  VALUE WORST THRESH TYPE  UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate  0x000b  100  100  050  Pre-fail  Always  -  16777215
  2 Throughput_Performance  0x0005  100  100  050  Pre-fail  Offline  -  0
  3 Spin_Up_Time  0x0007  100  100  050  Pre-fail  Always  -  0
  5 Reallocated_Sector_Ct  0x0013  100  100  050  Pre-fail  Always  -  0
  7 Unknown_SSD_Attribute  0x000b  100  100  050  Pre-fail  Always  -  0
  8 Unknown_SSD_Attribute  0x0005  100  100  050  Pre-fail  Offline  -  0
  9 Power_On_Hours  0x0012  100  100  000  Old_age  Always  -  915
10 Unknown_SSD_Attribute  0x0013  100  100  050  Pre-fail  Always  -  0
12 Power_Cycle_Count  0x0012  100  100  000  Old_age  Always  -  277
168 Unknown_Attribute  0x0012  100  100  000  Old_age  Always  -  0
175 Program_Fail_Count_Chip 0x0003  100  100  010  Pre-fail  Always  -  0
192 Power-Off_Retract_Count 0x0012  100  100  000  Old_age  Always  -  0
194 Temperature_Celsius  0x0022  000  100  000  Old_age  Always  -  0 (Min/Max 0/100)
197 Current_Pending_Sector  0x0012  100  100  000  Old_age  Always  -  0
240 Unknown_SSD_Attribute  0x0013  100  100  050  Pre-fail  Always  -  0
170 Unknown_Attribute  0x0003  100  100  010  Pre-fail  Always  -  524288
173 Unknown_Attribute  0x0012  100  100  000  Old_age  Always  -  17825981
229 Unknown_Attribute  0x0002  100  100  000  Old_age  Always  -  727108061228
236 Unknown_Attribute  0x0002  100  100  000  Old_age  Always  -  0
235 Unknown_Attribute  0x0002  100  000  000  Old_age  Always  -  0

SMART Error Log not supported

SMART Self-test Log not supported

Selective Self-tests/Logging not supported


Notice that no tests are listed. Now watch this...

Code:
[root@stars] ~# smartctl -t short /dev/ada0
smartctl 6.3 2014-07-26 r3976 [FreeBSD 9.3-RELEASE-p16 amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Self-test functions not supported

Sending command: "Execute SMART Short self-test routine immediately in off-line mode".
Command "Execute SMART Short self-test routine immediately in off-line mode" failed: Input/output error
[root@stars] ~# smartctl -t long /dev/ada0
smartctl 6.3 2014-07-26 r3976 [FreeBSD 9.3-RELEASE-p16 amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Self-test functions not supported

Sending command: "Execute SMART Extended self-test routine immediately in off-line mode".
Command "Execute SMART Extended self-test routine immediately in off-line mode" failed: Input/output error


Not supported... easy answer. Why didn't anyone figure this out? :p

Many SSDs, DOMs, and USB thumbdrives have no SMART testing supported.

Remember.. SMART testing is NOT the same as SMART monitoring. :p

Yes.. I realize I'm late to the party. Been busy with work stuff.
 

rogerh

Guru
Joined
Apr 18, 2014
Messages
1,111
For the SSDs that do support SMART tests, are the tests useful in predicting failure? Or even detecting failure? If so, the option to test them would be useful.
 
Joined
Oct 2, 2014
Messages
925
Many disks do NOT support SMART testing.

Here's one of my SATA DOMs..

Code:
~# smartctl -a /dev/ada0
smartctl 6.3 2014-07-26 r3976 [FreeBSD 9.3-RELEASE-p16 amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:  InnoLite SATADOM D150QV
Serial Number:  20141231AA1005224235
Firmware Version: 120319
User Capacity:  32,017,047,552 bytes [32.0 GB]
Sector Size:  512 bytes logical/physical
Rotation Rate:  Solid State Device
Form Factor:  2.5 inches
Device is:  Not in smartctl database [for details use: -P showall]
ATA Version is:  ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:  Wed Aug 26 13:18:50 2015 MST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
  was never started.
  Auto Offline Data Collection: Disabled.
Total time to complete Offline
data collection:  (  30) seconds.
Offline data collection
capabilities:  (0x00)  Offline data collection not supported.
SMART capabilities:  (0x0003) Saves SMART data before entering
  power-saving mode.
  Supports SMART auto save timer.
Error logging capability:  (0x00) Error logging NOT supported.
  No General Purpose Logging support.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG  VALUE WORST THRESH TYPE  UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate  0x000b  100  100  050  Pre-fail  Always  -  16777215
  2 Throughput_Performance  0x0005  100  100  050  Pre-fail  Offline  -  0
  3 Spin_Up_Time  0x0007  100  100  050  Pre-fail  Always  -  0
  5 Reallocated_Sector_Ct  0x0013  100  100  050  Pre-fail  Always  -  0
  7 Unknown_SSD_Attribute  0x000b  100  100  050  Pre-fail  Always  -  0
  8 Unknown_SSD_Attribute  0x0005  100  100  050  Pre-fail  Offline  -  0
  9 Power_On_Hours  0x0012  100  100  000  Old_age  Always  -  915
10 Unknown_SSD_Attribute  0x0013  100  100  050  Pre-fail  Always  -  0
12 Power_Cycle_Count  0x0012  100  100  000  Old_age  Always  -  277
168 Unknown_Attribute  0x0012  100  100  000  Old_age  Always  -  0
175 Program_Fail_Count_Chip 0x0003  100  100  010  Pre-fail  Always  -  0
192 Power-Off_Retract_Count 0x0012  100  100  000  Old_age  Always  -  0
194 Temperature_Celsius  0x0022  000  100  000  Old_age  Always  -  0 (Min/Max 0/100)
197 Current_Pending_Sector  0x0012  100  100  000  Old_age  Always  -  0
240 Unknown_SSD_Attribute  0x0013  100  100  050  Pre-fail  Always  -  0
170 Unknown_Attribute  0x0003  100  100  010  Pre-fail  Always  -  524288
173 Unknown_Attribute  0x0012  100  100  000  Old_age  Always  -  17825981
229 Unknown_Attribute  0x0002  100  100  000  Old_age  Always  -  727108061228
236 Unknown_Attribute  0x0002  100  100  000  Old_age  Always  -  0
235 Unknown_Attribute  0x0002  100  000  000  Old_age  Always  -  0

SMART Error Log not supported

SMART Self-test Log not supported

Selective Self-tests/Logging not supported


Notice that no tests are listed. Now watch this...

Code:
[root@stars] ~# smartctl -t short /dev/ada0
smartctl 6.3 2014-07-26 r3976 [FreeBSD 9.3-RELEASE-p16 amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Self-test functions not supported

Sending command: "Execute SMART Short self-test routine immediately in off-line mode".
Command "Execute SMART Short self-test routine immediately in off-line mode" failed: Input/output error
[root@stars] ~# smartctl -t long /dev/ada0
smartctl 6.3 2014-07-26 r3976 [FreeBSD 9.3-RELEASE-p16 amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Self-test functions not supported

Sending command: "Execute SMART Extended self-test routine immediately in off-line mode".
Command "Execute SMART Extended self-test routine immediately in off-line mode" failed: Input/output error


Not supported... easy answer. Why didn't anyone figure this out? :p

Many SSDs, DOMs, and USB thumbdrives have no SMART testing supported.

Remember.. SMART testing is NOT the same as SMART monitoring. :p

Yes.. I realize I'm late to the party. Been busy with work stuff.
Thats ok cyber, i appreciate the feedback, and it does give me some insight to what happened now.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
For the SSDs that do support SMART tests, are the tests useful in predicting failure? Or even detecting failure? If so, the option to test them would be useful.

To be honest, I haven't heard of it being too useful at all. SMART really was designed for mechanical drives. So I tend to think that SMART tests are probably useless. Monitoring definitely isn't useless as it warns of excessive number of writes on the cells and other problems. I have no doubt that there is probably someone, somewhere that has benefitted, but I'm fairly confident it's not nearly as useful as it is for mechanical drives.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
I'd argue that the failure mechanisms of NAND flash are far easier to keep tabs on during normal operation than through some sort of dedicated test. It could be useful to order a refresh of somewhat degraded cells, though.
 

rogerh

Guru
Joined
Apr 18, 2014
Messages
1,111
I'd argue that the failure mechanisms of NAND flash are far easier to keep tabs on during normal operation than through some sort of dedicated test. It could be useful to order a refresh of somewhat degraded cells, though.
It's perhaps an ignorant question, but how do you "keep tabs" on them in normal operation, say as an OS drive? Sorry if this is a bit off-topic.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
It's perhaps an ignorant question, but how do you "keep tabs" on them in normal operation, say as an OS drive? Sorry if this is a bit off-topic.
SMART monitoring, of course. It's just the SMART tests that are of doubtful usefulness.
 

rogerh

Guru
Joined
Apr 18, 2014
Messages
1,111
SMART monitoring, of course. It's just the SMART tests that are of doubtful usefulness.

Which brings us back to the OP (almost); is SMART monitoring applied to the boot disks, if they are SMART capable? There is no way in the GUI to set or unset this. Edit: or add extra options, I meant to say.
 
Status
Not open for further replies.
Top