ZFS

A better zpool status which can map disk WWN to SCSI target id, physical slot location, and show error counts

This is especially useful on Supermicro and some Dell computers, and runs on solaris/openindiana/illumos/omnios/smartos/etc

You need sas2ircu and lsiutil (included in the zip for solaris x86). It also uses prtconf and iostat

zpool_status.pl script and zpool_status.zip (includes the binaries)

Sample output:

Disk                   Status  Rd Wr Ck  Serial num     Target      Slot      Errors
(error counts are: Soft, Hard, Transport, Media, DevNotReady, NoDev, Recoverable, IllegalReq, PredFail)
c0t5000C5004F1A9204d0  ONLINE   0  0  0 (s/n z1f1t81b) (target 29) (slot 19) (errors  0  0  0  0  0  0  0  0  0)
c0t5000C5004F1BBC0Ed0  ONLINE   0  0  0 (s/n z1f1t6xd) (target 26) (slot 16) (errors  0  1  6  0  0  1  0  1  0)
c0t5000C5004F1BC7A9d0  ONLINE   0  0  0 (s/n z1f1t6c2) (target 22) (slot 12) (errors  0  0  0  0  0  0  0  0  0)