How do I get SMART data from my drives? I''m running snv_101 on AMD64. I have 6x SATA disks.
Hi Joe, Joe S wrote:> How do I get SMART data from my drives? > > I''m running snv_101 on AMD64. > > I have 6x SATA disks.I guess that highly depends how these are connected. If they are not ''hidden'' behind a RAID-controller, you might have success with http://smartmontools.sourceforge.net/download.html although you might need to compile it. HTH Carsten
Thanks for the recommendations. I should have mentioned that I already tried that smartmontools. I''ve read that there are problems with smartmontools and Solaris. Sure enough, I get this error: # /usr/local/sbin/smartctl -a -d ata /dev/rdsk/c2t0d0 smartctl version 5.38 [i386-pc-solaris2.11] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ ####################################################################### ATA command routine ata_command_interface() NOT IMPLEMENTED under Solaris. Please contact smartmontools-support at 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. On Sat, Dec 6, 2008 at 10:57 AM, Carsten Aulbert <carsten.aulbert at aei.mpg.de> wrote:> Hi Joe, > > Joe S wrote: >> >> How do I get SMART data from my drives? >> >> I''m running snv_101 on AMD64. >> >> I have 6x SATA disks. > > I guess that highly depends how these are connected. If they are not > ''hidden'' behind a RAID-controller, you might have success with > http://smartmontools.sourceforge.net/download.html > although you might need to compile it. > > HTH > > Carsten >
the sata framework uses the sd driver so its: 4 % smartctl -d scsi -a /dev/rdsk/c4t2d0s0 smartctl version 5.36 [i386-pc-solaris2.8] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ Device: ATA WDC WD1001FALS-0 Version: 0K05 Serial number: Device type: disk Local Time is: Mon Dec 8 15:14:22 2008 EST Device supports SMART and is Enabled Temperature Warning Disabled or Not Supported SMART Health Status: OK Current Drive Temperature: 45 C Error Counter logging not supported No self-tests have been logged 5 % /opt/SUNWhd/hd/bin/hd -e c4t2 Revision: 16 Offline status 132 Selftest status 0 Seconds to collect 19200 Time in minutes to run short selftest 2 Time in minutes to run extended selftest 221 Offline capability 123 SMART capability 3 Error logging capability 1 Checksum 0x86 Identification Status Current Worst Raw data 1 Raw read error rate 0x2f 200 200 0 3 Spin up time 0x27 253 253 6216 4 Start/Stop count 0x32 100 100 11 5 Reallocated sector count 0x33 200 200 0 7 Seek error rate 0x2e 100 253 0 9 Power on hours count 0x32 100 100 446 10 Spin retry count 0x32 100 253 0 11 Recalibration Retries count 0x32 100 253 0 12 Device power cycle count 0x32 100 100 11 192 Power off retract count 0x32 200 200 10 193 Load cycle count 0x32 200 200 11 194 Temperature 0x22 105 103 45/ 0/ 0 (degrees C cur/min/max) 196 Reallocation event count 0x32 200 200 0 197 Current pending sector count 0x32 200 200 0 198 Scan uncorrected sector count 0x30 200 200 0 199 Ultra DMA CRC error count 0x32 200 200 0 200 Write/Multi-Zone Error Rate 0x8 200 200 0 http://www.opensolaris.org/jive/thread.jspa?threadID=84296
>>>>> "rl" == Rob Logan <Rob at Logan.com> writes:rl> the sata framework uses the sd driver so its: yes but this is a really tiny and basically useless amount of output compared to what smartctl gives on Linux with SATA disks, where SATA disks also use the sd driver (the same driver Linux uses for SCSI disks). In particular, the reallocated sector count and raw read error rates are missing, as is the very useful offline self test interface and the sometimes useful last-5-errors log. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 304 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20081208/bbaa4003/attachment.bin>
Hi all, Miles Nordin wrote:>>>>>> "rl" == Rob Logan <Rob at Logan.com> writes: > > rl> the sata framework uses the sd driver so its: > > yes but this is a really tiny and basically useless amount of output > compared to what smartctl gives on Linux with SATA disks, where SATA > disks also use the sd driver (the same driver Linux uses for SCSI > disks). > > In particular, the reallocated sector count and raw read error rates > are missing, as is the very useful offline self test interface and the > sometimes useful last-5-errors log. >I will ask my boss about this (since he is the one mentioned in the copyright line of smartctl ;)), please stay tuned. Cheers Carsten
> Carsten wrote: > I will ask my boss about this (since he is the one > mentioned in the > copyright line of smartctl ;)), please stay tuned.How is this going? I''m very interested too... Mam -- This message posted from opensolaris.org
Mam Ruoc wrote:>> Carsten wrote: >> I will ask my boss about this (since he is the one >> mentioned in the >> copyright line of smartctl ;)), please stay tuned. > > How is this going? I''m very interested too...Not much happening right now, December meetings, holiday season, ... But thanks for pinging me - I tend to forget such things. Carsten