LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-29-2003, 02:03 AM   #1
jdawg
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
Diagnostic Software


Hi, I'm running Redhat 7.2 Advanced server on a compaq dl380 G1, and i wanted to do a diagnostic on a Harddrive that has an amber light. I've reseated the drive and the light is showing green. I was just wondering whether there are some diagnostic tools I can run on this drive. The drive has been mirrored using compaq smartstart.

Thanks in advance.

Jdawg

Last edited by jdawg; 07-29-2003 at 03:30 AM.
 
Old 07-29-2003, 09:17 PM   #2
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
man smartctl

smartctl - Control and Monitor Utility for SMART DisksSYNOPSIS
smartctl [options] device


DESCRIPTION
smartctl controls the Self-Monitoring, Analysis and Reporting Technology (SMART) system built into 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 pre-
dict drive failures, and to carry out different types of drive self-tests. This version of smartctl is compatible
with ATA/ATAPI-5 and earlier standards (see REFERENCES below)

smartctl is a command line utility designed to perform SMART tasks such as printing the SMART self-test and error
logs, and enabling and disabling SMART automatic testing. Note: if the user issues a SMART command that is (appar-
ently) not implemented by the device, smartctl will print a warning message but issue the command anyway. This
should not cause problems: unimplemented SMART commands issued to a drive are ignored and return an error.

smartctl also provides support for polling TapeAlert messages from SCSI tape drives and changers.

The user must specify the device to be controlled or interrogated as the final argument to smartctl. ATA devices use
the form "/dev/hd*" and SCSI devices use the form "/dev/sd*". For SCSI Tape Drives and Changers with TapeAlert sup-
port use the devices "/dev/nst*" and "/dev/sg*". More general paths may also be specified. smartctl will attempt to
guess the device type, but the '-d' option can be used to specify a device type of ATA or SCSI if required.

Note that the printed output of smartctl displays most numerical values in base 10 (decimal), but some values are
displayed in base 16 (hexidecimal). To distinguish them, the base 16 values are always displayed with a leading 0x
for example: "0xff". This man page follows the same convention.

/usr/sbin/smartctl is packaged in kernel-utils-2.4-8.29
 
Old 07-30-2003, 05:48 AM   #3
jdawg
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for that, I'll check it out.
 
Old 07-30-2003, 10:22 AM   #4
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
And as you are running RedHat and not Debian, you will not know about hddtemp.

Debian comes with this as a package, whereas RedHat does not include it.

So you will need to go to

http://coredump.free.fr/linux/hddtemp.php

download the source code and install it yourself.

And remember to keep things nice and tidy and to use stow.

http://www.gnu.org/software/stow/stow.html

or if you insist on doing it as an rpm, checkinstall.
 
  


Reply


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
motherboard diagnostic software? Mugatu Linux - Software 10 04-16-2011 08:53 AM
Best Linux PC System Diagnostic Software rvijay Linux - Software 2 11-14-2005 11:00 AM
how do i do a diagnostic? krt47 Mandriva 2 10-19-2005 12:46 PM
Question on diagnostic k1ll3r_x Linux - Software 4 02-22-2005 11:58 PM
Diagnostic Software nrunge Linux - Software 1 06-30-2004 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:42 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration