oreorentals.blogg.se

Linux ssd health
Linux ssd health












linux ssd health
  1. Linux ssd health install#
  2. Linux ssd health Offline#

It "wraps" after 49.710 days.Ĭommands leading to the command that caused the error were:ĬR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_NameĢ5 da 08 e7 e5 a5 4c 00 00:30:44.515 READ DMA EXTĢ5 da 08 df e5 a5 4c 00 00:30:44.514 READ DMA EXTĢ5 da 80 5f e5 a5 4c 00 00:30:44.502 READ DMA EXTĢ5 da f0 5f e6 a5 4c 00 00:30:44.496 READ DMA EXTĢ5 da 10 4f e6 a5 4c 00 00:30:44.Hard disk drive and SSD health inspection tool Powered_Up_Time is measured from power on, and printed asĭDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes, Example:9 Display Error logs of the disk :~# smartctl -l error /dev/sdb SCT capabilities: (0x103b) SCT Status supported. Recommended polling time: ( 102) minutes. SMART capabilities: (0x0003) Saves SMART data before enteringĮrror logging capability: (0x01) Error logging supported.

Linux ssd health Offline#

Self-test execution status: ( 121) The previous self-test completed havingĬapabilities: (0x73) SMART execute Offline immediate.Īuto Offline data collection on/off support. Offline data collection status: (0x00) Offline data collection activity # 2 Extended offline Completed: read failure 90% 492 210841222 Example:8 Calculate Estimate time to perform test :~# smartctl -c /dev/sdb # 1 Short offline Completed: read failure 90% 492 210841222 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error SMART Self-test log structure revision number 1 Example:7 To View Drive’s Self Test result :~# smartctl -l selftest /dev/sdb Note : Short test will take maximum 2 minutes whereas in long test there is no time restriction because it read & verify every segment of the entire disk. OR :~# smartctl -test=short /dev/sdb > /var/log/short.text Test will complete after Sun Nov 16 12:51:45 2014 Please wait 1 minutes for test to complete. Sending command: "Execute SMART Short self-test routine immediately in off-line mode".ĭrive command "Execute SMART Short self-test routine immediately in off-line mode" successful.

linux ssd health

Short Test :~# smartctl -test=short /dev/sdb OR We can redirect test output to a log file, as shown below :~# smartctl -test=long /dev/sdb > /var/log/long.text Test will complete after Sun Nov 16 14:29:43 2014 Please wait 102 minutes for test to complete. Sending command: "Execute SMART Extended self-test routine immediately in off-line mode".ĭrive command "Execute SMART Extended self-test routine immediately in off-line mode" successful. Long Test :~# smartctl -test=long /dev/sdbĬopyright (C) 2002-13, Bruce Allen, Christian Franke, = START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION = ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUEġ90 Airflow_Temperature_Cel 0x0022 067 045 045 Old_age Always In_the_past 33 (Min/Max 25/33) Example:6 Test Hard drive using long & short option. Please note the following marginal Attributes: Warning: This result is based on an Attribute check. SMART overall-health self-assessment test result: PASSED

linux ssd health linux ssd health

:~# smartctl -a -d ata /dev/sdb // For SATA drive Example:5 Display Overall health of the Disk :~# smartctl -H /dev/sdbĬopyright (C) 2002-13, Bruce Allen, Christian Franke, = START OF READ SMART DATA SECTION = Example:4 Display Detailed Smart info for the disk :~# smartctl -a /dev/sdb // For IDE drive Use option -s with argument 'on' to enable it. Example:3 Disable Smart Capability for the disk :~# smartctl -s off /dev/sdb Last Two lines in above output shows that SMART capability is enable for the device.Įxample:2 Enable Smart Capability for the disk :~# smartctl -s on /dev/sdbĬopyright (C) 2002-13, Bruce Allen, Christian Franke, = START OF ENABLE/DISABLE COMMANDS SECTION = SMART support is: Available - device has SMART capability. User Capacity: 320,072,933,376 bytes ĭevice is: In smartctl database ĪTA Version is: ATA8-ACS T13/1699-D revision 4 Smartctl 6.2 r3841 (local build)Ĭopyright (C) 2002-13, Bruce Allen, Christian Franke, = START OF INFORMATION SECTION =

Linux ssd health install#

Installation of Smartcl in Ubuntu $ sudo apt-get install smartmontools Installation of Smartcl in Redhat / CentOS # yum install smartmontoolsįor Ubuntu $ sudo /etc/init.d/smartmontools startįor CentOS & RHEL # service smartd start chkconfig smartd on Example:1 Check Whether Smart Capability is enabled or not for the disk :~# smartctl -i /dev/sdb














Linux ssd health