LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   where is /proc/ide/sda/smart_values in ubuntu (http://www.linuxquestions.org/questions/linux-newbie-8/where-is-proc-ide-sda-smart_values-in-ubuntu-948045/)

masuch 06-01-2012 05:42 PM

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.

Didier Spaier 06-01-2012 06:33 PM

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.

MensaWater 06-01-2012 06:37 PM

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.

masuch 06-02-2012 04:29 AM

Quote:

Originally Posted by Didier Spaier (Post 4693400)
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 ?

masuch 06-02-2012 05:01 AM

Quote:

Originally Posted by MensaWater (Post 4693403)
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 :-(

MensaWater 06-04-2012 09:56 AM

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.


All times are GMT -5. The time now is 05:07 AM.