linux:check-ssd-health
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:check-ssd-health [2020/04/25 23:05] – odefta | linux:check-ssd-health [2023/07/04 16:36] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Check SSD health on linux ====== | ====== Check SSD health on linux ====== | ||
| + | |||
| + | Important to check (value 100 is ideal - it will decrease under 100 over time): \\ | ||
| + | * **Power_On_Hours** - how many hours the drive has been powered on | ||
| + | * **Wear_Leveling_Count** - remaining drive endurance | ||
| Short test: \\ | Short test: \\ | ||
| Line 109: | Line 113: | ||
| </ | </ | ||
| - | See test results: \\ | + | See test results |
| < | < | ||
| smartctl -a /dev/sdc | smartctl -a /dev/sdc | ||
| + | </ | ||
| + | |||
| + | Output: \\ | ||
| + | < | ||
| + | smartctl 7.0 2018-12-30 r4883 [x86_64-linux-3.10.0-1062.18.1.el7.x86_64] (local build) | ||
| + | Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org | ||
| + | | ||
| + | === START OF INFORMATION SECTION === | ||
| + | Model Family: | ||
| + | Device Model: | ||
| + | Serial Number: | ||
| + | LU WWN Device Id: 5 002538 da035439d | ||
| + | Firmware Version: EMT01B6Q | ||
| + | User Capacity: | ||
| + | Sector Size: 512 bytes logical/ | ||
| + | Rotation Rate: Solid State Device | ||
| + | Device is: In smartctl database [for details use: -P show] | ||
| + | ATA Version is: | ||
| + | SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s) | ||
| + | Local Time is: Sun Apr 26 02:04:22 2020 EEST | ||
| + | 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: | ||
| + | was never started. | ||
| + | Auto Offline Data Collection: Disabled. | ||
| + | Self-test execution status: | ||
| + | without error or no self-test has ever | ||
| + | been run. | ||
| + | Total time to complete Offline | ||
| + | data collection: | ||
| + | Offline data collection | ||
| + | capabilities: | ||
| + | Auto Offline data collection on/off support. | ||
| + | Suspend Offline collection upon new | ||
| + | command. | ||
| + | No Offline surface scan supported. | ||
| + | Self-test supported. | ||
| + | No Conveyance Self-test supported. | ||
| + | Selective Self-test supported. | ||
| + | SMART capabilities: | ||
| + | power-saving mode. | ||
| + | Supports SMART auto save timer. | ||
| + | Error logging capability: | ||
| + | General Purpose Logging supported. | ||
| + | Short self-test routine | ||
| + | recommended polling time: ( 2) minutes. | ||
| + | Extended self-test routine | ||
| + | recommended polling time: ( 133) minutes. | ||
| + | SCT capabilities: | ||
| + | [root@medjavaro ~]# smartctl -a /dev/sdc | ||
| + | smartctl 7.0 2018-12-30 r4883 [x86_64-linux-3.10.0-1062.18.1.el7.x86_64] (local build) | ||
| + | Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org | ||
| + | |||
| + | === START OF INFORMATION SECTION === | ||
| + | Model Family: | ||
| + | Device Model: | ||
| + | Serial Number: | ||
| + | LU WWN Device Id: 5 002538 da035439d | ||
| + | Firmware Version: EMT01B6Q | ||
| + | User Capacity: | ||
| + | Sector Size: 512 bytes logical/ | ||
| + | Rotation Rate: Solid State Device | ||
| + | Device is: In smartctl database [for details use: -P show] | ||
| + | ATA Version is: | ||
| + | SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s) | ||
| + | Local Time is: Sun Apr 26 02:05:56 2020 EEST | ||
| + | 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: | ||
| + | was never started. | ||
| + | Auto Offline Data Collection: Disabled. | ||
| + | Self-test execution status: | ||
| + | without error or no self-test has ever | ||
| + | been run. | ||
| + | Total time to complete Offline | ||
| + | data collection: | ||
| + | Offline data collection | ||
| + | capabilities: | ||
| + | Auto Offline data collection on/off support. | ||
| + | Suspend Offline collection upon new | ||
| + | command. | ||
| + | No Offline surface scan supported. | ||
| + | Self-test supported. | ||
| + | No Conveyance Self-test supported. | ||
| + | Selective Self-test supported. | ||
| + | SMART capabilities: | ||
| + | power-saving mode. | ||
| + | Supports SMART auto save timer. | ||
| + | Error logging capability: | ||
| + | General Purpose Logging supported. | ||
| + | Short self-test routine | ||
| + | recommended polling time: ( 2) minutes. | ||
| + | Extended self-test routine | ||
| + | recommended polling time: ( 133) minutes. | ||
| + | SCT capabilities: | ||
| + | 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 | ||
| + | 5 Reallocated_Sector_Ct | ||
| + | 9 Power_On_Hours | ||
| + | 12 Power_Cycle_Count | ||
| + | 177 Wear_Leveling_Count | ||
| + | 179 Used_Rsvd_Blk_Cnt_Tot | ||
| + | 181 Program_Fail_Cnt_Total | ||
| + | 182 Erase_Fail_Count_Total | ||
| + | 183 Runtime_Bad_Block | ||
| + | 187 Uncorrectable_Error_Cnt 0x0032 | ||
| + | 190 Airflow_Temperature_Cel 0x0032 | ||
| + | 195 ECC_Error_Rate | ||
| + | 199 CRC_Error_Count | ||
| + | 235 POR_Recovery_Count | ||
| + | 241 Total_LBAs_Written | ||
| + | | ||
| + | SMART Error Log Version: 1 | ||
| + | No Errors Logged | ||
| + | | ||
| + | Warning! SMART Self-Test Log Structure error: invalid SMART checksum. | ||
| + | SMART Self-test log structure revision number 1 | ||
| + | Num Test_Description | ||
| + | # 1 Short offline | ||
| + | | ||
| + | Warning! SMART Selective Self-Test Log Structure error: invalid SMART checksum. | ||
| + | SMART Selective self-test log data structure revision number 1 | ||
| + | | ||
| + | 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 | ||
| + | 255 0 65535 Read_scanning was never started | ||
| + | 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. | ||
| </ | </ | ||
linux/check-ssd-health.1587855939.txt.gz · Last modified: (external edit)
