Hard Drive Error Checking Linux
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about linux check hard drive for errors hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question linux check hard drive health _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up
Check Hard Disk Health Linux Command
Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How to check the health of a hard drive up vote 65 down vote favorite 20 My
How To Check Failed Disk In Linux
SATA drive started clicking and I was unable to access the data. It was not clicking loudly though, like a drive that has already gone bad. After tightening the connections to the hard drive, it stopped clicking and I was able to access the data again. I have started to move files off of the drive, but I think this drive might still be in good health. I didn't find any data corruption and I haven't had any trouble linux hard drive speed test accessing any files. I have never had an SATA drive fail before so I'm thinking that it could have just been the loose connections that was causing the problem. What tests can I run on this drive to find out how healthy it is? This is the hard drive in question: HITACHI Deskstar T7K250 HDT722525DLA380 (0A31636) 250GB 7200 RPM 8MB Cache SATA 3.0Gb/s 3.5" Hard Drive -Bare Drive linux hard-drive sata share|improve this question edited Aug 3 '10 at 8:57 Mokubai♦ 37.4k1193109 asked Aug 2 '10 at 23:23 tony_sid 4,3902683150 1 Oh, when I answered you hadn't mentioned that it was a deathstar. At least some of the Deskstar line has a very bad reputation for longevity and reliability. Bad enough that the failing drives are termed "deathstar". –Slartibartfast Aug 4 '10 at 2:02 add a comment| 10 Answers 10 active oldest votes up vote 59 down vote accepted sudo smartctl -a /dev/sda | less This will give you an abundance of information about your hard drive's health. The tool also permits you to start and monitor self tests of the drive. If you want to do benchmarks / check all of the sectors to find one that is bad, you can find other tools for that, but smartctl is the first place to go for drive health status. share|improve this answer answered Aug 3 '10 at 4:23 Slartibartfast 4,3231218 5 And Palimpsest (aka gnome-disk-
10, 2012 in CentOS, Debian Linux, File system, Gentoo Linux, Howto, Linux, Linux distribution, Sys admin, Tips, Troubleshooting, Ubuntu LinuxOne of our regular reader sends us a question:
How can I test if myLinux Badblocks
hard disk is going bad? I see few errors in /var/log/messages file.I/O errors linux smartctl in /var/log/messages indicates that something is wrong with the hard disk and it may be failing. You can check hard disk how to check disk status in linux for errors using smartctl command, which is control and monitor utility for SMART disks under Linux / UNIX like operating systems. smartctl controls the Self-Monitoring, Analysis and Reporting Technology (SMART) system built into http://superuser.com/questions/171195/how-to-check-the-health-of-a-hard-drive many ATA-3 and later ATA, IDE and SCSI-3 hard drives. The purpose of SMART is to monitor the reliability of the hard drive and predict drive failures, and to carry out different types of drive self-tests.smartctl for serverssmartctl is a command line utility designed to perform SMART tasks such as printing the SMART self-test and error logs, enabling and disabling SMART automatic testing, and initiating device self-tests. First, http://www.cyberciti.biz/tips/linux-find-out-if-harddisk-failing.html make sure S.M.A.R.T. support is enabled in the BIOS. Next, run the following command to see if your hard disks support S.M.A.R.T technology or not: # smartctl -i /dev/sdb To enable SMART, run: # smartctl -s on -d ata /dev/sdb Sample outputs:smartctl version 5.33 [x86_64-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF ENABLE/DISABLE COMMANDS SECTION === SMART Enabled.Run overall-health self-assessment test, enter: # smartctl -d ata -H /dev/sdb Sample outputs:smartctl version 5.33 [x86_64-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSEDA sample output from failing hard disk:smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED Please note the following marginal Attributes: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 190 Airflow_Temperature_Cel 0x0022 044 033 045 Old_age Always FAILING_NOW 56 (96 110 58 25)The following will provide even more information about failing hard disk: # smartctl --attributes --log=selftest /dev/sda Sample outputs:smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF READ SMART DATA SECTION === SMART A
and iPad Internet Security Technology News Lifestyle Entertainment Office Productivity Creative Gaming Browsers Social Media Finance Self Improvement Hardware Technology Explained Buying Guides Smart Home DIY Product Reviews Deals Giveaways Top Lists About About MakeUseOf Advertise Privacy Chats Search for: Facebook Pinterest Twitter YouTube Search Popular Topics The Internet Windows iPhone and iPad Android Mac Gaming MakeUseOf Google Now Tells You When Politicians Are Lying Internet Tech News Google Now Tells You When Politicians Are Lying Dave Parrack 7 Reasons You'll Want to Upgrade to Android Nougat Android 7 Reasons You'll Want to Upgrade to Android Nougat Christian Cawley Top Deals Search Open Menu Close Menu PC & Mobile Windows Mac OS X Linux Android iPhone and iPad Internet Security Technology News Lifestyle Entertainment Office Productivity Creative Gaming Browsers Social Media Finance Self Improvement Hardware Technology Explained Buying Guides Smart Home DIY Product Reviews Deals Giveaways Top Lists About About MakeUseOf Advertise Privacy Chats Facebook Facebook Facebook Facebook Search for: Avoid Linux HDD Faults & Errors With These Tools Linux Avoid Linux HDD Faults & Errors With These Tools Danny Stieben August 4, 2012 04-08-2012 4 minutes Avoid Linux HDD Faults & Errors With These Tools Facebook Twitter Pinterest Stumbleupon Whatsapp Email Ads by Google From personal experience, whenever I have a problem with any component in my computer, it’s more often the hard drive than anything else. My CPU has never failed me, nor my RAM, and my motherboard only once – partially. However, if I still had all the hard drives which have caused me some sort of grief or failed completely, it would sum up to a good-sized pile. However, you can prolong the life of your hard drives through careful monitoring and maintenance. If you’re