![]() By using the smartctl and badblocks tools, you can identify potential issues with your hard drive before they result in data loss or system failure. Regularly checking your hard drive’s health is an essential part of maintaining a reliable and efficient system. ![]() Please note that running badblocks will erase all data on the drive, so it should only be used on a drive that does not contain any important data, or from which all important data has been backed up. As with the smartctl command, you may need to replace /dev/sda with the appropriate device name for your hard drive. In this command, -v is an option that tells badblocks to operate in verbose mode, which means it will display more detailed output. To use badblocks, run the following command: sudo badblocks -v /dev/sda ![]() This utility performs a read/write operation on all blocks of the drive to identify any that are failing. Checking for Bad BlocksĪnother tool you can use to check your hard drive’s health is badblocks. If it says anything else, your hard drive may be failing. If this line says PASSED, your hard drive is considered healthy. The most important line is the one that starts with SMART overall-health self-assessment test result. This command will output a lot of information. You may need to replace /dev/sda with the appropriate device name for your hard drive. dev/sda is the device file representing your hard drive. In this command, -all is an option that tells smartctl to display all SMART information it can retrieve from the drive. The general syntax of this command is as follows: sudo smartctl -all /dev/sda Once smartmontools is installed, you can use the smartctl command to check the health of your hard drive. This command uses the apt-get package manager to download and install the smartmontools package. To install smartmontools, open your terminal and run the following command: sudo apt-get install smartmontools This system monitors various aspects of a drive’s performance and can provide warnings of potential failures. Tools Requiredįor this task, we will be using smartmontools, a set of applications that can interact with the Self-Monitoring, Analysis, and Reporting Technology (SMART) system built into most modern hard drives. Therefore, regularly checking your hard drive’s health can help you prevent these issues. A failing hard drive can result in data loss, system crashes, and other undesirable outcomes. But for older versions you can install it manually by using the below command.The health of your hard drive is a critical factor in the performance and reliability of your system. If I’m not mistaken, you should be able to use this app in Ubuntu 10.04 & 10.10 (including both 11.10 Oneiric Ocelot and 11.04 of course) without having to manually install it. Remember, although SMART technology is there to help you but don’t run it quite frequently as it might unnecessarily put some stress on the HDD and shorten its lifespan. Just choose your test method and follow the on-screen instructions. Things are pretty much automatic from here. By using this window you can actually see a lot of details of the HDD itself such as its Temperature, whether it passed the last SMART test or not and some individual tests related information. This will let you perform three types of S.M.A.R.T tests on your HDD. Now click on it and from the next window choose “Run Self Tests”. Now, to your left under “Local Storage”, choose your HDD and then to your right-side you’ll see a button called “Smart Data”.ĥ. Then you should see a window a bit similar to the first image shown above.Ĥ. Or just open your Terminal window (or press ‘Alt’ + ‘F2’) and put the below command and press the Enter key (both methods should work).ģ. Just press “Windows key” (in Unity desktop) and simply put the below text and click on its icon.Ģ. ![]() There are few users available in Ubuntu but Ubuntu actually comes with a disk utility (GUI) of its own that we can use to perform these S.M.A.R.T tests with ease.ġ. Other than letting the HDD to inform us when something bad is about to happen, there are tools that we can use to perform these tests manually to check for the health of the HDD. This “health check” is performed by the HDD itself by using various read & write methods, spin up/down tests etc. On most occasions, it should be able to notify you just before something bad is about to happen (don’t count on it though… taking backups is still the king). S.M.A.R.T (Self-monitoring analysis and reporting) is a fail safe technology that’s built into newer hard disk drives that has the ability to monitor the drive and give feed-back about its health. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |