LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-11-2007, 10:42 AM   #1
shawniecas
LQ Newbie
 
Registered: May 2007
Posts: 24

Rep: Reputation: 15
smartmontools


I'm still pretty new at Linux, and I'm using Red Hat Enterprise Linux 5.
I've been researching on how to do this, and I did "rpm -qa|grep
smartmontools" which told me that I had "smartmontools-5.36-3.1.el5."
So, I already have it downloaded, but now I typed "smartctl -i /dev/hda"
and the following was my output:

smartctl version 5.36 [i686-redhat-linux-gnu] Copyright (C) 2002-6 Bruce
Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model: SONY CD-RW CRX230ED
Serial Number: [No Information Found]
Firmware Version: 4YS1
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 5
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Mon Jun 11 10:15:39 2007 EDT
SMART support is: Unavailable - Packet Interface Devices [this device:
CD/DVD] don't support ATA SMART
A mandatory SMART command failed: exiting. To continue, add one or more
'-T permissive' options.


That end part is saying that it is unavailable...Any help would be much appreciated. Thanks
 
Old 06-11-2007, 12:48 PM   #2
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
Are you sure your hard drive is hda? smartctl reports that it is a CD-RW...first confirm which device node your your hard drive is using (hdb, hdc etc). Smartmontools is primarily used for hard drives and not for optical drives. That is probably the reason why you don't see anything in that output.
 
Old 06-11-2007, 12:58 PM   #3
shawniecas
LQ Newbie
 
Registered: May 2007
Posts: 24

Original Poster
Rep: Reputation: 15
yeah, I found out its sda, but it still doesn't work. Now I got:

In Linux, SATA disks accessed via libata are only supported by smartmontools
for kernel versions 2.6.15 and above. Try an additional '-d ata' argument.

And I already added "-d ata" so now I'm going to try researching libata. I have these two:

/usr/src/kernels/2.6.18-8.el5-i686/include/linux/libata.h
/usr/lib/openssl/engines/libatalla.so

but I have to find out if that is them or not. If not, I'm lost again
 
  


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
How can use smartmontools to monitor SATA drive benmok Linux - Software 3 04-03-2006 02:59 AM
smartctl (smartmontools) Support For SATA? VCore5.0 Linux - Software 2 11-28-2005 09:44 PM


All times are GMT -5. The time now is 02:21 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration