Skip to content

Instantly share code, notes, and snippets.

@cathode
Created February 18, 2016 00:14
Show Gist options
  • Select an option

  • Save cathode/1803d50ea8594517a140 to your computer and use it in GitHub Desktop.

Select an option

Save cathode/1803d50ea8594517a140 to your computer and use it in GitHub Desktop.
root@zfs-primary:~ # smartctl -x /dev/ada0
smartctl 6.4 2015-06-04 r4109 [FreeBSD 10.2-RELEASE-p9 amd64] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Intel 730 and DC S3500/S3700 Series SSDs
Device Model: INTEL SSDSC2BB240G4
Serial Number: CVWL4226033L240NGN
LU WWN Device Id: 5 5cd2e4 04bc7ad54
Firmware Version: D2010370
User Capacity: 240,057,409,536 bytes [240 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2 T13/2015-D revision 3
SATA Version is: SATA 2.6, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Wed Feb 17 16:10:39 2016 PST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is: Unavailable
APM feature is: Unavailable
Rd look-ahead is: Enabled
Write cache is: Enabled
ATA Security is: Disabled, NOT FROZEN [SEC1]
Wt Cache Reorder: 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.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x79) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 2) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
5 Reallocated_Sector_Ct -O--CK 100 100 000 - 0
9 Power_On_Hours -O--CK 100 100 000 - 9747
12 Power_Cycle_Count -O--CK 100 100 000 - 39
170 Available_Reservd_Space PO--CK 100 100 010 - 0
171 Program_Fail_Count -O--CK 100 100 000 - 0
172 Erase_Fail_Count -O--CK 100 100 000 - 0
174 Unsafe_Shutdown_Count -O--CK 100 100 000 - 22
175 Power_Loss_Cap_Test PO--CK 100 100 010 - 641 (52 3000)
183 SATA_Downshift_Count -O--CK 100 100 000 - 0
184 End-to-End_Error PO--CK 100 100 090 - 0
187 Reported_Uncorrect -O--CK 100 100 000 - 0
190 Temperature_Case -O---K 078 078 000 - 22 (Min/Max 17/22)
192 Unsafe_Shutdown_Count -O--CK 100 100 000 - 22
194 Temperature_Internal -O---K 100 100 000 - 31
197 Current_Pending_Sector -O--CK 100 100 000 - 0
199 CRC_Error_Count -OSRCK 100 100 000 - 0
225 Host_Writes_32MiB -O--CK 100 100 000 - 7319065
226 Workld_Media_Wear_Indic -O--CK 100 100 000 - 30955
227 Workld_Host_Reads_Perc -O--CK 100 100 000 - 0
228 Workload_Minutes -O--CK 100 100 000 - 584660
232 Available_Reservd_Space PO--CK 100 100 010 - 0
233 Media_Wearout_Indicator -O--CK 070 070 000 - 0
234 Thermal_Throttle -O--CK 100 100 000 - 0/0
241 Host_Writes_32MiB -O--CK 100 100 000 - 7319065
242 Host_Reads_32MiB -O--CK 100 100 000 - 4740
||||||_ K auto-keep
|||||__ C event count
||||___ R error rate
|||____ S speed/performance
||_____ O updated online
|______ P prefailure warning
General Purpose Log Directory Version 1
SMART Log Directory Version 1 [multi-sector log support]
Address Access R/W Size Description
0x00 GPL,SL R/O 1 Log Directory
0x01 GPL,SL R/O 1 Summary SMART error log
0x02 GPL,SL R/O 8 Comprehensive SMART error log
0x03 GPL,SL R/O 20 Ext. Comprehensive SMART error log
0x04 GPL,SL R/O 8 Device Statistics log
0x06 GPL,SL R/O 1 SMART self-test log
0x07 GPL,SL R/O 2 Extended self-test log
0x09 GPL,SL R/W 1 Selective self-test log
0x10 GPL,SL R/O 1 SATA NCQ Queued Error log
0x11 GPL,SL R/O 1 SATA Phy Event Counters log
0x80-0x9f GPL,SL R/W 16 Host vendor specific log
0xb0 GPL,SL VS 1 Device vendor specific log
0xb1 GPL,SL VS 33 Device vendor specific log
0xdd GPL,SL VS 1 Device vendor specific log
0xde GPL VS 768 Device vendor specific log
0xdf GPL VS 1152 Device vendor specific log
0xdf SL VS 128 Device vendor specific log
0xe0 GPL,SL R/W 1 SCT Command/Status
0xe1 GPL,SL R/W 1 SCT Data Transfer
SMART Extended Comprehensive Error Log Version: 1 (20 sectors)
No Errors Logged
SMART Extended Self-test Log Version: 1 (2 sectors)
No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
SCT Status Version: 3
SCT Version (vendor specific): 1 (0x0001)
SCT Support Level: 0
Device State: Active (0)
Current Temperature: 22 Celsius
Power Cycle Min/Max Temperature: 17/22 Celsius
Lifetime Min/Max Temperature: 11/29 Celsius
Under/Over Temperature Limit Count: 0/0
Vendor specific:
00 00 5f 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SCT Temperature History Version: 2
Temperature Sampling Period: 1 minute
Temperature Logging Interval: 1 minute
Min/Max recommended Temperature: 0/70 Celsius
Min/Max Temperature Limit: 0/70 Celsius
Temperature History Size (Index): 478 (287)
Index Estimated Time Temperature Celsius
288 2016-02-17 08:13 21 **
... ..( 21 skipped). .. **
310 2016-02-17 08:35 21 **
311 2016-02-17 08:36 22 ***
... ..( 92 skipped). .. ***
404 2016-02-17 10:09 22 ***
405 2016-02-17 10:10 21 **
... ..( 4 skipped). .. **
410 2016-02-17 10:15 21 **
411 2016-02-17 10:16 22 ***
... ..( 41 skipped). .. ***
453 2016-02-17 10:58 22 ***
454 2016-02-17 10:59 21 **
455 2016-02-17 11:00 22 ***
456 2016-02-17 11:01 21 **
... ..( 6 skipped). .. **
463 2016-02-17 11:08 21 **
464 2016-02-17 11:09 22 ***
465 2016-02-17 11:10 22 ***
466 2016-02-17 11:11 22 ***
467 2016-02-17 11:12 21 **
468 2016-02-17 11:13 22 ***
469 2016-02-17 11:14 22 ***
470 2016-02-17 11:15 21 **
... ..( 39 skipped). .. **
32 2016-02-17 11:55 21 **
33 2016-02-17 11:56 22 ***
34 2016-02-17 11:57 21 **
... ..( 26 skipped). .. **
61 2016-02-17 12:24 21 **
62 2016-02-17 12:25 22 ***
... ..( 4 skipped). .. ***
67 2016-02-17 12:30 22 ***
68 2016-02-17 12:31 21 **
... ..(110 skipped). .. **
179 2016-02-17 14:22 21 **
180 2016-02-17 14:23 22 ***
... ..( 28 skipped). .. ***
209 2016-02-17 14:52 22 ***
210 2016-02-17 14:53 21 **
... ..( 25 skipped). .. **
236 2016-02-17 15:19 21 **
237 2016-02-17 15:20 22 ***
... ..( 2 skipped). .. ***
240 2016-02-17 15:23 22 ***
241 2016-02-17 15:24 21 **
... ..( 5 skipped). .. **
247 2016-02-17 15:30 21 **
248 2016-02-17 15:31 22 ***
... ..( 31 skipped). .. ***
280 2016-02-17 16:03 22 ***
281 2016-02-17 16:04 21 **
... ..( 2 skipped). .. **
284 2016-02-17 16:07 21 **
285 2016-02-17 16:08 22 ***
286 2016-02-17 16:09 22 ***
287 2016-02-17 16:10 22 ***
SCT Error Recovery Control:
Read: Disabled
Write: Disabled
Device Statistics (GP Log 0x04)
Page Offset Size Value Flags Description
0x01 ===== = = === == General Statistics (rev 2) ==
0x01 0x008 4 39 --- Lifetime Power-On Resets
0x01 0x018 6 479662246428 --- Logical Sectors Written
0x01 0x020 6 3754186568 --- Number of Write Commands
0x01 0x028 6 310661334 --- Logical Sectors Read
0x01 0x030 6 19370761 --- Number of Read Commands
0x04 ===== = = === == General Errors Statistics (rev 1) ==
0x04 0x008 4 0 --- Number of Reported Uncorrectable Errors
0x04 0x010 4 0 --- Resets Between Cmd Acceptance and Completion
0x05 ===== = = === == Temperature Statistics (rev 1) ==
0x05 0x008 1 22 --- Current Temperature
0x05 0x010 1 21 --- Average Short Term Temperature
0x05 0x018 1 21 --- Average Long Term Temperature
0x05 0x020 1 29 --- Highest Temperature
0x05 0x028 1 11 --- Lowest Temperature
0x05 0x030 1 26 --- Highest Average Short Term Temperature
0x05 0x038 1 14 --- Lowest Average Short Term Temperature
0x05 0x040 1 22 --- Highest Average Long Term Temperature
0x05 0x048 1 17 --- Lowest Average Long Term Temperature
0x05 0x050 4 0 --- Time in Over-Temperature
0x05 0x058 1 70 --- Specified Maximum Operating Temperature
0x05 0x060 4 0 --- Time in Under-Temperature
0x05 0x068 1 0 --- Specified Minimum Operating Temperature
0x06 ===== = = === == Transport Statistics (rev 1) ==
0x06 0x008 4 705 --- Number of Hardware Resets
0x06 0x010 4 273 --- Number of ASR Events
0x06 0x018 4 0 --- Number of Interface CRC Errors
0x07 ===== = = === == Solid State Device Statistics (rev 1) ==
0x07 0x008 1 30 --- Percentage Used Endurance Indicator
|||_ C monitored condition met
||__ D supports DSN
|___ N normalized value
SATA Phy Event Counters (GP Log 0x11)
ID Size Value Description
0x0001 4 0 Command failed due to ICRC error
0x0003 4 0 R_ERR response for device-to-host data FIS
0x0004 4 0 R_ERR response for host-to-device data FIS
0x0006 4 0 R_ERR response for device-to-host non-data FIS
0x000a 4 15 Device-to-host register FISes sent due to a COMRESET
0x000b 4 0 CRC errors within host-to-device FIS
0x000d 4 0 Non-CRC errors within host-to-device FIS
root@zfs-primary:~ # smartctl -x /dev/ada1
smartctl 6.4 2015-06-04 r4109 [FreeBSD 10.2-RELEASE-p9 amd64] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Intel 730 and DC S3500/S3700 Series SSDs
Device Model: INTEL SSDSC2BB240G4
Serial Number: BTWL4225030V240NGN
LU WWN Device Id: 5 5cd2e4 04b655925
Firmware Version: D2010370
User Capacity: 240,057,409,536 bytes [240 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2 T13/2015-D revision 3
SATA Version is: SATA 2.6, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Wed Feb 17 16:10:47 2016 PST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is: Unavailable
APM feature is: Unavailable
Rd look-ahead is: Enabled
Write cache is: Enabled
ATA Security is: Disabled, NOT FROZEN [SEC1]
Wt Cache Reorder: 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.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x79) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 2) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
5 Reallocated_Sector_Ct -O--CK 100 100 000 - 0
9 Power_On_Hours -O--CK 100 100 000 - 8086
12 Power_Cycle_Count -O--CK 100 100 000 - 27
170 Available_Reservd_Space PO--CK 100 100 010 - 0
171 Program_Fail_Count -O--CK 100 100 000 - 0
172 Erase_Fail_Count -O--CK 100 100 000 - 0
174 Unsafe_Shutdown_Count -O--CK 100 100 000 - 17
175 Power_Loss_Cap_Test PO--CK 100 100 010 - 665 (44 3001)
183 SATA_Downshift_Count -O--CK 100 100 000 - 0
184 End-to-End_Error PO--CK 100 100 090 - 0
187 Reported_Uncorrect -O--CK 100 100 000 - 0
190 Temperature_Case -O---K 077 077 000 - 23 (Min/Max 18/24)
192 Unsafe_Shutdown_Count -O--CK 100 100 000 - 17
194 Temperature_Internal -O---K 100 100 000 - 32
197 Current_Pending_Sector -O--CK 100 100 000 - 0
199 CRC_Error_Count -OSRCK 100 100 000 - 0
225 Host_Writes_32MiB -O--CK 100 100 000 - 374853
226 Workld_Media_Wear_Indic -O--CK 100 100 000 - 1843
227 Workld_Host_Reads_Perc -O--CK 100 100 000 - 35
228 Workload_Minutes -O--CK 100 100 000 - 485019
232 Available_Reservd_Space PO--CK 100 100 010 - 0
233 Media_Wearout_Indicator -O--CK 099 099 000 - 0
234 Thermal_Throttle -O--CK 100 100 000 - 0/0
241 Host_Writes_32MiB -O--CK 100 100 000 - 374853
242 Host_Reads_32MiB -O--CK 100 100 000 - 208648
||||||_ K auto-keep
|||||__ C event count
||||___ R error rate
|||____ S speed/performance
||_____ O updated online
|______ P prefailure warning
General Purpose Log Directory Version 1
SMART Log Directory Version 1 [multi-sector log support]
Address Access R/W Size Description
0x00 GPL,SL R/O 1 Log Directory
0x01 GPL,SL R/O 1 Summary SMART error log
0x02 GPL,SL R/O 8 Comprehensive SMART error log
0x03 GPL,SL R/O 20 Ext. Comprehensive SMART error log
0x04 GPL,SL R/O 8 Device Statistics log
0x06 GPL,SL R/O 1 SMART self-test log
0x07 GPL,SL R/O 2 Extended self-test log
0x09 GPL,SL R/W 1 Selective self-test log
0x10 GPL,SL R/O 1 SATA NCQ Queued Error log
0x11 GPL,SL R/O 1 SATA Phy Event Counters log
0x80-0x9f GPL,SL R/W 16 Host vendor specific log
0xb0 GPL,SL VS 1 Device vendor specific log
0xb1 GPL,SL VS 33 Device vendor specific log
0xdd GPL,SL VS 1 Device vendor specific log
0xde GPL VS 768 Device vendor specific log
0xdf GPL VS 1152 Device vendor specific log
0xdf SL VS 128 Device vendor specific log
0xe0 GPL,SL R/W 1 SCT Command/Status
0xe1 GPL,SL R/W 1 SCT Data Transfer
SMART Extended Comprehensive Error Log Version: 1 (20 sectors)
No Errors Logged
SMART Extended Self-test Log Version: 1 (2 sectors)
No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
SCT Status Version: 3
SCT Version (vendor specific): 1 (0x0001)
SCT Support Level: 0
Device State: Active (0)
Current Temperature: 23 Celsius
Power Cycle Min/Max Temperature: 18/24 Celsius
Lifetime Min/Max Temperature: 10/27 Celsius
Under/Over Temperature Limit Count: 0/0
Vendor specific:
00 00 63 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SCT Temperature History Version: 2
Temperature Sampling Period: 1 minute
Temperature Logging Interval: 1 minute
Min/Max recommended Temperature: 0/70 Celsius
Min/Max Temperature Limit: 0/70 Celsius
Temperature History Size (Index): 478 (43)
Index Estimated Time Temperature Celsius
44 2016-02-17 08:13 23 ****
... ..( 84 skipped). .. ****
129 2016-02-17 09:38 23 ****
130 2016-02-17 09:39 24 *****
131 2016-02-17 09:40 24 *****
132 2016-02-17 09:41 23 ****
... ..( 58 skipped). .. ****
191 2016-02-17 10:40 23 ****
192 2016-02-17 10:41 24 *****
193 2016-02-17 10:42 23 ****
... ..(204 skipped). .. ****
398 2016-02-17 14:07 23 ****
399 2016-02-17 14:08 24 *****
400 2016-02-17 14:09 23 ****
... ..(120 skipped). .. ****
43 2016-02-17 16:10 23 ****
SCT Error Recovery Control:
Read: Disabled
Write: Disabled
Device Statistics (GP Log 0x04)
Page Offset Size Value Flags Description
0x01 ===== = = === == General Statistics (rev 2) ==
0x01 0x008 4 27 --- Lifetime Power-On Resets
0x01 0x018 6 24566410094 --- Logical Sectors Written
0x01 0x020 6 199452026 --- Number of Write Commands
0x01 0x028 6 13673989576 --- Logical Sectors Read
0x01 0x030 6 149098248 --- Number of Read Commands
0x04 ===== = = === == General Errors Statistics (rev 1) ==
0x04 0x008 4 0 --- Number of Reported Uncorrectable Errors
0x04 0x010 4 0 --- Resets Between Cmd Acceptance and Completion
0x05 ===== = = === == Temperature Statistics (rev 1) ==
0x05 0x008 1 23 --- Current Temperature
0x05 0x010 1 23 --- Average Short Term Temperature
0x05 0x018 1 22 --- Average Long Term Temperature
0x05 0x020 1 27 --- Highest Temperature
0x05 0x028 1 15 --- Lowest Temperature
0x05 0x030 1 25 --- Highest Average Short Term Temperature
0x05 0x038 1 17 --- Lowest Average Short Term Temperature
0x05 0x040 1 23 --- Highest Average Long Term Temperature
0x05 0x048 1 20 --- Lowest Average Long Term Temperature
0x05 0x050 4 0 --- Time in Over-Temperature
0x05 0x058 1 70 --- Specified Maximum Operating Temperature
0x05 0x060 4 0 --- Time in Under-Temperature
0x05 0x068 1 0 --- Specified Minimum Operating Temperature
0x06 ===== = = === == Transport Statistics (rev 1) ==
0x06 0x008 4 469 --- Number of Hardware Resets
0x06 0x010 4 221 --- Number of ASR Events
0x06 0x018 4 0 --- Number of Interface CRC Errors
0x07 ===== = = === == Solid State Device Statistics (rev 1) ==
0x07 0x008 1 1 --- Percentage Used Endurance Indicator
|||_ C monitored condition met
||__ D supports DSN
|___ N normalized value
SATA Phy Event Counters (GP Log 0x11)
ID Size Value Description
0x0001 4 0 Command failed due to ICRC error
0x0003 4 0 R_ERR response for device-to-host data FIS
0x0004 4 0 R_ERR response for host-to-device data FIS
0x0006 4 0 R_ERR response for device-to-host non-data FIS
0x000a 4 15 Device-to-host register FISes sent due to a COMRESET
0x000b 4 0 CRC errors within host-to-device FIS
0x000d 4 0 Non-CRC errors within host-to-device FIS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment