{"id":387,"date":"2016-05-31T15:24:10","date_gmt":"2016-05-31T06:24:10","guid":{"rendered":"http:\/\/alprovs.dip.jp\/wordpress\/?p=387"},"modified":"2021-08-19T08:10:41","modified_gmt":"2021-08-18T23:10:41","slug":"smartctl-%e3%81%ae%e5%86%85%e5%ae%b9%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6","status":"publish","type":"post","link":"https:\/\/www.alprovs.com\/wordpress\/?p=387","title":{"rendered":"smartctl \u306e\u5185\u5bb9\u306b\u3064\u3044\u3066"},"content":{"rendered":"<p>smartctl\u30b3\u30de\u30f3\u30c9\u306f\u3001\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u306eS.M.A.R.T.\uff08Self-Monitoring, Analysis and Reporting Technology System\uff09\u60c5\u5831\u3092\u78ba\u8a8d\u3059\u308b\u3082\u306e\u3067\u3042\u308b\u3002\u3044\u3064\u3082\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u305f\u3073\u306b\u51fa\u529b\u5185\u5bb9\u306b\u3064\u3044\u3066\u691c\u7d22\u3057\u3066\u3044\u305f\u306e\u3067\u3001\u3053\u3053\u306b\u307e\u3068\u3081\u3066\u304a\u304f\u3002<\/p>\n<ol>\n<li><strong>\u57fa\u672c\u7684\u306a\u4f7f\u7528\u65b9\u6cd5<\/strong><br \/>\n<code class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># smartctl\u00a0[\u30aa\u30d7\u30b7\u30e7\u30f3] \u30c7\u30d0\u30a4\u30b9\u540d<\/code><br \/>\n\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u306f\u69d8\u3005\u3042\u308b\u304c\u3001\u4eca\u56de\u306f&#8221;-a&#8221;\u306e\u307f\u3002<\/li>\n<li><strong>\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u7d50\u679c<\/strong>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># smartctl\u00a0-a \/dev\/sda\r\nsmartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-229.20.1.el7.x86_64] (local build)\r\nCopyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org\r\n\r\n=== START OF INFORMATION SECTION ===\r\nModel Family:     Western Digital Caviar Green (AF, SATA 6Gb\/s)\r\nDevice Model:     WDC WD20EZRX-00D8PB0\r\nSerial Number:    WD-WMC4N0F2RNSM\r\nLU WWN Device Id: 5 0014ee 0593e2f83\r\nFirmware Version: 80.00A80\r\nUser Capacity:    2,000,398,934,016 bytes [2.00 TB]\r\nSector Sizes:     512 bytes logical, 4096 bytes physical\r\nRotation Rate:    5400 rpm\r\nDevice is:        In smartctl database [for details use: -P show]\r\nATA Version is:   ACS-2 (minor revision not indicated)\r\nSATA Version is:  SATA 3.0, 6.0 Gb\/s (current: 3.0 Gb\/s)\r\nLocal Time is:    Tue May 31 13:46:51 2016 JST\r\nSMART support is: Available - device has SMART capability.\r\nSMART support is: Enabled\r\n\r\n=== START OF READ SMART DATA SECTION ===\r\nSMART overall-health self-assessment test result: PASSED\r\n\r\nGeneral SMART Values:\r\nOffline data collection status:  (0x84)\tOffline data collection activity\r\n\t\t\t\t\twas suspended by an interrupting command from host.\r\n\t\t\t\t\tAuto Offline Data Collection: Enabled.\r\nSelf-test execution status:      (   0)\tThe previous self-test routine completed\r\n\t\t\t\t\twithout error or no self-test has ever \r\n\t\t\t\t\tbeen run.\r\nTotal time to complete Offline \r\ndata collection: \t\t(27420) seconds.\r\nOffline data collection\r\ncapabilities: \t\t\t (0x7b) SMART execute Offline immediate.\r\n\t\t\t\t\tAuto Offline data collection on\/off support.\r\n\t\t\t\t\tSuspend Offline collection upon new\r\n\t\t\t\t\tcommand.\r\n\t\t\t\t\tOffline surface scan supported.\r\n\t\t\t\t\tSelf-test supported.\r\n\t\t\t\t\tConveyance Self-test supported.\r\n\t\t\t\t\tSelective Self-test supported.\r\nSMART capabilities:            (0x0003)\tSaves SMART data before entering\r\n\t\t\t\t\tpower-saving mode.\r\n\t\t\t\t\tSupports SMART auto save timer.\r\nError logging capability:        (0x01)\tError logging supported.\r\n\t\t\t\t\tGeneral Purpose Logging supported.\r\nShort self-test routine \r\nrecommended polling time: \t (   2) minutes.\r\nExtended self-test routine\r\nrecommended polling time: \t ( 277) minutes.\r\nConveyance self-test routine\r\nrecommended polling time: \t (   5) minutes.\r\nSCT capabilities: \t       (0x7035)\tSCT Status supported.\r\n\t\t\t\t\tSCT Feature Control supported.\r\n\t\t\t\t\tSCT Data Table supported.\r\n\r\nSMART Attributes Data Structure revision number: 16\r\nVendor Specific SMART Attributes with Thresholds:\r\nID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE\r\n  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       1\r\n  3 Spin_Up_Time            0x0027   189   170   021    Pre-fail  Always       -       5533\r\n  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       45\r\n  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0\r\n  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0\r\n  9 Power_On_Hours          0x0032   081   081   000    Old_age   Always       -       14072\r\n 10 Spin_Retry_Count        0x0032   100   253   000    Old_age   Always       -       0\r\n 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0\r\n 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       45\r\n192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       9\r\n193 Load_Cycle_Count        0x0032   069   069   000    Old_age   Always       -       395783\r\n194 Temperature_Celsius     0x0022   115   108   000    Old_age   Always       -       35\r\n196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0\r\n197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0\r\n198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       0\r\n199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0\r\n200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       0\r\n\r\nSMART Error Log Version: 1\r\nNo Errors Logged\r\n\r\nSMART Self-test log structure revision number 1\r\nNo self-tests have been logged.  [To run self-tests, use: smartctl -t]\r\n\r\nSMART Selective self-test log data structure revision number 1\r\n SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS\r\n    1        0        0  Not_testing\r\n    2        0        0  Not_testing\r\n    3        0        0  Not_testing\r\n    4        0        0  Not_testing\r\n    5        0        0  Not_testing\r\nSelective self-test flags (0x0):\r\n  After scanning selected spans, do NOT read-scan remainder of disk.\r\nIf Selective self-test is pending on power-up, resume after 0 minute delay.\r\n<\/pre>\n<\/li>\n<li><strong>\u51fa\u529b\u7d50\u679c\u306e\u8a73\u7d30<\/strong><br \/>\n<!-- ==========\u3053\u3053\u304b\u3089\u8a73\u7d30\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u3044\u304f========== --><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li><strong>HDD\u306e\u60c5\u5831<\/strong>(\u30aa\u30d7\u30b7\u30e7\u30f3&#8221;-i&#8221;\u3067\u5358\u72ec\u306b\u51fa\u529b\u53ef\u80fd)\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">Model Family:     Western Digital Caviar Green (AF, SATA 6Gb\/s)\r\nDevice Model:     WDC WD20EZRX-00D8PB0\r\nSerial Number:    WD-WMC4N0F2RNSM\r\nLU WWN Device Id: 5 0014ee 0593e2f83\r\nFirmware Version: 80.00A80\r\nUser Capacity:    2,000,398,934,016 bytes [2.00 TB]\r\nSector Sizes:     512 bytes logical, 4096 bytes physical\r\nRotation Rate:    5400 rpm\r\nDevice is:        In smartctl database [for details use: -P show]\r\nATA Version is:   ACS-2 (minor revision not indicated)\r\nSATA Version is:  SATA 3.0, 6.0 Gb\/s (current: 3.0 Gb\/s)\r\nLocal Time is:    Tue May 31 13:46:51 2016 JST\r\nSMART support is: Available - device has SMART capability.\r\nSMART support is: Enabled\r\n<\/pre>\n<\/li>\n<li><strong>\u30d8\u30eb\u30b9\u30c6\u30b9\u30c8\u306e\u7d50\u679c<\/strong>(\u30aa\u30d7\u30b7\u30e7\u30f3&#8221;-H&#8221;\u3067\u5358\u72ec\u306b\u51fa\u529b\u53ef\u80fd)\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">SMART overall-health self-assessment test result: PASSED\r\n<\/pre>\n<\/li>\n<li><strong>\u30c7\u30d0\u30a4\u30b9\u304c\u5b9f\u88c5\u3057\u3066\u3044\u308b SMART \u306e\u6a5f\u80fd<\/strong>(\u30aa\u30d7\u30b7\u30e7\u30f3&#8221;-c&#8221;\u3067\u5358\u72ec\u306b\u51fa\u529b\u53ef\u80fd)\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">General SMART Values:\r\nOffline data collection status:  (0x84)\tOffline data collection activity\r\n\t\t\t\t\twas suspended by an interrupting command from host.\r\n\t\t\t\t\tAuto Offline Data Collection: Enabled.\r\nSelf-test execution status:      (   0)\tThe previous self-test routine completed\r\n\t\t\t\t\twithout error or no self-test has ever \r\n\t\t\t\t\tbeen run.\r\nTotal time to complete Offline \r\ndata collection: \t\t(27420) seconds.\r\nOffline data collection\r\ncapabilities: \t\t\t (0x7b) SMART execute Offline immediate.\r\n\t\t\t\t\tAuto Offline data collection on\/off support.\r\n\t\t\t\t\tSuspend Offline collection upon new\r\n\t\t\t\t\tcommand.\r\n\t\t\t\t\tOffline surface scan supported.\r\n\t\t\t\t\tSelf-test supported.\r\n\t\t\t\t\tConveyance Self-test supported.\r\n\t\t\t\t\tSelective Self-test supported.\r\nSMART capabilities:            (0x0003)\tSaves SMART data before entering\r\n\t\t\t\t\tpower-saving mode.\r\n\t\t\t\t\tSupports SMART auto save timer.\r\nError logging capability:        (0x01)\tError logging supported.\r\n\t\t\t\t\tGeneral Purpose Logging supported.\r\nShort self-test routine \r\nrecommended polling time: \t (   2) minutes.\r\nExtended self-test routine\r\nrecommended polling time: \t ( 277) minutes.\r\nConveyance self-test routine\r\nrecommended polling time: \t (   5) minutes.\r\nSCT capabilities: \t       (0x7035)\tSCT Status supported.\r\n\t\t\t\t\tSCT Feature Control supported.\r\n\t\t\t\t\tSCT Data Table supported.\r\n<\/pre>\n<\/li>\n<li><strong>\u30d9\u30f3\u30c0\u30fc\u56fa\u6709\u306e\u5c5e\u6027\u60c5\u5831<\/strong>(\u30aa\u30d7\u30b7\u30e7\u30f3&#8221;-A&#8221;\u3067\u5358\u72ec\u306b\u51fa\u529b\u53ef\u80fd)<br \/>\n\u8a73\u7d30\u306f<a href=\"https:\/\/ja.wikipedia.org\/wiki\/Self-Monitoring,_Analysis_and_Reporting_Technology\" target=\"_blank\" rel=\"noopener\">Wikipedia<\/a><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">SMART Attributes Data Structure revision number: 16\r\nVendor Specific SMART Attributes with Thresholds:\r\nID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE\r\n  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       1\r\n  3 Spin_Up_Time            0x0027   189   170   021    Pre-fail  Always       -       5533\r\n  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       45\r\n  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0\r\n  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0\r\n  9 Power_On_Hours          0x0032   081   081   000    Old_age   Always       -       14072\r\n 10 Spin_Retry_Count        0x0032   100   253   000    Old_age   Always       -       0\r\n 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0\r\n 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       45\r\n192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       9\r\n193 Load_Cycle_Count        0x0032   069   069   000    Old_age   Always       -       395783\r\n194 Temperature_Celsius     0x0022   115   108   000    Old_age   Always       -       35\r\n196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0\r\n197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0\r\n198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       0\r\n199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0\r\n200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       0\r\n<\/pre>\n<\/li>\n<li><strong>\u30a8\u30e9\u30fc\u30ed\u30b0<\/strong>(\u30aa\u30d7\u30b7\u30e7\u30f3&#8221;-l error&#8221;\u3067\u5358\u72ec\u306b\u51fa\u529b\u53ef\u80fd)\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">SMART Error Log Version: 1\r\nNo Errors Logged\r\n<\/pre>\n<\/li>\n<li><strong>\u30bb\u30eb\u30d5\u30c6\u30b9\u30c8\u306e\u7d50\u679c<\/strong>(\u30aa\u30d7\u30b7\u30e7\u30f3&#8221;-l selftest&#8221;\u3067\u5358\u72ec\u306b\u51fa\u529b\u53ef\u80fd)\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">SMART Self-test log structure revision number 1\r\nNo self-tests have been logged. [To run self-tests, use: smartctl -t]<\/pre>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li><strong>\u30bb\u30ec\u30af\u30c6\u30a3\u30d6\u30bb\u30eb\u30d5\u30c6\u30b9\u30c8\u306e\u7d50\u679c<\/strong>(\u30aa\u30d7\u30b7\u30e7\u30f3&#8221;-l selective&#8221;\u3067\u5358\u72ec\u306b\u51fa\u529b\u53ef\u80fd)\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">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.<\/pre>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>smartctl\u30b3\u30de\u30f3\u30c9\u306f\u3001\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u306eS.M.A.R.T.\uff08Self-Monitoring, Analysis and Reporting Technology System\uff09\u60c5\u5831\u3092\u78ba\u8a8d\u3059\u308b\u3082\u306e\u3067\u3042\u308b\u3002\u3044\u3064\u3082\u3053\u306e\u30b3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,6],"tags":[],"class_list":["post-387","post","type-post","status-publish","format-standard","hentry","category-linux","category-6"],"_links":{"self":[{"href":"https:\/\/www.alprovs.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.alprovs.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.alprovs.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.alprovs.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.alprovs.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=387"}],"version-history":[{"count":23,"href":"https:\/\/www.alprovs.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/387\/revisions"}],"predecessor-version":[{"id":767,"href":"https:\/\/www.alprovs.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/387\/revisions\/767"}],"wp:attachment":[{"href":"https:\/\/www.alprovs.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.alprovs.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.alprovs.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}