Skip to content

Instantly share code, notes, and snippets.

@levifig
Created July 15, 2019 22:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save levifig/348e4f4484d2cba04149ac61aac8079b to your computer and use it in GitHub Desktop.
Save levifig/348e4f4484d2cba04149ac61aac8079b to your computer and use it in GitHub Desktop.
# smartctl -ax /dev/disk/by-id/ata-SSDSC2BB480G4I_00AJ471_00AJ474IBM_BTWL344503JM480QGN
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.18-16-pve] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: SSDSC2BB480G4I 00AJ471 00AJ474IBM
Serial Number: BTWL344503JM480QGN
LU WWN Device Id: 5 5cd2e4 04b515799
Firmware Version: D201NB34
User Capacity: 480,103,981,056 bytes [480 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 T13/1699-D revision 4
SATA Version is: SATA 2.6, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon Jul 1 02:18:15 2019 CDT
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
1 Raw_Read_Error_Rate POSR-- 130 130 039 - 6544
5 Reallocated_Sector_Ct PO--CK 097 097 001 - 0
9 Power_On_Hours -O--CK 100 100 000 - 9176
12 Power_Cycle_Count -O--CK 100 100 000 - 39
13 Read_Soft_Error_Rate -OSRC- 130 100 000 - 6544
100 Unknown_Attribute -O--CK 100 100 000 - 162898
170 Unknown_Attribute PO--CK 100 100 010 - 5970
171 Unknown_Attribute -O--CK 100 100 000 - 0
172 Unknown_Attribute -O--CK 100 100 000 - 0
173 Unknown_Attribute -O--CK 090 090 000 - 657150115840
174 Unknown_Attribute -O--CK 100 100 000 - 25
177 Wear_Leveling_Count -O--CK 001 001 --- - 657150115840
184 End-to-End_Error PO--CK 100 100 000 - 0
187 Reported_Uncorrect -O--CK 100 100 000 - 0
188 Command_Timeout -O--CK 100 100 000 - 0
190 Airflow_Temperature_Cel -OS--K 071 069 029 - 29 (Min/Max 21/47)
192 Power-Off_Retract_Count -O--CK 100 100 000 - 25
194 Temperature_Celsius -O---K 100 100 000 - 18
195 Hardware_ECC_Recovered -O-RC- 100 100 000 - 234851947
196 Reallocated_Event_Count PO--CK 100 100 010 - 0
197 Current_Pending_Sector -O--C- 100 100 000 - 0
198 Offline_Uncorrectable ----C- 100 100 000 - 0
199 UDMA_CRC_Error_Count -OSRCK 100 100 000 - 0
231 Temperature_Celsius PO--CK 091 091 010 - 0
232 Available_Reservd_Space PO--CK 100 100 010 - 128751312
233 Media_Wearout_Indicator PO--CK 091 091 001 - 0
235 Unknown_Attribute PO--CK 100 100 001 - 620
237 Unknown_Attribute -O--CK 100 100 000 - 1602026078828
241 Total_LBAs_Written -O--CK 100 100 000 - 2377652
242 Total_LBAs_Read -O--CK 100 100 000 - 1029736
||||||_ 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
0xd1 GPL VS 13056 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 Error Log Version: 1
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 Self-test log structure revision number 1
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: 18 Celsius
Power Cycle Min/Max Temperature: 17/20 Celsius
Lifetime Min/Max Temperature: 10/36 Celsius
Under/Over Temperature Limit Count: 0/0
Vendor specific:
00 00 60 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 (453)
Index Estimated Time Temperature Celsius
454 2019-06-30 18:21 17 -
... ..(102 skipped). .. -
79 2019-06-30 20:04 17 -
80 2019-06-30 20:05 18 -
... ..(233 skipped). .. -
314 2019-06-30 23:59 18 -
315 2019-07-01 00:00 19 -
316 2019-07-01 00:01 19 -
317 2019-07-01 00:02 18 -
... ..( 18 skipped). .. -
336 2019-07-01 00:21 18 -
337 2019-07-01 00:22 19 -
338 2019-07-01 00:23 19 -
339 2019-07-01 00:24 18 -
... ..( 18 skipped). .. -
358 2019-07-01 00:43 18 -
359 2019-07-01 00:44 19 -
... ..( 56 skipped). .. -
416 2019-07-01 01:41 19 -
417 2019-07-01 01:42 18 -
... ..( 8 skipped). .. -
426 2019-07-01 01:51 18 -
427 2019-07-01 01:52 19 -
428 2019-07-01 01:53 18 -
... ..( 24 skipped). .. -
453 2019-07-01 02:18 18 -
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 155821835157 --- Logical Sectors Written
0x01 0x020 6 0 --- Number of Write Commands
0x01 0x028 6 67484828568 --- Logical Sectors Read
0x01 0x030 6 246 --- 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 18 --- Current Temperature
0x05 0x010 1 17 --- Average Short Term Temperature
0x05 0x018 1 19 --- Average Long Term Temperature
0x05 0x020 1 36 --- Highest Temperature
0x05 0x028 1 15 --- Lowest Temperature
0x05 0x030 1 25 --- Highest Average Short Term Temperature
0x05 0x038 1 15 --- Lowest Average Short Term Temperature
0x05 0x040 1 20 --- Highest Average Long Term Temperature
0x05 0x048 1 16 --- 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 136 --- Number of Hardware Resets
0x06 0x010 4 106 --- Number of ASR Events
0x06 0x018 4 0 --- Number of Interface CRC Errors
0x07 ===== = = === == Solid State Device Statistics (rev 1) ==
0x07 0x008 1 9 --- 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 2 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