Khyron wrote:

I believe Richard Elling recommended "cfgadm -v".  I'd also suggest
"iostat -E", with and without "-n" for good measure.

So that's "iostat -E" and "iostat -En". As long as you know the physical drive
specification for the drive (c<X>t<y>d<z> which appears to be c9t1d0 from
the other e-mail you sent), "iostat -E" has never failed me. If you need to
know the drive identifier, then that's an additional issue.

iostat and cfgadm frequently return no serial number for me, where other tools do (luxadm, smartctl, etc.). For example, with Seagate SATA drives hanging off an LSI SAS 3081ER:

$ cfgadm -alv | grep c7t13d0
c7::dsk/c7t13d0 connected configured unknown ST31500341AS ST31500341AS unavailable disk n /devices/p...@0,0/pci8086,2...@1c/pci1000,3...@0:scsi::dsk/c7t13d0

$ iostat -nE c7t13d0
c7t13d0          Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: ATA      Product: ST31500341AS     Revision: CC1H Serial No:
Size: 1500.30GB <1500301910016 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0

carson:gandalf 0 $ pfexec smartctl -i /dev/rdsk/c7t13d0
smartctl version 5.38 [i386-pc-solaris2.11] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     ST31500341AS
Serial Number:    9VS2JRR7
Firmware Version: CC1H
User Capacity:    1,500,301,910,016 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 4
Local Time is:    Mon Mar  8 01:01:21 2010 PST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled


--
Carson

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to