{"id":6623,"date":"2021-04-17T15:35:24","date_gmt":"2021-04-17T13:35:24","guid":{"rendered":"https:\/\/tekmart.co.za\/t-blog\/?p=6623"},"modified":"2021-04-17T15:51:34","modified_gmt":"2021-04-17T13:51:34","slug":"what-is-smart-and-how-to-use-it-to-predict-hdd-or-ssd-failure","status":"publish","type":"post","link":"https:\/\/tekmart.co.za\/t-blog\/what-is-smart-and-how-to-use-it-to-predict-hdd-or-ssd-failure\/","title":{"rendered":"What is SMART and how to use it to predict HDD or SSD failure."},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time-approximately:<\/span> <span class=\"rt-time\"> 6<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<h2 class=\"wp-block-heading\"><strong>SMART is a system that monitors the internal information of your drive.\u00a0Its clever name is actually an acronym for\u00a0Self-Monitoring, Analysis, and Reporting Technology. SMART, also written as S.M.A.R.T., is a technology found inside HDDs and SSDs. It is independent of your operating system, BIOS, or other software.<\/strong><\/h2>\n\n\n\n<p>Original Tutorial (Edited) By\u00a0<a href=\"https:\/\/www.digitalcitizen.life\/author\/codrut-neagu\/\">Codrut Neagu<\/a>\u00a0<\/p>\n\n\n\n<p>A lot of us have experienced a hard disk or an SSD failure. Some of us have even tried to find out more about the reliability of hard drives and their hidden prediction function that\u2019s part of a technology called SMART. One might argue that SMART is not as reliable as it does not predict failure in all cases. This fact is partly true, but the actual inner workings of this self-monitoring system are not so simple, so let\u2019s examine how SMART works. We\u2019re also going to show you how to check the HDD SMART status, as well as the solid-state drive SMART status:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>What does SMART do for HDDs and SSDs?<\/strong><\/h3>\n\n\n\n<p>SMART was invented because computers needed something that could monitor the health state of their hard drives. That means, plainly speaking, that\u00a0<strong>SMART should supposedly be able to tell you if your hard drive or solid-state drive is about to stop working<\/strong>!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/Drive-health-information-is-provided-by-SMART.png\" alt=\"\" class=\"wp-image-6624\" width=\"736\" height=\"442\" srcset=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/Drive-health-information-is-provided-by-SMART.png 648w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/Drive-health-information-is-provided-by-SMART-300x180.png 300w\" sizes=\"(max-width: 736px) 100vw, 736px\" \/><figcaption><strong>Drive health information is provided by SMART<\/strong><\/figcaption><\/figure>\n\n\n\n<p><strong>How does SMART do that? <\/strong><\/p>\n\n\n\n<p>You might be tempted to think that SMART can magically guess if your drive is healthy. What it does is an entirely different story, though.\u00a0<strong>SMART keeps track of a series of variables<\/strong>\u00a0whose number and type vary from drive to drive, which are\u00a0<strong>indicators of its reliability<\/strong>. <\/p>\n\n\n\n<p>However, know that, apart from some singular attempts (<a href=\"https:\/\/www.backblaze.com\/blog\/hard-drive-smart-stats\/\">Google<\/a>,Backblaze), most of the S.M.A.R.T. data is undocumented. The system provides a great deal of internal data. Still, there are many inconsistencies in the statistics because many of the hard drive manufacturers use different definitions and measurements. For example, some manufacturers store power on-time data as hours, while others measure it in minutes or seconds. Also, they don\u2019t explain which of the various attributes or variables are worth our attention, making us drown in data.<\/p>\n\n\n\n<p>Before attempting to understand which SMART attributes are relevant, we first have to differentiate between the main types of&nbsp;<strong>SSD and HDD failures: predictable and non-predictable<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/SMART-details-for-a-solid-state-drive.png\" alt=\"\" class=\"wp-image-6625\" width=\"695\" height=\"398\" srcset=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/SMART-details-for-a-solid-state-drive.png 648w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/SMART-details-for-a-solid-state-drive-300x172.png 300w\" sizes=\"(max-width: 695px) 100vw, 695px\" \/><figcaption><strong>SMART details for a solid-state drive<\/strong><\/figcaption><\/figure>\n\n\n\n<p><strong>Predictable failures<\/strong>&nbsp;include the breakdowns that appear in time and are caused by faulty disk mechanics or damages of the disk\u2019s surface in the case of hard-disks. For solid-state drives, predictable failures can include normal wear over time or a high number of erasing attempts that have failed. Problems get worse over time, and the drive eventually fails.<\/p>\n\n\n\n<p><strong>Non-predictable failures<\/strong>\u00a0are caused by sudden events, of which we can mention, for example, sudden power surges or unexpected damage to circuitry inside the hard disk or solid-state drive. What is important to understand is that\u00a0<strong>S.M.A.R.T. can only help you detect predictable failures<\/strong>.<\/p>\n\n\n\n<p>Now that you have a basic understanding of what SMART is and does, let\u2019s see how to check the SMART status of your drives from Windows and then also how to read and interpret the SMART details:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to check SSD and HDD SMART status<\/strong><\/h2>\n\n\n\n<p>On Windows computers and devices, the easiest way to read SMART data from a hard disk or from an SSD is by using specialized apps. There are quite a few out there, but many of them are either poorly developed or cost money. Out of all the apps that can read SMART data, the best and the one that we\u2019re recommending that you use is\u00a0CrystalDiskInfo. It is free, able to read SMART attributes, and it\u2019s also one of the few such apps that can get SMART data both from IDE(PATA), SATA, and NVMe drives, as well as from portable drives that are using eSATA, USB, or IEEE 1394.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"648\" height=\"511\" src=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/CrystalDiskInfo-shows-detailed-info-about-a-drive-using-SMART.png\" alt=\"CrystalDiskInfo shows detailed info about a drive using SMART\" class=\"wp-image-6629\" srcset=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/CrystalDiskInfo-shows-detailed-info-about-a-drive-using-SMART.png 648w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/CrystalDiskInfo-shows-detailed-info-about-a-drive-using-SMART-300x237.png 300w\" sizes=\"(max-width: 648px) 100vw, 648px\" \/><figcaption><strong>CrystalDiskInfo shows detailed information about a drive using SMART<\/strong><br><\/figcaption><\/figure>\n\n\n\n<p>Another excellent method of checking the SMART status and details of an HDD or SSD is to use the apps provided by its manufacturer. For example, most solid-state drives are accompanied by support apps that let you check information about them, check their health, run diagnostics, and so on. These apps usually include options for checking SMART status.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/Drive-manufacturers-offer-apps-that-can-read-SMART-information.png\" alt=\"Drive manufacturers offer apps that can read SMART information\" class=\"wp-image-6630\" width=\"733\" height=\"468\" srcset=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/Drive-manufacturers-offer-apps-that-can-read-SMART-information.png 648w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/Drive-manufacturers-offer-apps-that-can-read-SMART-information-300x192.png 300w\" sizes=\"(max-width: 733px) 100vw, 733px\" \/><figcaption>Drive manufacturers offer apps that can read SMART information<\/figcaption><\/figure>\n\n\n\n<p>A third way of checking the SMART status of your hard disk drive or SSD is offered by Windows 10. It doesn\u2019t show details, but can tell you whether the SMART status of your drives is OK or not. To check SMART,\u00a0open\u00a0Command Prompt\u00a0and run this command:\u00a0<strong>wmic diskdrive get model, status<\/strong>. The command outputs the list of drives connected to your PC and shows the SMART status for each of them.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"632\" height=\"332\" src=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/Windows-10-lets-you-check-the-SMART-status-of-your-drives.png\" alt=\"Windows 10 lets you check the SMART status of your drives\" class=\"wp-image-6631\" srcset=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/Windows-10-lets-you-check-the-SMART-status-of-your-drives.png 632w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/Windows-10-lets-you-check-the-SMART-status-of-your-drives-300x158.png 300w\" sizes=\"(max-width: 632px) 100vw, 632px\" \/><figcaption><strong>Windows 10 lets you check the SMART status of your drives<\/strong><\/figcaption><\/figure>\n\n\n\n<p>This last method to check the SMART status is probably the quickest way in Windows 10 to check whether your drives are failing.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to run an SSD or HDD SMART test<\/strong><\/h2>\n\n\n\n<p>If you\u2019re not satisfied with just reading the SMART status of your drives, you can also run an SSD or HDD SMART test. That is easier said than done because you need a specialized app for this purpose. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to read SMART values and attributes<\/strong><\/h2>\n\n\n\n<p>The health status of the hard disk is continuously tested and monitored with multiple sensors. The values are measured by the use of typical algorithms, and then the corresponding attributes are tweaked according to the results.<\/p>\n\n\n\n<p>In any SMART monitoring program, you should see attributes that contain at least some of these fields:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Identifier:<\/strong>&nbsp;the definition of the attribute. It usually has a standard meaning, and it is marked with a number between 1 and 250 (for example, 9 is Power-on Count). Still, all disk monitoring and testing tools provide the name and a textual description of the attribute.<\/li><li><strong>Threshold:<\/strong>&nbsp;the minimum value for the attribute. If this value is reached, then your drive is about to fail.<\/li><li><strong>Value:<\/strong>&nbsp;current value of the attribute. The algorithm calculates this number based upon the raw data. A new hard drive should have a high number, the theoretical maximum (100, 200, or 253 depending on the manufacturer), that decreases during its lifetime.<\/li><li><strong>Worst:<\/strong>&nbsp;the smallest value of the attribute ever recorded.<\/li><li><strong>Data:<\/strong>&nbsp;raw measured values provided by a sensor or a counter. This is the data used by the algorithm designed by the manufacturer of the HDD or SSD. Its contents depend on the attribute and the maker of the drive. Regular users should skip this one.<\/li><li><strong>Flags:<\/strong>&nbsp;the purpose of the attribute. This is usually set by the manufacturer and therefore varies from drive to drive. Each of the attributes is either critical and can predict an imminent failure (for example, ID 5 reallocated sectors count), or statistical with no direct effect on status (for example, ID 174 unexpected power loss count).<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"648\" height=\"422\" src=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/SMART-attributes-are-described-by-data-such-as-their-ID-current-value-worst-value-and-threshold.png\" alt=\"SMART attributes are described by data such as their ID, current value, worst value, and threshold\" class=\"wp-image-6634\" srcset=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/SMART-attributes-are-described-by-data-such-as-their-ID-current-value-worst-value-and-threshold.png 648w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/SMART-attributes-are-described-by-data-such-as-their-ID-current-value-worst-value-and-threshold-300x195.png 300w\" sizes=\"(max-width: 648px) 100vw, 648px\" \/><figcaption><strong>SMART attributes are described by data such as their ID, current value, worst value, and threshold<\/strong><\/figcaption><\/figure>\n\n\n\n<p>When trying&nbsp;<strong>to understand the status of any S.M.A.R.T. attribute, check the values of these three fields: value, threshold, and flags<\/strong>. Also, remember that, usually,&nbsp;<strong>smaller values are an indication of a decrease in reliability<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to use SMART to predict the failure of an HDD or SSD (essential values to check)<\/strong><\/h2>\n\n\n\n<p>Not all S.M.A.R.T. attributes are critical for failure prediction. The two above mentioned studies on hard drive failure rates and other sources agree that an important help in identifying failing drives are:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Reallocated sector counts<\/strong>. Reallocation happens when the drive\u2019s logic remaps a damaged sector, as a result of recurring soft or hard errors, to a new physical sector from its spare ones. This attribute reflects the number of times a remapping has happened. If its value increases, it\u2019s an indication of HDD or SSD wear.<\/li><li><strong>Current Pending Sector Count<\/strong>. This counts the \u201cunstable\u201d sectors, meaning the damaged ones with read errors that are waiting for a remapping, a kind of \u201cprobation\u201d system. S.M.A.R.T. algorithms have mixed understandings about this particular attribute, as it is sometimes unconvincing. Still, it can provide an earlier warning of possible problems.<\/li><li><strong>Reported Uncorrectable Errors<\/strong>. It is the count of errors that are impossible to recover, and it is useful because it seems to have the same meaning for all manufacturers.<\/li><li><strong>Erase Fail Count<\/strong>. This one is an excellent indicator of the premature death of a solid-state drive. It counts the number of failed data deletion attempts, and a value that increases tells you that the flash memory inside the SSD is close to its end-of-life.<\/li><li><strong>Wear Leveling Count<\/strong>. This is also especially useful for SSDs. Manufacturers set the expected lifetime of an SSD in its SMART data. The&nbsp;<em>Wear Leveling Count<\/em>&nbsp;is an estimation of the health of your drive. It is calculated using an algorithm that takes into account the predefined expected lifetime and the number of cycles (write, erase, etc.) that each memory flash block can perform before reaching its end-of-life.<\/li><li><strong>Disk temperature<\/strong>&nbsp;is a highly debated parameter. Still, it is considered that values above 60\u00b0C can reduce the lifespan of an HDD or SSD and increase the probability of damage. We recommend using a fan to decrease the temperature of your drives and hopefully prolong their life.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"648\" height=\"526\" src=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/SMART-values-that-are-above-the-threshold-can-point-to-potential-future-drive-failures.png\" alt=\"SMART values that are above the threshold can point to potential future drive failures\" class=\"wp-image-6635\" srcset=\"https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/SMART-values-that-are-above-the-threshold-can-point-to-potential-future-drive-failures.png 648w, https:\/\/tekmart.co.za\/t-blog\/wp-content\/uploads\/2021\/04\/SMART-values-that-are-above-the-threshold-can-point-to-potential-future-drive-failures-300x244.png 300w\" sizes=\"(max-width: 648px) 100vw, 648px\" \/><figcaption><strong>SMART values that are above the threshold can point to potential future drive failures<\/strong><\/figcaption><\/figure>\n\n\n\n<p>The above mentioned S.M.A.R.T. attributes are relatively easy to interpret. If you notice an increase in their values, it is possible that your drive is failing, so you\u2019d better start backing up. However, although these are useful indicators of drive reliability, do not forget that they are not foolproof.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Historical note about SMART<\/strong><\/h2>\n\n\n\n<p>SMART was developed beginning with the year 1992, although you know now that it is included by all modern solid-state drives and hard disk drives. Its history covers an array of names like Predictive Failure Analysis or IntelliSafe and input from all the major hard disk manufacturers: IBM, Seagate, Quantum, Western Digital. Finally, its documentation was featured for the first time in 2004 within the Parallel ATA\u00a0standard and received regular revisions afterward. The latest one was issued in 2011.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Is there anything else you would like to know about SSD and HDD SMART?<\/strong><\/h2>\n\n\n\n<p>This was our short study on the inner workings of S.M.A.R.T and its abilities to monitor, test, and predict hard disk failures. The main point of view you should remember is that this self-monitoring system can help you review the health status of your HDD. <\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time-approximately:<\/span> <span class=\"rt-time\"> 6<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>SMART is a system that monitors the internal information of your drive.\u00a0Its clever name is actually an acronym for\u00a0Self-Monitoring, Analysis, and Reporting Technology. SMART, also written as S.M.A.R.T., is a technology found inside HDDs and SSDs. It is independent of your operating system, BIOS, or other software. Original Tutorial (Edited) By\u00a0Codrut Neagu\u00a0 A lot of us have experienced a hard<\/p>\n<p><a class=\"more-link\" href=\"https:\/\/tekmart.co.za\/t-blog\/what-is-smart-and-how-to-use-it-to-predict-hdd-or-ssd-failure\/\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,221,148,35,8,172,82,143,186,28,119,12,192,235],"tags":[],"class_list":["post-6623","post","type-post","status-publish","format-standard","hentry","category-best-practices-for-data-center-operations","category-computer-storage-hardware","category-data-backup-security","category-data-center-facilities","category-data-center-hardware","category-datacentre-disaster-recovery-and-security","category-disaster-recovery-planning-management","category-disaster-recovery-storage","category-disaster-recovery-failover-and-high-availability-for-virtual-servers","category-partner-content","category-small-business-disaster-recovery","category-tekmart-enterprise-hardware-tips","category-tekmart-partner-content","category-travelling-techie-quick-reads-timeless"],"_links":{"self":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/6623","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/comments?post=6623"}],"version-history":[{"count":5,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/6623\/revisions"}],"predecessor-version":[{"id":6639,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/6623\/revisions\/6639"}],"wp:attachment":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/media?parent=6623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/categories?post=6623"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/tags?post=6623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}