LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-01-2012, 05:42 PM   #1
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Rep: Reputation: 1
Question where is /proc/ide/sda/smart_values in ubuntu


Hi,

I am trying to configure rrdcollect.conf and looking for directory in ubuntu which supposed to be located like:
/proc/ide/sda/smart_values
but does not exist

Could please anybody navigate me how/where to find it ?

thank you,
kind regards,
M.
 
Old 06-01-2012, 06:33 PM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 4,679

Rep: Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240
My guess is that directory /proc/ide/sda/smart_values is created only if you install the appropriate tools to monitor HDD temperature, see e.g. this page. The information date back 2009 but may be still usable.
 
Old 06-01-2012, 06:37 PM   #3
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
Do "ls -l /proc/ide" and see what you have there. The man page suggests that smart* should be below /proc/ide not /proc/ide/sd*.

Type "man proc" for details about what is usual in ide.

If you have no ide (ATA) drives you may have little or nothing in /proc/ide or since all drives are now shown as /dev/sd* (e.g sda) which would be scsi nomenclature you may need to look for what you want in a completely different area (e.g. /proc/scsi). It depends a lot on what physical hardware you actually have.
 
Old 06-02-2012, 04:29 AM   #4
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Didier Spaier View Post
My guess is that directory /proc/ide/sda/smart_values is created only if you install the appropriate tools to monitor HDD temperature, see e.g. this page. The information date back 2009 but may be still usable.
Thanks for help.
That post is old but all that stuff I have installed and is properly working.
I have sensord / hddtemp showed on my xfce4 panel desktop to see temperatures of all hard drives (and other hardware stuff).
unfortunatelly /proc/ide does not exist. I have been looking for smart string in /dev/ subdirectory as well in /proc/ but nothing sililar to find.
all temperatures of hdds are properly logged.

I just cannot find any *smart* (even smartd daemon running). :-(
and have no idea what to look for ?
 
Old 06-02-2012, 05:01 AM   #5
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by MensaWater View Post
Do "ls -l /proc/ide" and see what you have there. The man page suggests that smart* should be below /proc/ide not /proc/ide/sd*.

Type "man proc" for details about what is usual in ide.

If you have no ide (ATA) drives you may have little or nothing in /proc/ide or since all drives are now shown as /dev/sd* (e.g sda) which would be scsi nomenclature you may need to look for what you want in a completely different area (e.g. /proc/scsi). It depends a lot on what physical hardware you actually have.
Thanks for helping me.

/proc/ide does not exist. I have serial ata disks (in BIOS settings acpi (not IDE)) - mapping is in /dev/sdX . /proc/scsi arrea does not contain information about hdd/s temperatures / smart information.
man proc does not contain any information about "smart".

I have temperature information in my log file. smartd daemon runs , sensord runs. all temperature infos are properly showed on my psensor-server.

Sorry , I am probably blind but I have no idea where to look for :-(

maybe only where is probably info about temperature of harddisks is:
cat /proc/diskstats |grep sd*
but I am not sure if
8 0 sda 2469 3956 22638 11444 55 197 3106 172 0 4000 11616
8 16 sdb 4508 5194 49251 55452 43 180 1616 288 0 6372 55740
8 32 sdc 124760 50372 4588772 2236456 44899 98051 3447736 8017960 0 673836 10254712
8 48 sdd 2188 3932 19754 14992 74 226 3384 980 0 6460 15972
8 64 sde 2104 5247 19568 12244 55 203 3144 132 0 3972 12376

but compare it to other measuring 55,43,74,55 Celsius seems to me it is not temperature.



according to cat /proc/scsi/scsi

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: ST2000DL003-9VT1 Rev: CC32
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: Hitachi HDS5C302 Rev: ML6O
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: Hitachi HDS72101 Rev: JP4O
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi4 Channel: 00 Id: 00 Lun: 00
Vendor: PIONEER Model: BD-RW BDR-206M Rev: 1.04
Type: CD-ROM ANSI SCSI revision: 05
Host: scsi8 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: WDC WD20EARS-00M Rev: 51.0
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi9 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: SAMSUNG HD204UI Rev: 1AQ1
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi11 Channel: 00 Id: 00 Lun: 00
Vendor: Verbatim Model: STORE N GO Rev: PMAP
Type: Direct-Access ANSI SCSI revision: 00
Host: scsi12 Channel: 00 Id: 00 Lun: 00
Vendor: Generic Model: USB SD Reader Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 00
Host: scsi12 Channel: 00 Id: 00 Lun: 01
Vendor: Generic Model: USB CF Reader Rev: 1.01
Type: Direct-Access ANSI SCSI revision: 00
Host: scsi12 Channel: 00 Id: 00 Lun: 02
Vendor: Generic Model: USB SM Reader Rev: 1.02
Type: Direct-Access ANSI SCSI revision: 00
Host: scsi12 Channel: 00 Id: 00 Lun: 03
Vendor: Generic Model: USB MS Reader Rev: 1.03
Type: Direct-Access ANSI SCSI revision: 00
Host: scsi10 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: OCZ-REVODRIVE3 M Rev: 2.22
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi10 Channel: 00 Id: 01 Lun: 00
Vendor: ATA Model: OCZ-REVODRIVE3 M Rev: 2.22
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi10 Channel: 00 Id: 02 Lun: 00
Vendor: ATA Model: OCZ-REVODRIVE3 M Rev: 2.22
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi10 Channel: 00 Id: 03 Lun: 00
Vendor: ATA Model: OCZ-REVODRIVE3 M Rev: 2.22
Type: Direct-Access ANSI SCSI revision: 05


seems that all drives sitting on scsi host ?

I am out of ideas :-(
 
Old 06-04-2012, 09:56 AM   #6
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
I haven't really played with SMART before.

On doing some reading on my systems I see there is a "smartd" daemon that runs. It uses /etc/smartd.conf as a configuration file to determine what to monitor.

Also there is a "smartctl" command that can be used to query devices. Running "smartctl -a /dev/sda" should show you whatever smart can find out about sda. On a couple of different systems it didn't show me anything mainly because I'm using specialized RAID controllers but if you're doing direct SATA setups it might work for you.

Based on that read and the fact that starting with kernel 2.6 IDE (ATA) drives are shown in same naming convention as SCSI (and SAS) it may be the information you found about /proc/ide is rather old and no longer valid. I'd suggest reviewing the man pages for smartd and smartctl.
 
  


Reply

Tags
config, proc, smart


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 detected as sda? vinnywrite Mandriva 5 01-29-2009 07:45 PM
Why does FC 7/8 install IDE drives as /dev/sda? grgoffe Fedora 12 12-25-2007 06:00 AM
how to know contents of /proc/ide/hda/smart_values and /proc/ide/hda/smart_threshold Prassanta Suse/Novell 0 02-23-2006 05:21 AM
mount USB devices, sda, manually/statically assign sda? Oxyacetylene Debian 3 12-20-2004 03:45 PM
Help, rename a value under proc/ide/ide1/hdc/model Brian1 Linux - Software 2 11-14-2004 08:54 PM


All times are GMT -5. The time now is 10:59 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration