{"id":2264,"date":"2025-01-20T12:36:36","date_gmt":"2025-01-20T12:36:36","guid":{"rendered":"https:\/\/www.woojin.help\/?p=2264"},"modified":"2025-06-12T11:38:51","modified_gmt":"2025-06-12T11:38:51","slug":"smartmontools","status":"publish","type":"post","link":"https:\/\/www.woojin.help\/ko\/smartmontools\/","title":{"rendered":"\uc2a4\ub9c8\ud2b8\ubaac\ud234\uc2a4"},"content":{"rendered":"<div class=\"pdfprnt-buttons pdfprnt-buttons-post pdfprnt-top-right\"><\/div>\n<h3 class=\"wp-block-heading\">What is Smartmontools?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Smartmontools is a set of utilities that monitors the Self-Monitoring, Analysis, and Reporting Technology (SMART) built into modern hard drives and SSDs. It helps users assess the health of their storage devices and predict potential failures. It can also perform drive self-tests and provide detailed diagnostic information.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To install Smartmontools on a Debian-based system:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>sudo apt update<br>sudo apt install smartmontools<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are using our Linux Image, it&#8217;s already preinstalled, so you can skip this step. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Checking SMART Status<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. Identify the drive<\/strong> &#8211; Use <code>lsblk<\/code> \ub610\ub294 <code>fdisk<\/code> to list all available drives:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>lsblk -d<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"545\" height=\"307\" src=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-1.png\" alt=\"\" class=\"wp-image-2265\" srcset=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-1.png 545w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-1-300x169.png 300w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-1-18x10.png 18w\" sizes=\"(max-width: 545px) 100vw, 545px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Note the device name (e.g., <code>\/dev\/sda<\/code>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. Check if SMART is enabled:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>sudo smartctl -i \/dev\/s<\/em>da<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"624\" height=\"350\" src=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-2.png\" alt=\"\" class=\"wp-image-2266\" srcset=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-2.png 624w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-2-300x168.png 300w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-2-18x10.png 18w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">3. Enable SMART if necessary:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">sudo smartctl &#8211;smart=on &#8211;offlineauto=on &#8211;saveauto=on \/dev\/sda<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Reading SMART Information<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1. <strong>Quick Health Check:<\/strong> To get a summary of the drive&#8217;s health:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>sudo smartctl -H \/dev\/<\/em>sda<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"619\" height=\"114\" src=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-3.png\" alt=\"\" class=\"wp-image-2267\" srcset=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-3.png 619w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-3-300x55.png 300w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-3-18x3.png 18w\" sizes=\"(max-width: 619px) 100vw, 619px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">2. <strong>Detailed SMART Information:<\/strong> For a comprehensive report, including temperature, errors, and other attributes:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>sudo smartctl -a \/dev\/<\/em>sda<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"796\" height=\"1543\" src=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-4.png\" alt=\"\" class=\"wp-image-2268\" srcset=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-4.png 796w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-4-155x300.png 155w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-4-528x1024.png 528w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-4-768x1489.png 768w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-4-792x1536.png 792w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-4-6x12.png 6w\" sizes=\"(max-width: 796px) 100vw, 796px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">3. <strong>Perform a Self-Test:<\/strong> Initiate a <strong>short <\/strong>self-test:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>sudo smartctl -t short \/dev\/<\/em>sda<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"761\" height=\"216\" src=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-5.png\" alt=\"\" class=\"wp-image-2269\" srcset=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-5.png 761w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-5-300x85.png 300w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-5-18x5.png 18w\" sizes=\"(max-width: 761px) 100vw, 761px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wait one minute to complete the test and then run following command to see the restult:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>sudo smartctl -l selftest \/dev\/<\/em>sda<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"769\" height=\"166\" src=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-6.png\" alt=\"\" class=\"wp-image-2270\" srcset=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-6.png 769w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-6-300x65.png 300w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-6-18x4.png 18w\" sizes=\"(max-width: 769px) 100vw, 769px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">4. <strong>Perform a Self-Test:<\/strong> Initiate a <strong>long <\/strong>self-test:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>sudo smartctl -t long \/dev\/<\/em>sda<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"182\" src=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-7.png\" alt=\"\" class=\"wp-image-2271\" srcset=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-7.png 786w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-7-300x69.png 300w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-7-768x178.png 768w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-7-18x4.png 18w\" sizes=\"(max-width: 786px) 100vw, 786px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wait one minute to complete the test and then run following command to see the restult:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>sudo smartctl -l selftest \/dev\/<\/em>sda<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"769\" height=\"182\" src=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-8.png\" alt=\"\" class=\"wp-image-2272\" srcset=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-8.png 769w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-8-300x71.png 300w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/01\/image-8-18x4.png 18w\" sizes=\"(max-width: 769px) 100vw, 769px\" \/><\/figure>","protected":false},"excerpt":{"rendered":"<p>What is Smartmontools? Smartmontools is a set of utilities that monitors the Self-Monitoring, Analysis, and Reporting Technology (SMART) built into [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[317,387,389],"tags":[],"class_list":["post-2264","post","type-post","status-publish","format-standard","hentry","category-imm","category-imm-a5-firmware-imc5xx","category-how-to-guides-linux"],"_links":{"self":[{"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/posts\/2264","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/comments?post=2264"}],"version-history":[{"count":1,"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/posts\/2264\/revisions"}],"predecessor-version":[{"id":2273,"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/posts\/2264\/revisions\/2273"}],"wp:attachment":[{"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/media?parent=2264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/categories?post=2264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/tags?post=2264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}