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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-29-2003, 02:03 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 2
Rep:
|
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.
|
|
|
07-29-2003, 09:17 PM
|
#2
|
Member
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446
Rep:
|
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
|
|
|
07-30-2003, 05:48 AM
|
#3
|
LQ Newbie
Registered: Jul 2003
Posts: 2
Original Poster
Rep:
|
Thanks for that, I'll check it out.
|
|
|
07-30-2003, 10:22 AM
|
#4
|
Member
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|