Thursday, January 14, 2010

How to check the Hard Disk performance and health on Debian Systems

 
Proberbility of faliurs are high on the HDD is the highest because of the highest active part of a computer.Therefore it is better to keep a eye on that. Following are some of the ways we can check the HDD performance.


sudo apt-get install smartmontools

Get HDD info
smartctl -i /dev/sda

=== START OF INFORMATION SECTION ===
Model Family: Hitachi Travelstar 7K100
Device Model: Hitachi HTS721060G9SA00
Serial Number: MPCC12Y3GUPARE
Firmware Version: MC3OC10H
User Capacity: 60,011,642,880 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 7
ATA Standard is: ATA/ATAPI-7 T13 1532D revision 1
Local Time is: Thu Jan 14 19:54:34 2010 MVT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

Note ATA Verstion 8 is SATA HDD and 7 is IDE



General overall HDD health

smartctl -H /dev/sda

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


If its not "PASSED" there is a problem with the HDD and take the nessery actions ASAP.



If you want to take a detail out put use following command to see short-selftest and long self-test
time taken

smartctl -c /dev/sda


Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 35) minutes.

Then run the short or extended self tests as follows

smartctl -t short /dev/sda
smartctl -l selftest /dev/sda



then check the self tests results

smartctl -t long /dev/sda


Check the disk temprature

smartctl -A /dev/sda | grep Temp

194 Temperature_Celsius 0x0002 103 103 000 Old_age Always - 53 (Lifetime Min/Max 19/66)

or use following tool

apt-get install hddtemp
hddtemp /dev/sda

If the temprature goes above 60 you may want to change the HDD soon.


Check HDD Speed

hdparm -tT /dev/sda

9 comments:

  1. the above tips for checking hard disk performance is nice and i follow it
    250gb external hard disk

    ReplyDelete
  2. Just how much patient-driven overutilization costs the health care system is hard to pin down as we have mostly only anecdotal evidence as above.guarantor

    ReplyDelete
  3. In the first place, clearing of the injured moved at a snail's pace and this caused serious postponements in treating the injured. Furthermore, many injuries were subjected to wound care, related surgeries and additionally removals of the influenced appendages and this regularly brought about the beginning of enormous disease. https://stdauthority.com/tennessee-std-testing

    ReplyDelete
  4. This pregnancy movie is completely amazing as it has shown each and every color of the life from comedy to emotions, depart, feeling and everything else, which made the same movie the best of al https://stdauthority.com/greeley-colorado-std-testing

    ReplyDelete
  5. Financial analysts have found that expanding health care costs relate to drops in health protection scope. vitiligo and obesity

    ReplyDelete
  6. Once they made that transition, they pushed cost reductions to the back burner. There are some small cost reduction components in ObamaCare, but the real emphasis is on regulating health insurance. homeopathic cold

    ReplyDelete
  7. In 2009, the Health Care Fraud Enforcement Act appeared on the scene. https://legalsteroidsbestnetwork.vuodatus.net/

    ReplyDelete
  8. Our body also needs to be serviced regularly and checked for better functioning. Do you value your health as much as you do that of your vehicle?ctfocbdonline

    ReplyDelete
  9. In Trinidad and Tobago the current system of healthcare is highly centralized. The Ministry of Health maintains operational oversight of five regional health authorities. www.mairanutrition.com

    ReplyDelete