LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-06-2012, 11:25 AM   #1
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Check IDE Disk Wellness


Other than forcing an fsck on reboot, is there a way to check the health of an IDE drive on a Red Hat Enterprise Linux ES system?

Linux xxxxxx 2.4.21-58.ELsmp #1
SMP Tue Nov 4 11:47:13
EST 2008 i686 i686 i386 GNU/Linux
 
Old 03-06-2012, 01:10 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,366

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
smartctl? Isn't that what it's designed for?
 
Old 03-06-2012, 01:32 PM   #3
Slackyman
Member
 
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347

Rep: Reputation: 44
You can use smartctl to verify HD health status by S.M.A.R.T. capabilities of the disk itself.
 
1 members found this post helpful.
Old 03-06-2012, 02:32 PM   #4
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 308

Rep: Reputation: 45
hdparm is a command that compiles easily on tiny Puppy Linux >
Source:
http://sourceforge.net/projects/hdparm/files/hdparm/

hdparm -iI /dev/hda#

should give some first info about the IDE HDD

It also works with SATA drives

The man page is very large . Just to update it , i would compile and install a newer hdparm source .

My hdparm is 9.15 so i will do this now ...

It's simply make && make install inside the source ,
default installs to /sbin and /usr/share/man/man8

bash-3.00# hdparm -V
hdparm v9.39
bash-3.00# hdparm -H /dev/sda

/dev/sda:
drive temperature (celsius) is: 38
drive temperature in range: yes

My HDD is a used Hitachi one

Now to unlock my crashed Laptop Vista HDD
 
1 members found this post helpful.
Old 03-06-2012, 02:34 PM   #5
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,731

Rep: Reputation: 196Reputation: 196
Depending on the drive...

In addition to the SMART utility, there might be a HDD utility from the drive manufacturer you can download and run. Samsung has ESTool, Seagate has SeaTools; other brands have their own.

For SMART to work it must be activated in the system BIOS and in the HDD firmware. That SMART is activated on the HDD is one of the things a HDD utility will confirm, or will activate if necessary.
 
  


Reply

Tags
disk diagnostics, fsck, ide


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ide Drive Not Seen By The Kernel With Sata Disk As Boot Disk xasanchez Linux - Newbie 3 12-27-2007 12:18 PM
Disk check takes too long to check hemantm Linux - Hardware 16 12-22-2006 04:18 AM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 02:10 AM
use ide-scsi to emulate an ide disk as a scsi disk free_ok_man Linux - Software 1 07-01-2003 05:08 PM
use ide-scsi to emulate an ide disk as a scsi disk free_ok_man Linux - Newbie 1 07-01-2003 03:51 AM


All times are GMT -5. The time now is 04:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration