PDA

View Full Version : [ubuntu] check hard drive for damage in Linux



ub9876
August 15th, 2010, 02:05 AM
is there a terminal command to run a HD integrity test??
9.04

ubudog
August 15th, 2010, 02:36 AM
Type:

man fsck
and use the options that are provided there to check it.

oldsoundguy
August 15th, 2010, 02:41 AM
To REALLY check out the parameters of any drive .. get the drive utility from the manufacturer of the disk. It is a boot disk and you can run and test.

or you can download burn and run Hirens .. loads of utilities including drive testing.

Neither will change any thing on the drive.

ubudog
August 15th, 2010, 02:43 AM
You can also use Palimpset (Disk Utility), but I don't know if it comes with 9.04. You can probably install it though.

bodhi.zazen
August 15th, 2010, 04:19 AM
Use smart montools

http://www.cyberciti.biz/tips/linux-find-out-if-harddisk-failing.html

SteelCore
August 15th, 2010, 06:55 AM
If by HD integrity you mean finding bad sectors then the badblocks command can help. Here's how you use it, you can replace /dev/sda with whatever device you want to check:

badblocks -sv /dev/sda
the s option is to show you progress by giving you the percentage and the v option is for verbose mode (to give better clarity). I hope that helps.

ubudog
August 15th, 2010, 01:53 PM
Use smart montools

http://www.cyberciti.biz/tips/linux-find-out-if-harddisk-failing.html

I used to use this too. Very useful tool.

bodhi.zazen
August 15th, 2010, 04:53 PM
Type:

man fsck
and use the options that are provided there to check it.

Although they tend to go together, fsck checks the file system.

metalf8801
August 15th, 2010, 05:18 PM
try GSmartControl its in the Ubuntu Software Center nice GUI program