Scripts to report SMART, ZPool and UPS status, HDD/CPU T°, HDD identification and backup the config

Wim Mistiaen

Dabbler
Joined
Mar 21, 2015
Messages
22
Thanks a lot for all the hard work! much appreciated!

Do we still need to enable the build-in SMART service of Freenas for this script (and the script uses the latsest SMART test results), or does it doe a smart test itself? (and if so, does it do a long/short).
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
Thanks a lot for all the hard work! much appreciated!

Do we still need to enable the build-in SMART service of Freenas for this script (and the script uses the latsest SMART test results), or does it doe a smart test itself? (and if so, does it do a long/short).
SMART testing should be enabled, service on and scheduled. The script only generates a report and emails it so you can keep track of the system health more easily.

Sent from my SAMSUNG-SGH-I537 using Tapatalk
 

diedrichg

Wizard
Joined
Dec 4, 2012
Messages
1,319

Wolfeman0101

Patron
Joined
Jun 14, 2012
Messages
428
I'm using the SMART email script for SATA and I added an SSD drive which shows up as nvd0 and I'd like to include it on the report. Anyone got any ideas for how to do that?
 

sgaar

Dabbler
Joined
Nov 22, 2015
Messages
14
Great collection of script, thanks. For some reason one of my drives - SSD - reports the 'Power On Hours' as 11704h+00m+00.000s which messes up my nice report. I have been looking at the script but haven't been able to fond a way to kill anything after 'h+' in the string.

Does anyone have any suggestions on how that can be accomplished? The script is the 'smart_report' and the SSD is a 240GB SanDisk.
 

farmerpling2

Patron
Joined
Mar 20, 2017
Messages
224
Great collection of script, thanks. For some reason one of my drives - SSD - reports the 'Power On Hours' as 11704h+00m+00.000s which messes up my nice report. I have been looking at the script but haven't been able to fond a way to kill anything after 'h+' in the string.

Does anyone have any suggestions on how that can be accomplished? The script is the 'smart_report' and the SSD is a 240GB SanDisk.

Take a look at the Unix SED editor. This can easily be done.

Code:
sed 's/+00m+00.000s//'


You could also use cut.
 
Last edited:

sgaar

Dabbler
Joined
Nov 22, 2015
Messages
14
Thank you for that. Maybe you have an additional minute to educate me on where in the script you would make the code change? I am looking to change:
Code:
printf "|%-6s|%-20s| %s |%5s|%5s|%5s|%7s|%7s|%8s|%6s|%6s|%6s|%7s|%4s|\n",
			device, serial, temp, onHours, startStop, spinRetry, reAlloc, pending, offlineUnc, \
			crcErrors, seekErrors, hiFlyWr, cmdTimeout, testAge;


-and insert your suggestion for it to look like this:

Code:
printf "|%-6s|%-20s| %s |%5s|%5s|%5s|%7s|%7s|%8s|%6s|%6s|%6s|%7s|%4s|\n",
			device, serial, temp, sed 's/+00m+00.000s//', startStop, spinRetry, reAlloc, pending, offlineUnc, \
			crcErrors, seekErrors, hiFlyWr, cmdTimeout, testAge;



That gives me a syntax error.

The whole section of code that creates the first table in the resulting report, is created in one big loop and I am having some difficulty determining where it would a good place to make the change. I have also tried to make the operation on a variable assigned the onHours value, but then I cannot get it to work in the printf statement.
 

sgaar

Dabbler
Joined
Nov 22, 2015
Messages
14
I tried to use cut with the following :
Code:
			}
			hours=$( echo "$onHours" |cut -d\h -f1 )
			if (hiFlyWr == "") hiFlyWr="N/A";
			if (cmdTimeout == "") cmdTimeout="N/A";
			printf "|%-6s|%-20s| %s |%5s|%5s|%5s|%7s|%7s|%8s|%6s|%6s|%6s|%7s|%4s|\n",
			device, serial, temp, hours, startStop, spinRetry, reAlloc, pending, offlineUnc, \
			crcErrors, seekErrors, hiFlyWr, cmdTimeout, testAge;



But I get this back when I try to run it:
Code:
awk: illegal statement at source line 27
awk: syntax error at source line 26
 context is
				hours=$( echo "$onHours" >>>  |cut <<<  -d\h -f1 )

 

droeders

Contributor
Joined
Mar 21, 2016
Messages
179
I'm using the SMART email script for SATA and I added an SSD drive which shows up as nvd0 and I'd like to include it on the report. Anyone got any ideas for how to do that?

Anyone got any help for this?

If you're using the original script posted in this thread, you should only need to modify this line in the script:
Code:
drives="da0 da1 da2 da3 da4 da5 da6 da7"

This line should include all devices in your machine that you want to monitor. For instance:
Code:
drives="da0 da1 da2 da3 da4 da5 da6 da7 nvd0"
 

Wolfeman0101

Patron
Joined
Jun 14, 2012
Messages
428
If you're using the original script posted in this thread, you should only need to modify this line in the script:
Code:
drives="da0 da1 da2 da3 da4 da5 da6 da7"

This line should include all devices in your machine that you want to monitor. For instance:
Code:
drives="da0 da1 da2 da3 da4 da5 da6 da7 nvd0"
Tried that but nvd0 returns empty.
 

Wolfeman0101

Patron
Joined
Jun 14, 2012
Messages
428
What does this command return?
Code:
smartctl -a /dev/nvd0
Code:
bkwolfe@Packers:~ % sudo smartctl -a /dev/nvd0

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

	#1) Respect the privacy of others.
	#2) Think before you type.
	#3) With great power comes great responsibility.

Password:
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.0-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/nvd0: Unable to detect device type
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

bkwolfe@Packers:~ %
 

droeders

Contributor
Joined
Mar 21, 2016
Messages
179
Code:
/dev/nvd0: Unable to detect device type
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

bkwolfe@Packers:~ %

Try using these and see if you get SMART info:
Code:
smartctl -a -d sat /dev/nvd0
smartctl -a -d ata /dev/nvd0
 

Wolfeman0101

Patron
Joined
Jun 14, 2012
Messages
428
Try using these and see if you get SMART info:
Code:
smartctl -a -d sat /dev/nvd0
smartctl -a -d ata /dev/nvd0
Code:
bkwolfe@Packers:~ % sudo smartctl -a -d sat /dev/nvd0
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.0-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/nvd0 [SAT] failed: No such file or directory
bkwolfe@Packers:~ % sudo smartctl -a -d ata /dev/nvd0
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.0-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: Input/output error

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
bkwolfe@Packers:~ %
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
I don't expect SMART to work with an NVMe namespace. It's the device, with an nvmeX identifier, that should support SMART.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
As I said, you need to run SMART on the nvmeX device, not the nvdX devices.
 

Wolfeman0101

Patron
Joined
Jun 14, 2012
Messages
428
As I said, you need to run SMART on the nvmeX device, not the nvdX devices.
I actually found a bug report for something similar.

https://bugs.freenas.org/issues/15534

So it looks like smartctl -a /dev/nvme0 works.

Code:
bkwolfe@Packers:~ % sudo smartctl -a /dev/nvme0
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.0-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:					   Samsung SSD 960 EVO 500GB
Serial Number:					  S3EUNX0J405098T
Firmware Version:				   2B7QCXE7
PCI Vendor/Subsystem ID:			0x144d
IEEE OUI Identifier:				0x002538
Total NVM Capacity:				 500,107,862,016 [500 GB]
Unallocated NVM Capacity:		   0
Controller ID:					  2
Number of Namespaces:			   1
Namespace 1 Size/Capacity:		  500,107,862,016 [500 GB]
Namespace 1 Utilization:			52,315,418,624 [52.3 GB]
Namespace 1 Formatted LBA Size:	 512
Local Time is:					  Fri Oct  6 11:38:07 2017 PDT
Firmware Updates (0x16):			3 Slots, no Reset required
Optional Admin Commands (0x0007):   Security Format Frmw_DL
Optional NVM Commands (0x001f):	 Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat
Maximum Data Transfer Size:		 512 Pages
Warning  Comp. Temp. Threshold:	 77 Celsius
Critical Comp. Temp. Threshold:	 79 Celsius

Supported Power States
St Op	 Max   Active	 Idle   RL RT WL WT  Ent_Lat  Ex_Lat
0 +	 6.04W	   -		-	0  0  0  0		0	   0
1 +	 5.09W	   -		-	1  1  1  1		0	   0
2 +	 4.08W	   -		-	2  2  2  2		0	   0
3 -   0.0400W	   -		-	3  3  3  3	  210	1500
4 -   0.0050W	   -		-	4  4  4  4	 2200	6000

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
0 +	 512	   0		 0

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

SMART/Health Information (NVMe Log 0x02, NSID 0xffffffff)
Critical Warning:				   0x00
Temperature:						31 Celsius
Available Spare:					100%
Available Spare Threshold:		  10%
Percentage Used:					0%
Data Units Read:					2,819,198 [1.44 TB]
Data Units Written:				 6,868,310 [3.51 TB]
Host Read Commands:				 76,013,826
Host Write Commands:				113,014,462
Controller Busy Time:			   688
Power Cycles:					   4
Power On Hours:					 2,107
Unsafe Shutdowns:				   2
Media and Data Integrity Errors:	0
Error Information Log Entries:	  0
Warning  Comp. Temperature Time:	0
Critical Comp. Temperature Time:	0
Temperature Sensor 1:			   31 Celsius
Temperature Sensor 2:			   47 Celsius

Error Information (NVMe Log 0x01, max 64 entries)
No Errors Logged

bkwolfe@Packers:~ %


So I ran the email report and it gives me info now but not in the quick summary:

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  |WD-WCC4E2YZNDX7| 32 |17557|   25|	0|	  0|	  0|	   0|	 0|   N/A|   N/A|	N/A|   1|
|ada1  |WD-WCC7K0XNAULA| 32 | 1400|	2|	0|	  0|	  0|	   0|	 0|   N/A|   N/A|	N/A|   1|
|ada2  |WD-WCC4E5KJ3Y0L| 37 |17558|   25|	0|	  0|	  0|	   0|	 0|   N/A|   N/A|	N/A|   1|
|ada3  |WD-WCC4E1EFA9E6| 37 |17557|   25|	0|	  0|	  0|	   0|	 0|   N/A|   N/A|	N/A|   1|
|ada4  |WD-WCC4E6HZTD6X| 37 |  450|	3|	0|	  0|	  0|	   0|	 0|   N/A|   N/A|	N/A|   1|
|ada5  |WD-WCC4E7SD0Z2F| 36 |17558|   27|	0|	  0|	  0|	   0|	 0|   N/A|   N/A|	N/A|   1|
|nvme0 |S3EUNX0J405098T|  |	 |	 |	 |	   |	   |		|	  |   N/A|   N/A|	N/A|   0|
+------+---------------+----+-----+-----+-----+-------+-------+--------+------+------+------+-------+----+



########## SMART status report for ada0 drive (Western Digital Red: WD-WCC4E2YZNDX7) ##########
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.0-STABLE amd64] (local build)

SMART overall-health self-assessment test result: PASSED

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   191   184   021	Pre-fail  Always	   -	   7416
  4 Start_Stop_Count		0x0032   100   100   000	Old_age   Always	   -	   25
  5 Reallocated_Sector_Ct   0x0033   200   200   140	Pre-fail  Always	   -	   0
  7 Seek_Error_Rate		 0x002e   100   253   000	Old_age   Always	   -	   0
  9 Power_On_Hours		  0x0032   076   076   000	Old_age   Always	   -	   17557
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	   -	   25
192 Power-Off_Retract_Count 0x0032   200   200   000	Old_age   Always	   -	   17
193 Load_Cycle_Count		0x0032   200   200   000	Old_age   Always	   -	   498
194 Temperature_Celsius	 0x0022   120   095   000	Old_age   Always	   -	   32
196 Reallocated_Event_Count 0x0032   200   200   000	Old_age   Always	   -	   0
197 Current_Pending_Sector  0x0032   200   200   000	Old_age   Always	   -	   0
198 Offline_Uncorrectable   0x0030   100   253   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	  -	   0

No Errors Logged

Test_Description	Status				  Remaining  LifeTime(hours)  LBA_of_first_error
Short offline	   Completed without error	   00%	 17523		 -



########## SMART status report for ada1 drive (Western Digital Red: WD-WCC7K0XNAULA) ##########
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.0-STABLE amd64] (local build)

SMART overall-health self-assessment test result: PASSED

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   100   253   021	Pre-fail  Always	   -	   0
  4 Start_Stop_Count		0x0032   100   100   000	Old_age   Always	   -	   2
  5 Reallocated_Sector_Ct   0x0033   200   200   140	Pre-fail  Always	   -	   0
  7 Seek_Error_Rate		 0x002e   100   253   000	Old_age   Always	   -	   0
  9 Power_On_Hours		  0x0032   099   099   000	Old_age   Always	   -	   1400
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	   -	   2
192 Power-Off_Retract_Count 0x0032   200   200   000	Old_age   Always	   -	   0
193 Load_Cycle_Count		0x0032   200   200   000	Old_age   Always	   -	   6
194 Temperature_Celsius	 0x0022   118   110   000	Old_age   Always	   -	   32
196 Reallocated_Event_Count 0x0032   200   200   000	Old_age   Always	   -	   0
197 Current_Pending_Sector  0x0032   200   200   000	Old_age   Always	   -	   0
198 Offline_Uncorrectable   0x0030   100   253   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	  -	   0

No Errors Logged

Test_Description	Status				  Remaining  LifeTime(hours)  LBA_of_first_error
Short offline	   Completed without error	   00%	  1366		 -



########## SMART status report for ada2 drive (Western Digital Red: WD-WCC4E5KJ3Y0L) ##########
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.0-STABLE amd64] (local build)

SMART overall-health self-assessment test result: PASSED

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   196   187   021	Pre-fail  Always	   -	   7200
  4 Start_Stop_Count		0x0032   100   100   000	Old_age   Always	   -	   25
  5 Reallocated_Sector_Ct   0x0033   200   200   140	Pre-fail  Always	   -	   0
  7 Seek_Error_Rate		 0x002e   100   253   000	Old_age   Always	   -	   0
  9 Power_On_Hours		  0x0032   076   076   000	Old_age   Always	   -	   17558
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	   -	   25
192 Power-Off_Retract_Count 0x0032   200   200   000	Old_age   Always	   -	   17
193 Load_Cycle_Count		0x0032   200   200   000	Old_age   Always	   -	   475
194 Temperature_Celsius	 0x0022   115   092   000	Old_age   Always	   -	   37
196 Reallocated_Event_Count 0x0032   200   200   000	Old_age   Always	   -	   0
197 Current_Pending_Sector  0x0032   200   200   000	Old_age   Always	   -	   0
198 Offline_Uncorrectable   0x0030   100   253   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	  -	   0

No Errors Logged

Test_Description	Status				  Remaining  LifeTime(hours)  LBA_of_first_error
Short offline	   Completed without error	   00%	 17524		 -



########## SMART status report for ada3 drive (Western Digital Red: WD-WCC4E1EFA9E6) ##########
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.0-STABLE amd64] (local build)

SMART overall-health self-assessment test result: PASSED

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   193   185   021	Pre-fail  Always	   -	   7325
  4 Start_Stop_Count		0x0032   100   100   000	Old_age   Always	   -	   25
  5 Reallocated_Sector_Ct   0x0033   200   200   140	Pre-fail  Always	   -	   0
  7 Seek_Error_Rate		 0x002e   100   253   000	Old_age   Always	   -	   0
  9 Power_On_Hours		  0x0032   076   076   000	Old_age   Always	   -	   17557
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	   -	   25
192 Power-Off_Retract_Count 0x0032   200   200   000	Old_age   Always	   -	   17
193 Load_Cycle_Count		0x0032   200   200   000	Old_age   Always	   -	   494
194 Temperature_Celsius	 0x0022   115   093   000	Old_age   Always	   -	   37
196 Reallocated_Event_Count 0x0032   200   200   000	Old_age   Always	   -	   0
197 Current_Pending_Sector  0x0032   200   200   000	Old_age   Always	   -	   0
198 Offline_Uncorrectable   0x0030   100   253   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	  -	   0

No Errors Logged

Test_Description	Status				  Remaining  LifeTime(hours)  LBA_of_first_error
Short offline	   Completed without error	   00%	 17523		 -



########## SMART status report for ada4 drive (Western Digital Red: WD-WCC4E6HZTD6X) ##########
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.0-STABLE amd64] (local build)

SMART overall-health self-assessment test result: PASSED

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   100   253   021	Pre-fail  Always	   -	   0
  4 Start_Stop_Count		0x0032   100   100   000	Old_age   Always	   -	   3
  5 Reallocated_Sector_Ct   0x0033   200   200   140	Pre-fail  Always	   -	   0
  7 Seek_Error_Rate		 0x002e   100   253   000	Old_age   Always	   -	   0
  9 Power_On_Hours		  0x0032   100   100   000	Old_age   Always	   -	   450
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	   -	   3
192 Power-Off_Retract_Count 0x0032   200   200   000	Old_age   Always	   -	   1
193 Load_Cycle_Count		0x0032   200   200   000	Old_age   Always	   -	   27
194 Temperature_Celsius	 0x0022   115   107   000	Old_age   Always	   -	   37
196 Reallocated_Event_Count 0x0032   200   200   000	Old_age   Always	   -	   0
197 Current_Pending_Sector  0x0032   200   200   000	Old_age   Always	   -	   0
198 Offline_Uncorrectable   0x0030   100   253   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	  -	   0

No Errors Logged

Test_Description	Status				  Remaining  LifeTime(hours)  LBA_of_first_error
Short offline	   Completed without error	   00%	   415		 -



########## SMART status report for ada5 drive (Western Digital Red: WD-WCC4E7SD0Z2F) ##########
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.0-STABLE amd64] (local build)

SMART overall-health self-assessment test result: PASSED

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   193   184   021	Pre-fail  Always	   -	   7325
  4 Start_Stop_Count		0x0032   100   100   000	Old_age   Always	   -	   27
  5 Reallocated_Sector_Ct   0x0033   200   200   140	Pre-fail  Always	   -	   0
  7 Seek_Error_Rate		 0x002e   100   253   000	Old_age   Always	   -	   0
  9 Power_On_Hours		  0x0032   076   076   000	Old_age   Always	   -	   17558
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	   -	   27
192 Power-Off_Retract_Count 0x0032   200   200   000	Old_age   Always	   -	   18
193 Load_Cycle_Count		0x0032   200   200   000	Old_age   Always	   -	   476
194 Temperature_Celsius	 0x0022   116   096   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	   -	   0
198 Offline_Uncorrectable   0x0030   100   253   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	  -	   0

No Errors Logged

Test_Description	Status				  Remaining  LifeTime(hours)  LBA_of_first_error
Short offline	   Completed without error	   00%	 17524		 -



########## SMART status report for nvme0 drive (: S3EUNX0J405098T) ##########
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.0-STABLE amd64] (local build)

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

SMART/Health Information (NVMe Log 0x02, NSID 0xffffffff)
Critical Warning:				   0x00
Temperature:						32 Celsius
Available Spare:					100%
Available Spare Threshold:		  10%
Percentage Used:					0%
Data Units Read:					2,819,196 [1.44 TB]
Data Units Written:				 6,868,160 [3.51 TB]
Host Read Commands:				 76,013,727
Host Write Commands:				113,011,074
Controller Busy Time:			   688
Power Cycles:					   4
Power On Hours:					 2,107
Unsafe Shutdowns:				   2
Media and Data Integrity Errors:	0
Error Information Log Entries:	  0
Warning  Comp. Temperature Time:	0
Critical Comp. Temperature Time:	0
Temperature Sensor 1:			   32 Celsius
Temperature Sensor 2:			   48 Celsius

Error Information (NVMe Log 0x01, max 64 entries)
No Errors Logged



 
Top