{"id":137,"date":"2007-05-15T18:32:00","date_gmt":"2007-05-15T18:32:00","guid":{"rendered":"http:\/\/blog.trungson.com\/?p=137"},"modified":"2007-05-15T18:32:00","modified_gmt":"2007-05-15T18:32:00","slug":"smartctl-for-ata-drives","status":"publish","type":"post","link":"http:\/\/blog.trungson.com\/?p=137","title":{"rendered":"smartctl for ATA drives"},"content":{"rendered":"<p>If you get this error that device is not supported by running the default command<br \/>\n<textarea name=\"code\" class=\"xml\"><br \/>\n[root@s4 downloads]# smartctl -a \/dev\/sda<br \/>\nsmartctl version 5.33 [i686-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen<br \/>\nHome page is http:\/\/smartmontools.sourceforge.net\/<\/p>\n<p>Device: ATA      WDC WD800JD-60LS Version: 07.0<br \/>\nSerial number:      WD-WMAM9F764913<br \/>\nDevice type: disk<br \/>\nLocal Time is: Tue May 15 13:12:49 2007 CDT<br \/>\nDevice does not support SMART<br \/>\nRequest Sense failed, [Input\/output error]<\/p>\n<p>Error Counter logging not supported<\/p>\n<p>Error Events logging not supported<\/p>\n<p>[GLTSD (Global Logging Target Save Disable) set. Enable Save with &#8216;-S on&#8217;]<br \/>\nDevice does not support Self Test logging<br \/>\n<\/textarea><\/p>\n<p>Solution: add &#8220;-d ata&#8221; switch<br \/>\n<textarea name=\"code\" class=\"xml\"><br \/>\n[root@s4 downloads]# smartctl -d ata -a \/dev\/sda<br \/>\nsmartctl version 5.33 [i686-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen<br \/>\nHome page is http:\/\/smartmontools.sourceforge.net\/<\/p>\n<p>=== START OF INFORMATION SECTION ===<br \/>\nDevice Model:     WDC WD800JD-60LSA0<br \/>\nSerial Number:    WD-WMAM9F764913<br \/>\nFirmware Version: 07.01D07<br \/>\nUser Capacity:    80,026,361,856 bytes<br \/>\nDevice is:        In smartctl database [for details use: -P show]<br \/>\nATA Version is:   7<br \/>\nATA Standard is:  Exact ATA specification draft version not indicated<br \/>\nLocal Time is:    Tue May 15 13:19:16 2007 CDT<br \/>\nSMART support is: Available &#8211; device has SMART capability.<br \/>\nSMART support is: Enabled<\/p>\n<p>=== START OF READ SMART DATA SECTION ===<br \/>\nSMART overall-health self-assessment test result: PASSED<\/p>\n<p>General SMART Values:<br \/>\nOffline data collection status:  (0x84) Offline data collection activity<br \/>\n                                        was suspended by an interrupting command from host.<br \/>\n                                        Auto Offline Data Collection: Enabled.<br \/>\nSelf-test execution status:      (   0) The previous self-test routine completed<br \/>\n                                        without error or no self-test has ever<br \/>\n                                        been run.<br \/>\nTotal time to complete Offline<br \/>\ndata collection:                 (2460) seconds.<br \/>\nOffline data collection<br \/>\ncapabilities:                    (0x7b) SMART execute Offline immediate.<br \/>\n                                        Auto Offline data collection on\/off support.<br \/>\n                                        Suspend Offline collection upon new<br \/>\n                                        command.<br \/>\n                                        Offline surface scan supported.<br \/>\n                                        Self-test supported.<br \/>\n                                        Conveyance Self-test supported.<br \/>\n                                        Selective Self-test supported.<br \/>\nSMART capabilities:            (0x0003) Saves SMART data before entering<br \/>\n                                        power-saving mode.<br \/>\n                                        Supports SMART auto save timer.<br \/>\nError logging capability:        (0x01) Error logging supported.<br \/>\n                                        General Purpose Logging supported.<br \/>\nShort self-test routine<br \/>\nrecommended polling time:        (   2) minutes.<br \/>\nExtended self-test routine<br \/>\nrecommended polling time:        (  33) minutes.<br \/>\nConveyance self-test routine<br \/>\nrecommended polling time:        (   5) minutes.<\/p>\n<p>SMART Attributes Data Structure revision number: 16<br \/>\nVendor Specific SMART Attributes with Thresholds:<br \/>\nID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE<br \/>\n  1 Raw_Read_Error_Rate     0x000f   200   200   051    Pre-fail  Always       &#8211;       0<br \/>\n  3 Spin_Up_Time            0x0003   175   172   021    Pre-fail  Always       &#8211;       2225<br \/>\n  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       &#8211;       17<br \/>\n  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       &#8211;       0<br \/>\n  7 Seek_Error_Rate         0x000f   200   200   051    Pre-fail  Always       &#8211;       0<br \/>\n  9 Power_On_Hours          0x0032   090   089   000    Old_age   Always       &#8211;       7761<br \/>\n 10 Spin_Retry_Count        0x0013   100   253   051    Pre-fail  Always       &#8211;       0<br \/>\n 11 Calibration_Retry_Count 0x0012   100   253   051    Old_age   Always       &#8211;       0<br \/>\n 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       &#8211;       17<br \/>\n190 Unknown_Attribute       0x0022   062   055   045    Old_age   Always       &#8211;       38<br \/>\n194 Temperature_Celsius     0x0022   105   098   000    Old_age   Always       &#8211;       38<br \/>\n196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       &#8211;       0<br \/>\n197 Current_Pending_Sector  0x0012   200   200   000    Old_age   Always       &#8211;       0<br \/>\n198 Offline_Uncorrectable   0x0010   200   200   000    Old_age   Offline      &#8211;       0<br \/>\n199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       &#8211;       0<br \/>\n200 Multi_Zone_Error_Rate   0x0009   200   200   051    Pre-fail  Offline      &#8211;       0<\/p>\n<p>SMART Error Log Version: 1<br \/>\nNo Errors Logged<\/p>\n<p>SMART Self-test log structure revision number 1<br \/>\nNum  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error<br \/>\n# 1  Extended offline    Aborted by host               50%         1         &#8211;<\/p>\n<p>SMART Selective self-test log data structure revision number 1<br \/>\n SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS<br \/>\n    1        0        0  Not_testing<br \/>\n    2        0        0  Not_testing<br \/>\n    3        0        0  Not_testing<br \/>\n    4        0        0  Not_testing<br \/>\n    5        0        0  Not_testing<br \/>\nSelective self-test flags (0x0):<br \/>\n  After scanning selected spans, do NOT read-scan remainder of disk.<br \/>\nIf Selective self-test is pending on power-up, resume after 0 minute delay.<br \/>\n<\/textarea><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you get this error that device is not supported by running the default command [root@s4 downloads]# smartctl -a \/dev\/sda smartctl version 5.33 [i686-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen Home page is http:\/\/smartmontools.sourceforge.net\/ Device: ATA WDC WD800JD-60LS Version: 07.0 Serial number: WD-WMAM9F764913 Device type: disk Local Time is: Tue May 15 13:12:49 2007 CDT Device [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/137"}],"collection":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=137"}],"version-history":[{"count":0,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/137\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=137"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}