Tuesday, October 26, 2010

Diagnosing Solaris disk errors with diskinfo.sparc


Just read a good troubleshooting document fron Sun - Oracle . " How to identify io errors for failing device on Sun SPARC systems." Doc ID 1005520.1

It demonstrates how to determine a failing disk.

it mentions use of " iostat -En " , format , and /var/adm/messages "


It does also refer to a Doc 1017741.1 High hard error value in iostat -E. It fails to metion that iostat is not updated until a reboot.

This means that if you hotswap a disk iostat doesn't change. It doesn't update the error state, but even worse it doesn't update the disk model or serial number. (No evidence the disk was ever replaced!)


Great tool.

Sun Explorer installs a utility that does update the disk model, serial number and firmware version of the disk. It can be run alone without running the full explorer.

It is called diskinfo.sparc.


output looks like this.


# /opt/SUNWexplo/bin/diskinfo.sparc


AVALABLE SCSI DEVICES


Location Vendor Product Rev Serial #

c0t0d0 TEAC DV-W28SS-R 10C -

c1t0d0 SEAGATE ST930003SSUN300G 0868 095371xxxxx

c1t1d0 SEAGATE ST930003SSUN300G 0868 10012xxxxx



Very helpful especially if you need to verify a model for later service.


Also has an executable diskinfo.i386 for any Solaris x86 users


You need to install Sun explorer to use this.