|
Using smartmontools / smartctl to test for a faulty drive in Linux
|
|
11-08-2011, 12:54 PM
(This post was last modified: 01-24-2013 10:10 AM by Unkoerl.)
Post: #1
|
|||
|
|||
|
Using smartmontools / smartctl to test for a faulty drive in Linux
Smartmontools is a utility that allows to monitor the status of your storage devices by using the S.M.A.R.T (Self-Monitoring, Analysis, and Reporting Technology) monitoring system.
In this guide, we will see how to install Smartmontools on Debian run this command to install Smartmontools: sudo apt-get install smartmontools yum install smartmontools After you finish the installation of Smartmontools, you have to enable S.M.A.R.T on your hard drive. Therefore, launch the terminal as root, then issue this command: smartctl --saveauto=on --smart=on --offlineauto=on /dev/sda To launch a quick check of your hard drive status, run simply this command: smartctl -t short /dev/sda To launch a deep check of your hard drive status, run this command: smartctl -t long /dev/sda To view results of the test, run this command: smartctl -l selftest /dev/sda You can also issue this command to view information about your hard disk: smartctl -a /dev/sda |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)




