Re: [osol-discuss] Any way to tell temperature of hard drives [amd athlon hrdwr]

2009-04-27 Thread Andreas Nilsson
 
 [...]
 
 Dennis wrote:
  You can find SMARTmontools at :
 
i386:
 http://blastwave.network.com/csw/unstable/i386/5.11/
 
 
 
 martmontools-5.36,REV=2006.09.11-SunOS5.8-i386-CSW.pkg
 .gz
 
  sparc :
 http://blastwave.network.com/csw/unstable/sparc/5.11/
 
 
 
 martmontools-5.36,REV=2006.09.11-SunOS5.8-sparc-CSW.pk
 g.gz
 
  The latest rev is smartmontools-5.38 which I have
 sitting in the Blastwave
  farm. It will be out sometime this week or next
 week most likely.
 
  How to run it :
 
 [...] snipped lots of really good details thanks
 
 You gave really good walkthru but I must be missing a
 step early on.
 
 I'm having trouble with getting the stuff at
 /opt/csw.
 
 I thought pkgadd would be able to handle smartmon
 from blastwave but
 I must be getting it wrong:
 
 After gunzip I moved it to /var/spool/pkg
 
 pkgadd
  smartmontools-5.36\,REV\=2006.09.11-SunOS5.8-i386-CSW
 pkg 
 pkgadd: ERROR: no packages were found in
  /var/spool/pkg
 I thought maybe I need to shorten the name:
  pkgadd smartmontools
 pkgadd: ERROR: no packages were found in
 /var/spool/pkg
 
 I tried several other variations to including the
 direct path:
 
 cd /var/spool/pkg 
 pkgadd
  ./smartmontools-5.36\,REV\=2006.09.11-SunOS5.8-i386-C
 W.pkg
 pkgadd: ERROR: no packages were found in
  /var/spool/pkg
 Is this the wrong way to go at it altogether, or just
 bad syntax? 
 
 ___
 opensolaris-discuss mailing list
 opensolaris-discuss@opensolaris.org

Unpack the file to somewhere. Then try pkgadd -d /path/to/smartmontoolsfile
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Any way to tell temperature of hard drives [amd athlon hrdwr]

2009-03-31 Thread Harry Putnam

[...]

Dennis wrote:
 You can find SMARTmontools at :

   i386: http://blastwave.network.com/csw/unstable/i386/5.11/

   smartmontools-5.36,REV=2006.09.11-SunOS5.8-i386-CSW.pkg.gz

 sparc : http://blastwave.network.com/csw/unstable/sparc/5.11/

   smartmontools-5.36,REV=2006.09.11-SunOS5.8-sparc-CSW.pkg.gz

 The latest rev is smartmontools-5.38 which I have sitting in the Blastwave
 farm. It will be out sometime this week or next week most likely.

 How to run it :

[...] snipped lots of really good details thanks

You gave really good walkthru but I must be missing a step early on.

I'm having trouble with getting the stuff at /opt/csw.

I thought pkgadd would be able to handle smartmon from blastwave but
I must be getting it wrong:

After gunzip I moved it to /var/spool/pkg

 pkgadd smartmontools-5.36\,REV\=2006.09.11-SunOS5.8-i386-CSW.pkg 
 pkgadd: ERROR: no packages were found in /var/spool/pkg

I thought maybe I need to shorten the name:
 pkgadd smartmontools
 pkgadd: ERROR: no packages were found in /var/spool/pkg

I tried several other variations to including the direct path:

cd /var/spool/pkg 
 pkgadd ./smartmontools-5.36\,REV\=2006.09.11-SunOS5.8-i386-CSW.pkg
 pkgadd: ERROR: no packages were found in /var/spool/pkg

Is this the wrong way to go at it altogether, or just bad syntax? 

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Any way to tell temperature of hard drives [amd athlon hrdwr]

2009-03-31 Thread Dennis Clarke


 [...]

 Dennis wrote:
 You can find SMARTmontools at :

   i386: http://blastwave.network.com/csw/unstable/i386/5.11/

   smartmontools-5.36,REV=2006.09.11-SunOS5.8-i386-CSW.pkg.gz

 sparc : http://blastwave.network.com/csw/unstable/sparc/5.11/

   smartmontools-5.36,REV=2006.09.11-SunOS5.8-sparc-CSW.pkg.gz

 The latest rev is smartmontools-5.38 which I have sitting in the
 Blastwave
 farm. It will be out sometime this week or next week most likely.

 How to run it :

 [...] snipped lots of really good details thanks

 You gave really good walkthru but I must be missing a step early on.

 I'm having trouble with getting the stuff at /opt/csw.

 I thought pkgadd would be able to handle smartmon from blastwave but
 I must be getting it wrong:

 yep, you are. Easy to fix.

 After gunzip I moved it to /var/spool/pkg

don't do that.  You can put the package file anywhere, in /tmp is fine.

  pkgadd smartmontools-5.36\,REV\=2006.09.11-SunOS5.8-i386-CSW.pkg

close but no cigar.

Try :  pkgadd -G -d
./smartmontools-5.36\,REV\=2006.09.11-SunOS5.8-i386-CSW.pkg

If you are NOT on Solaris 10 or higher then do NOT use the -G

 Is this the wrong way to go at it altogether, or just bad syntax?

bad syntax, that's all.

-- 
Dennis Clarke


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Any way to tell temperature of hard drives [amd athlon hrdwr]

2009-03-31 Thread Harry Putnam
My setup:
Athlon64 2.2ghz 3400+ - AK86-L Aopen mobo (Topped out at 3gb ram)
4 500gb IDE drives on IDE controllers
2 750gb SATA drives on PCI sata controller 
  (adaptec 1205sa [Sil3112a chip])
Currently: osol-2008.11 build 110
= * = * = * =


[...]

Sorry to keep bugging you, but it appears I'm still getting something
wrong.  Neither of these produce usable results:
 
 format -e 
 [...]
   4. c5d0 WDC WD75-  WD-WMAU686-0001-698.63GB
  /p...@0,0/pci-...@8/i...@0/c...@0,0

 [...]

This is a very new disk.  I'd be surprised if it really didn't have
S.M.A.R.T technology.

= * = * = * =

  # /opt/csw/sbin/smartctl -a /dev/rdsk/c5d0
or
  # /opt/csw/sbin/smartctl -a /dev/rdsk/c5d0s0

/opt/csw/sbin/smartctl -a /dev/rdsk/c5d0s0
smartctl version 5.36 [i386-pc-solaris2.8] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/


###
ATA command routine ata_command_interface() NOT IMPLEMENTED under Solaris.
Please contact smartmontools-supp...@lists.sourceforge.net if
you want to help in porting smartmontools to Solaris.
###

Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)

A mandatory SMART command failed: exiting. To continue, add one or
more '-T permissive' options.

= * = * = * =
 

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Any way to tell temperature of hard drives [amd athlon hrdwr]

2009-03-31 Thread Harry Putnam
Harry Putnam rea...@newsguy.com writes:

 /opt/csw/sbin/smartctl -a /dev/rdsk/c5d0s0
 smartctl version 5.36 [i386-pc-solaris2.8] Copyright (C) 2002-6 Bruce Allen
 Home page is http://smartmontools.sourceforge.net/

Gackkk... sorry I didn't understand the bit about -T
A mandatory SMART command failed: exiting. To continue, \
add one or more '-T permissive' options.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Any way to tell temperature of hard drives [amd athlon hrdwr]

2009-03-31 Thread Dennis Clarke

 My setup:
 Athlon64 2.2ghz 3400+ - AK86-L Aopen mobo (Topped out at 3gb ram)
 4 500gb IDE drives on IDE controllers
 2 750gb SATA drives on PCI sata controller
   (adaptec 1205sa [Sil3112a chip])
 Currently: osol-2008.11 build 110
 = * = * = * =


 [...]

 Sorry to keep bugging you, but it appears I'm still getting something
 wrong.  Neither of these produce usable results:

  format -e
  [...]
4. c5d0 WDC WD75-  WD-WMAU686-0001-698.63GB
   /p...@0,0/pci-...@8/i...@0/c...@0,0

  [...]

 This is a very new disk.  I'd be surprised if it really didn't have
 S.M.A.R.T technology.

Sorry, that is the wrong type of disk.

Perhaps the latest version will help.  Let me get back to you on that.

Dennis


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Any way to tell temperature of hard drives [amd athlon hrdwr]

2009-03-27 Thread Harry Putnam
Dennis Clarke dcla...@blastwave.org
writes:

 Setup:
 amd Athlon64 2.2Ghz +3400 - Aopen Ak-86 mobo

 Can anyone tell me if there is some application that can tell the
 temperatures of my harddrives?

 Do we have anthing like lm_sensors in the linux world?

 Anyway at all short of booting to BIOS?

 SMART firmware based disks can be queried with smartctl.

 You can find SMARTmontools at :

   i386: http://blastwave.network.com/csw/unstable/i386/5.11/

   smartmontools-5.36,REV=2006.09.11-SunOS5.8-i386-CSW.pkg.gz

Thanks.   I haven't installed this yet but wondered if there is
anything that monitors cpu temp available for opensolaris?

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Any way to tell temperature of hard drives [amd athlon hrdwr]

2009-03-27 Thread Martin Bochnig
On Fri, Mar 27, 2009 at 2:03 PM, Harry Putnam rea...@newsguy.com wrote:
 Dennis Clarke dcla...@blastwave.org

[...]

 SMART firmware based disks can be queried with smartctl.

 You can find SMARTmontools at :

   i386: http://blastwave.network.com/csw/unstable/i386/5.11/

       smartmontools-5.36,REV=2006.09.11-SunOS5.8-i386-CSW.pkg.gz

 Thanks.   I haven't installed this yet but wondered if there is
 anything that monitors cpu temp available for opensolaris?


On SPARC plus on older versions of Solaris  /usr/sbin/prtdiag used to
show exact CPU-fan speed and -temperature in degrees Celsius (at least
on Blade1000/2000/SF280R/N20). Newer versions only show ok.

I'm not sure if this is a new feature of the prtdiag command, or
rather if it is related to the newer OBP version to which I upgraded
my boxes in January 2005. A look at the prtdiag code would reveal
this.

On x86 I'm not sure if /usr/sbin/smbios could be enhanced to query
temperature sensors from the BIOS, maybe the is an open-src tools for
this. Maybe Dennis Clarke has the right answer on blastwave.org (?).

%martin
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Any way to tell temperature of hard drives [amd athlon hrdwr]

2009-03-26 Thread Dennis Clarke


 Setup:
 amd Athlon64 2.2Ghz +3400 - Aopen Ak-86 mobo

 Can anyone tell me if there is some application that can tell the
 temperatures of my harddrives?

 Do we have anthing like lm_sensors in the linux world?

 Anyway at all short of booting to BIOS?

SMART firmware based disks can be queried with smartctl.

You can find SMARTmontools at :

  i386: http://blastwave.network.com/csw/unstable/i386/5.11/

  smartmontools-5.36,REV=2006.09.11-SunOS5.8-i386-CSW.pkg.gz

sparc : http://blastwave.network.com/csw/unstable/sparc/5.11/

  smartmontools-5.36,REV=2006.09.11-SunOS5.8-sparc-CSW.pkg.gz

The latest rev is smartmontools-5.38 which I have sitting in the Blastwave
farm. It will be out sometime this week or next week most likely.

How to run it :

# /opt/csw/bin/pkgutil --install smartmontools

MD5 for CSWsmartmontools matched.
Installing CSWsmartmontools

Processing package instance CSWsmartmontools from
/var/opt/csw/pkgutil/packages/smartmontools-5.36,REV=2006.09.11-SunOS5.8-i386-CSW.pkg

smartmontools - S.M.A.R.T. utility toolset
(i386) 5.36,REV=2006.09.11
## Processing package information.
## Processing system information.
   11 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

Installing smartmontools - S.M.A.R.T. utility toolset as CSWsmartmontools

## Installing part 1 of 1.
/etc/init.d/smartd
/etc/rc0.d/K05smartd symbolic link
/etc/rc1.d/K05smartd symbolic link
/etc/rc2.d/K05smartd symbolic link
/etc/rc3.d/S95smartd symbolic link
/etc/rcS.d/K05smartd symbolic link
/opt/csw/etc/smartd.conf.CSW
/opt/csw/sbin/smartctl
/opt/csw/sbin/smartd
/opt/csw/share/doc/smartmontools/AUTHORS
/opt/csw/share/doc/smartmontools/CHANGELOG
/opt/csw/share/doc/smartmontools/COPYING
/opt/csw/share/doc/smartmontools/INSTALL
/opt/csw/share/doc/smartmontools/NEWS
/opt/csw/share/doc/smartmontools/README
/opt/csw/share/doc/smartmontools/TODO
/opt/csw/share/doc/smartmontools/WARNINGS
/opt/csw/share/doc/smartmontools/examplescripts/Example1
/opt/csw/share/doc/smartmontools/examplescripts/Example2
/opt/csw/share/doc/smartmontools/examplescripts/Example3
/opt/csw/share/doc/smartmontools/examplescripts/README
/opt/csw/share/doc/smartmontools/smartd.conf
/opt/csw/share/man/man1m/smartctl.1m
/opt/csw/share/man/man1m/smartd.1m
/opt/csw/share/man/man4/smartd.conf.4
[ verifying class none ]

Installation of CSWsmartmontools was successful.
#

# ldd /opt/csw/sbin/smartctl
libnsl.so.1 =   /usr/lib/libnsl.so.1
libc.so.1 = /usr/lib/libc.so.1
libdl.so.1 =/usr/lib/libdl.so.1
libmp.so.2 =/usr/lib/libmp.so.2
#

# format -e
Searching for disks...done


AVAILABLE DISK SELECTIONS:
   0. c1t0d0 DEFAULT cyl 1103 alt 2 hd 255 sec 63
  /p...@0,0/pci9004,7...@8/s...@0,0
   1. c2t0d0 SEAGATE-ST39102LW-8320 cyl 6921 alt 2 hd 12 sec 214
  /p...@0,0/pci1011,2...@11/pci1000,1...@4/s...@0,0
   2. c2t2d0 DEFAULT cyl 8921 alt 2 hd 255 sec 63
  /p...@0,0/pci1011,2...@11/pci1000,1...@4/s...@2,0
   3. c3t1d0 DEFAULT cyl 4424 alt 2 hd 255 sec 63
  /p...@0,0/pci9004,7...@12/s...@1,0
Specify disk (enter its number): ^D

So pick a disk.

# /opt/csw/sbin/smartctl -a /dev/rdsk/c3t1d0s0
smartctl version 5.36 [i386-pc-solaris2.8] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: SEAGATE  ST336704LSUN36G  Version: 032C
Serial number: 3CD0T8N67120H9DU
Device type: disk
Local Time is: Thu Mar 26 11:12:10 2009 EDT
Device supports SMART and is Enabled
Temperature Warning Enabled
SMART Health Status: OK

Current Drive Temperature: 42 C
Drive Trip Temperature:65 C
Manufactured in week 46 of year 2000
Current start stop count:  42 times
Recommended maximum start stop count:  1 times
Elements in grown defect list: 0
Vendor (Seagate) cache information
  Blocks sent to initiator = 1196304931
  Blocks received from initiator = 697150337
  Blocks read from cache and sent to initiator = 216591399
  Number of read and write commands whose size = segment size = 7837521
  Number of read and write commands whose size  segment size = 0
Vendor (Seagate/Hitachi) factory information
  number of hours powered up = 11032.38
  number of minutes until next internal SMART test = 42

Error counter log:
   Errors Corrected by   Total   Correction Gigabytes 
  Total
   ECC  rereads/errors   algorithm  processed 
  uncorrected
   fast | delayed   rewrites  corrected  invocations   [10^9
bytes]  errors
read:8160 0   816816723.602   
   0
write: 00 0 0  0367.204   
   0

Non-medium error count:1

[GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on']

SMART Self-test log
Num  Test