{"id":2742,"date":"2012-09-13T02:26:00","date_gmt":"2012-09-13T00:26:00","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/"},"modified":"2012-09-13T02:26:00","modified_gmt":"2012-09-13T00:26:00","slug":"linux-disks-diagnostic-using-smarctl","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/","title":{"rendered":"Linux: Disks diagnostic using smartctl"},"content":{"rendered":"<p>Facing disk issues such as corruption or block defect is thankfully not happening frequently. However when it does, the diagnose may look sometimes like a real struggle. This is forgetting that disks integrate since years the S.M.A.R.T technology. Good point, it can easily be adressed in Linux command line through smartctl<\/p>\n<h3><\/h3>\n<h3>What is S.M.A.R.T. exactly?<\/h3>\n<p>S.M.A.R.T., which stands for Self-Monitoring, Analysis and Reporting Technology (also called SMART), is a monitoring system for and integrated in hard disks allowing to detect and report various indicators of reliability.<\/p>\n<p>SMART is the successor of various previous disk monitoring solution such as PFA (IBM, 1992) or IntelliSafe (Compaq, 1995). The join-work between Compaq, IBM, Seagate, Quantum, Conner and Western Digital resulted in the standard SMART.<\/p>\n<p>SMART is part of AT Attachment (ATA) standard since 2004 and provides several information about disk such as:<\/p>\n<ul>\n<li>Status<\/li>\n<li>Manufacter information (Brand, serial number&#8230;)<\/li>\n<li>Inability to read or Write data<\/li>\n<\/ul>\n<p>In addition SMART collects data through an offline monitoring and use thresholds in order to warn about potential disk failures. Finally it allows to run different disk integraty tests.<\/p>\n<p>More detailed information about the SMART standard can be found here: <a href=\"http:\/\/en.wikipedia.org\/wiki\/S.M.A.R.T\">http:\/\/en.wikipedia.org\/wiki\/S.M.A.R.T<\/a><br \/>\nGetting information out of SMART under Linux is pretty easy, as the binary smartctl is available.<\/p>\n<h3>Basic operations<\/h3>\n<p>Like for any tool under linux, you can get some help on the usage of smartctl.<\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">srvoeltest1:~ # smartctl --help\nsmartctl 5.39 2008-10-24 22:33 [x86_64-suse-linux-gnu] (openSUSE RPM)\nCopyright (C) 2002-8 by Bruce Allen, <a href=\"http:\/\/smartmontools.sourceforge.net\">http:\/\/smartmontools.sourceforge.net\n\n<\/a>Usage: smartctl [options] device\n \n ============================================ SHOW INFORMATION OPTIONS =====\n \n -h, --help, --usage\n Display this help and exit\n \n -V, --version, --copyright, --license\n Print license, copyright, and version information and exit\n \n -i, --info \n Show identity information for device\n \n -a, --all \n Show all SMART information for device\n \n ================================== SMARTCTL RUN-TIME BEHAVIOR OPTIONS =====\n \n -q TYPE, --quietmode=TYPE (ATA)\n Set smartctl quiet mode to one of: errorsonly, silent, noserial\n...\n...\n...<\/pre>\n<p>A good idea is also to take a look on the man page of smartctl: <a href=\"http:\/\/smartmontools.sourceforge.net\/man\/smartctl.8.html\">http:\/\/smartmontools.sourceforge.net\/man\/smartctl.8.html<\/a><br \/>\nThen the first basic operation is to get the basic information about a disk. To do so run:\u00a0<strong>smartctl -i \/dev\/&lt;disk&gt;<\/strong><\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">srvoeltest1:~ # smartctl -i \/dev\/sda\n smartctl 5.39 2008-10-24 22:33 [x86_64-suse-linux-gnu] (openSUSE RPM)\n Copyright (C) 2002-8 by Bruce Allen, <a href=\"http:\/\/smartmontools.sourceforge.net\">http:\/\/smartmontools.sourceforge.net<\/a>\n \n === START OF INFORMATION SECTION ===\n Device Model: GB1000EAMYC\n Serial Number: WMATV9306345\n Firmware Version: HPG3\n User Capacity: 1,000,204,886,016 bytes\n Device is: Not in smartctl database [for details use: -P showall]\n ATA Version is: 7\n ATA Standard is: ATA\/ATAPI-7 T13 1532D revision 4a\n Local Time is: Wed Sep 5 13:24:31 2012 CEST\n SMART support is: Available - device has SMART capability.\n SMART support is: Enabled<\/pre>\n<p>We can see, using the -i option, information such as the model, S\/N, capacity and more interresting we can check if SMART is available and activated for the disk.<\/p>\n<p>If it is not activated yet, you can do it with command: <strong>smartctl -s on \/dev\/&lt;disk&gt;<\/strong><\/p>\n<h3>Check disks health<\/h3>\n<p>Now that we have the base information about the disks we may want to check their state. So let&#8217;s check first if we simply still see them and can access then. This is done using the command: <strong>smartctl -H \/dev\/&lt;disk&gt;<\/strong><\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">srvoeltest1:~ # smartctl -H \/dev\/sda\n smartctl 5.39 2008-10-24 22:33 [x86_64-suse-linux-gnu] (openSUSE RPM)\n Copyright (C) 2002-8 by Bruce Allen, <a href=\"http:\/\/smartmontools.sourceforge.net\">http:\/\/smartmontools.sourceforge.net<\/a>\n \n === START OF READ SMART DATA SECTION ===\n SMART overall-health self-assessment test result: PASSED\n \n srvoeltest1:~ # smartctl -H \/dev\/sdd\n smartctl 5.39 2008-10-24 22:33 [x86_64-suse-linux-gnu] (openSUSE RPM)\n Copyright (C) 2002-8 by Bruce Allen, <a href=\"http:\/\/smartmontools.sourceforge.net\">http:\/\/smartmontools.sourceforge.net<\/a>\nSmartctl open device: \/dev\/sdd failed: No such device<\/pre>\n<p>Remember that this check is a simple test of the disk availability. A PASSED result doesn&#8217;t mean that the disk is healthy. On the other hand any other result than PASSED let you know to that you should replace it.<\/p>\n<p>As second step, you may want to check the disk capabilities using: <strong>smartctl -c \/dev\/&lt;disk&gt;<\/strong><\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">srvoeltest1:~ # smartctl -c \/dev\/sda\n smartctl 5.39 2008-10-24 22:33 [x86_64-suse-linux-gnu] (openSUSE RPM)\n Copyright (C) 2002-8 by Bruce Allen, <a href=\"http:\/\/smartmontools.sourceforge.net\">http:\/\/smartmontools.sourceforge.net<\/a>\n \n === START OF READ SMART DATA SECTION ===\n General SMART Values:\n Offline data collection status: (0x84) Offline data collection activity\n was suspended by an interrupting command from host\n Auto Offline Data Collection: Enabled.\n Self-test execution status: ( 0) The previous self-test routine complete\n without error or no self-test has ever \n been run.\n Total time to complete Offline \n data collection: (18000) seconds.\n Offline data collection\n capabilities: (0x7b) SMART execute Offline immediate.\n Auto Offline data collection on\/off support.\n Suspend Offline collection upon new\n command.\nOffline surface scan supported.\n Self-test supported.\n Conveyance Self-test supported.\n Selective Self-test supported.\nSMART capabilities: (0x0003) Saves SMART data before entering\npower-saving mode.\n Supports SMART auto save timer.\n Error logging capability: (0x01) Error logging supported.\n General Purpose Logging supported.\n Short self-test routine \n recommended polling time: ( 2) minutes.\n Extended self-test routine\n recommended polling time: ( 208) minutes.\n Conveyance self-test routine\n recommended polling time: ( 5) minutes.\n SCT capabilities: (0x303f) SCT Status supported.\n SCT Feature Control supported.\n SCT Data Table supported.<\/pre>\n<p>Capabilities let us know different information:<\/p>\n<ul>\n<li>Offline data collection status<\/li>\n<li>Last self-test status<\/li>\n<li>Type of test available and their duration<br \/>\nIn my example above, for instance, a short self-test would take approximately 2 minutes.<\/li>\n<\/ul>\n<p>Going deeper in scope of the disk health check, drives us then to check out the so called disk attributes. These are metrics collected for the disk with their current value, the vendor warning value and threshold. They include counters helping to detect\/prevent potential failures like:<\/p>\n<ul>\n<li>Raw Read Error Rate<\/li>\n<li>Reallocated sector Ct<\/li>\n<li>Seek Error Rate<\/li>\n<li>Reallocated Event Count<\/li>\n<\/ul>\n<p>The current state of the attributes can be get using the command:<strong> smartctl -A \/dev\/&lt;disk&gt;<\/strong><br \/>\n<strong><br \/>\n<\/strong><\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">srvoeltest1:~ # smartctl -A \/dev\/sdb\n smartctl 5.39 2008-10-24 22:33 [x86_64-suse-linux-gnu] (openSUSE RPM)\n Copyright (C) 2002-8 by Bruce Allen, <a href=\"http:\/\/smartmontools.sourceforge.net\">http:\/\/smartmontools.sourceforge.net<\/a>\n \n === START OF READ SMART DATA SECTION ===\n SMART Attributes Data Structure revision number: 10\n Vendor Specific SMART Attributes with Thresholds:\n ID# ATTRIBUTE_NAME VALUE WORST THRESH TYPE UPDATED RAW_VALUE\n 1 Raw_Read_Error_Rate 080 063 044 Pre-fail Always 115187504\n 3 Spin_Up_Time 093 093 000 Pre-fail Always 0\n4 Start_Stop_Count 100 100 020 Old_age Always 26\n 5 Reallocated_Sector_Ct 100 100 036 Pre-fail Always 1\n 7 Seek_Error_Rate 087 060 030 Pre-fail Always 534389509\n 9 Power_On_Hours 087 087 000 Old_age Always 12084\n 10 Spin_Retry_Count 100 100 097 Pre-fail Always 0\n 12 Power_Cycle_Count 100 100 020 Old_age Always 26\n 180 Unknown_Attribute 100 100 000 Pre-fail Always 1535031962\n 184 Unknown_Attribute 100 100 003 Old_age Always 0\n 187 Reported_Uncorrect 100 100 000 Old_age Always 0\n 188 Unknown_Attribute 100 100 000 Old_age Always 0\n 189 High_Fly_Writes 100 100 000 Old_age Always 0\n 190 Airflow_Temp_Cel 073 065 045 Old_age Always 27\n 191 G-Sense_Error_Rate 100 100 000 Old_age Always 0\n 192 Power-Off_Retract_Ct 100 100 000 Old_age Always 22\n 193 Load_Cycle_Count 100 100 000 Old_age Always 26\n 194 Temperature_Celsius 027 040 000 Old_age Always 27\n 195 Hardware_ECC_Reco 034 025 000 Old_age Always 115187504\n 196 Reallocated_Event_Ct 100 100 036 Pre-fail Always 1\n 197 Curr_Pending_Sector 100 100 000 Old_age Always 0\n 198 Offline_Uncorrectable 100 100 000 Old_age Offline 0\n 199 UDMA_CRC_Error_Count 200 200 000 Old_age Always 0<\/pre>\n<p>According the attributes provided by SMART, this disk doesn&#8217;t look in good shape. So why not looking to its SMART error log? Let&#8217;s run <strong>smartctl -l error \/dev\/&lt;disk&gt;<\/strong><\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">srvoeltest1:~ # smartctl -l error \/dev\/sdc\n smartctl 5.39 2008-10-24 22:33 [x86_64-suse-linux-gnu] (openSUSE RPM)\n Copyright (C) 2002-8 by Bruce Allen, <a href=\"http:\/\/smartmontools.sourceforge.net\">http:\/\/smartmontools.sourceforge.net<\/a>\n \n === START OF READ SMART DATA SECTION ===\n SMART Error Log Version: 1\n Error 14048 occurred at disk power-on lifetime: 5037 hours (209 days + 21 hours)\n When the command that caused the error occurred, the device was active or\n idle.\n\n After command completion occurred, registers were:\nER ST SC SN CL CH DH\n -- -- -- -- -- -- --\n 40 51 08 95 58 37 e2 Error: UNC 8 sectors at LBA = 0x02375895 = 37181589\n \n Commands leading to the command that caused the error were:\n CR FR SC SN CL CH DH DC Powered_Up_Time Command\/Feature_Name\n -- -- -- -- -- -- -- -- ---------------- --------------------\n c8 00 08 8e 58 37 e2 08 3d+10:30:59.131 READ DMA\n c8 00 08 86 58 37 e2 08 3d+10:30:59.042 READ DMA\n b0 d1 01 00 4f c2 00 08 3d+10:30:59.039 SMART READ ATTRIBUTE THRESHOLDS [OBS-4]\n c8 00 08 7e 58 37 e2 08 3d+10:30:58.713 READ DMA\n ec 00 00 00 00 00 a0 08 3d+10:30:58.688 IDENTIFY DEVICE\n \n Error 14046 occurred at disk power-on lifetime: 5037 hours (209 days + 21 hours)\n When the command that caused the error occurred, the device was active or idle.\n \n After command completion occurred, registers were:\n ER ST SC SN CL CH DH\n -- -- -- -- -- -- --\n 40 51 08 7d 58 37 e2 Error: UNC 8 sectors at LBA = 0x0237587d = 37181565\n\n Commands leading to the command that caused the error were:\n CR FR SC SN CL CH DH DC Powered_Up_Time Command\/Feature_Name\n -- -- -- -- -- -- -- -- ---------------- --------------------\n c8 00 08 76 58 37 e2 08 3d+10:30:54.293 READ DMA\n ec 00 00 00 00 00 a0 08 3d+10:30:54.269 IDENTIFY DEVICE\n ef 03 46 00 00 00 a0 08 3d+10:30:54.262 SET FEATURES [Set transfer mode]\n ec 00 00 00 00 00 a0 08 3d+10:30:54.253 IDENTIFY DEVICE\n c8 00 08 76 58 37 e2 08 3d+10:30:52.335 READ DMA<\/pre>\n<h3>Running selftest checks<\/h3>\n<p>If you have issues with a disk a good idea is then to run a selftest. Different tpyes of test are available with SMART<\/p>\n<ul>\n<li>short<br \/>\nBasic tests<\/li>\n<li>long<br \/>\nExtended SMART tests. Runs usually tens of minutes<\/li>\n<li>conveyance<br \/>\nTest dedicated to detection of damage during transport<\/li>\n<li>select<br \/>\nSelective self-test to test a range of disk Logical Block Addresses (LBA)<\/li>\n<\/ul>\n<p>Run the test with the command:<strong> smartctl -t &lt;type&gt; \/dev\/&lt;disk&gt;<\/strong><\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">srvoeltest1:~ # smartctl -t short \/dev\/sdc\n smartctl 5.39 2008-10-24 22:33 [x86_64-suse-linux-gnu] (openSUSE RPM)\n Copyright (C) 2002-8 by Bruce Allen, <a href=\"http:\/\/smartmontools.sourceforge.net\">http:\/\/smartmontools.sourceforge.net<\/a>\n \n === START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===\n Sending command: \"Execute SMART Short self-test routine immediately in off-line mode\".\n Drive command \"Execute SMART Short self-test routine immediately in off-line mode\" successful.\nTesting has begun.\n Please wait 2 minutes for test to complete.\n Test will complete after Wed Sep 5 11:44:26 2012<\/pre>\n<p>Once started the test will run in background. To check its results, use the command<\/p>\n<p><strong>smartctl -l selftest \/dev\/&lt;disk&gt;<\/strong><\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">srvoeltest1:~ # smartctl -l selftest \/dev\/sdc\n smartctl 5.39 2008-10-24 22:33 [x86_64-suse-linux-gnu] (openSUSE RPM)\nCopyright (C) 2002-8 by Bruce Allen, <a href=\"http:\/\/smartmontools.sourceforge.net\">http:\/\/smartmontools.sourceforge.net<\/a>\n \n === START OF READ SMART DATA SECTION ===\n SMART Self-test log structure revision number 1\n Num Test_Description\u00a0\u00a0 Status\u00a0 \u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Remaining LifeTime(hours) LBA_of_first_error\n # 1 Short offline\u00a0\u00a0\u00a0\u00a0\u00a0 Completed: read failure\u00a0 90% \u00a0\u00a0 \u00a0\u00a0 6091\u00a0 \u00a0 \u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0 356245779<\/pre>\n<p>In the example above, we can see that the test failed after 10% on the Logical Block Address 356245779.<\/p>\n<p>Last trick, the command to get the test output doesn&#8217;t refresh itself automatically. Therefore you may have to run it several time until the test finished. A easy workaround is to run it as following: <strong>watch smartctl -l selftest \/dev\/&lt;disk&gt;<\/strong><\/p>\n<p>This will provide you an every 2 seconds refresh of the output.<br \/>\nI hope that this smartctl overview will help.<\/p>\n<p>Enjoy! \ud83d\ude00<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Facing disk issues such as corruption or block defect is thankfully not happening frequently. However when it does, the diagnose may look sometimes like a real struggle. This is forgetting that disks integrate since years the S.M.A.R.T technology. Good point, it can easily be adressed in Linux command line through smartctl What is S.M.A.R.T. exactly? [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[42],"tags":[332,46,333,44],"type_dbi":[],"class_list":["post-2742","post","type-post","status-publish","format-standard","hentry","category-operating-systems","tag-disk-corruption","tag-linux-unix","tag-smartctl","tag-troubleshooting"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Linux: Disks diagnostic using smartctl - dbi Blog<\/title>\n<meta name=\"description\" content=\"This articles explains how to access the S.M.A.R.T information of hard drives through the linux tool smartctl. This helps to prevent and diagnose hard disk failures on Linux servers.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux: Disks diagnostic using smartctl\" \/>\n<meta property=\"og:description\" content=\"This articles explains how to access the S.M.A.R.T information of hard drives through the linux tool smartctl. This helps to prevent and diagnose hard disk failures on Linux servers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2012-09-13T00:26:00+00:00\" \/>\n<meta name=\"author\" content=\"David Hueber\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"David Hueber\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/\"},\"author\":{\"name\":\"David Hueber\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8873e20a98a02305870909f4e3d0088f\"},\"headline\":\"Linux: Disks diagnostic using smartctl\",\"datePublished\":\"2012-09-13T00:26:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/\"},\"wordCount\":774,\"commentCount\":0,\"keywords\":[\"disk corruption\",\"Linux\/UNIX\",\"smartctl\",\"Troubleshooting\"],\"articleSection\":[\"Operating systems\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/\",\"name\":\"Linux: Disks diagnostic using smartctl - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"datePublished\":\"2012-09-13T00:26:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8873e20a98a02305870909f4e3d0088f\"},\"description\":\"This articles explains how to access the S.M.A.R.T information of hard drives through the linux tool smartctl. This helps to prevent and diagnose hard disk failures on Linux servers.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux: Disks diagnostic using smartctl\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8873e20a98a02305870909f4e3d0088f\",\"name\":\"David Hueber\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/fc07284dbd5667f0bed32b0d8d64076ab885746973ea1b5c4e69c6fa7074cf59?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fc07284dbd5667f0bed32b0d8d64076ab885746973ea1b5c4e69c6fa7074cf59?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fc07284dbd5667f0bed32b0d8d64076ab885746973ea1b5c4e69c6fa7074cf59?s=96&d=mm&r=g\",\"caption\":\"David Hueber\"},\"description\":\"David Hueber has ten years of experience in infrastructure operation &amp; management, engineering, and optimization. He is specialized in Oracle technologies (engineering, backup and recovery, high availability, etc.), Service Management standards and Oracle infrastructure operation processes (Service Desk, Change Management, Capacity Planning, etc.). David Hueber is ITILv3 Service Operation Lifecycle certified and Linux LPIC-1 certified. He received a university degree in Informatics and Networks at the IUT Mulhouse, France. He also studied Information Systems at the Conservatoire National des Arts et M\u00e9tiers in Mulhouse, France. His branch-related experience covers Financial Services \/ Banking, Chemicals &amp; Pharmaceuticals, Transport &amp; Logistics, Retail, Food, etc.\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/david-hueber\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Linux: Disks diagnostic using smartctl - dbi Blog","description":"This articles explains how to access the S.M.A.R.T information of hard drives through the linux tool smartctl. This helps to prevent and diagnose hard disk failures on Linux servers.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/","og_locale":"en_US","og_type":"article","og_title":"Linux: Disks diagnostic using smartctl","og_description":"This articles explains how to access the S.M.A.R.T information of hard drives through the linux tool smartctl. This helps to prevent and diagnose hard disk failures on Linux servers.","og_url":"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/","og_site_name":"dbi Blog","article_published_time":"2012-09-13T00:26:00+00:00","author":"David Hueber","twitter_card":"summary_large_image","twitter_misc":{"Written by":"David Hueber","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/"},"author":{"name":"David Hueber","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8873e20a98a02305870909f4e3d0088f"},"headline":"Linux: Disks diagnostic using smartctl","datePublished":"2012-09-13T00:26:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/"},"wordCount":774,"commentCount":0,"keywords":["disk corruption","Linux\/UNIX","smartctl","Troubleshooting"],"articleSection":["Operating systems"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/","url":"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/","name":"Linux: Disks diagnostic using smartctl - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2012-09-13T00:26:00+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8873e20a98a02305870909f4e3d0088f"},"description":"This articles explains how to access the S.M.A.R.T information of hard drives through the linux tool smartctl. This helps to prevent and diagnose hard disk failures on Linux servers.","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/linux-disks-diagnostic-using-smarctl\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Linux: Disks diagnostic using smartctl"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8873e20a98a02305870909f4e3d0088f","name":"David Hueber","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/fc07284dbd5667f0bed32b0d8d64076ab885746973ea1b5c4e69c6fa7074cf59?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/fc07284dbd5667f0bed32b0d8d64076ab885746973ea1b5c4e69c6fa7074cf59?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fc07284dbd5667f0bed32b0d8d64076ab885746973ea1b5c4e69c6fa7074cf59?s=96&d=mm&r=g","caption":"David Hueber"},"description":"David Hueber has ten years of experience in infrastructure operation &amp; management, engineering, and optimization. He is specialized in Oracle technologies (engineering, backup and recovery, high availability, etc.), Service Management standards and Oracle infrastructure operation processes (Service Desk, Change Management, Capacity Planning, etc.). David Hueber is ITILv3 Service Operation Lifecycle certified and Linux LPIC-1 certified. He received a university degree in Informatics and Networks at the IUT Mulhouse, France. He also studied Information Systems at the Conservatoire National des Arts et M\u00e9tiers in Mulhouse, France. His branch-related experience covers Financial Services \/ Banking, Chemicals &amp; Pharmaceuticals, Transport &amp; Logistics, Retail, Food, etc.","url":"https:\/\/www.dbi-services.com\/blog\/author\/david-hueber\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/2742","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=2742"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/2742\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=2742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=2742"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=2742"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=2742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}