On 29/07/10 10:25 AM, Don wrote:
I have an LSI 1068E SAS controller connected to 6 disk shelves
> across it's two channels. I'd like to create some sort of sane
> mapping between the actual disk location and the OpenSolaris
> cXtXdXsX number (as a sanity check when replacing a failed disk
> in my ZFS array, for example). I've configured persistent bindings
> with FC many times but never with SAS.

Is this possible with SAS? How and where would I specify this?
> /kernel/drv/sd.conf? /kernel/drv/sas_mpt.conf?

The specific disk I am testing this move with shows up in prtpicl as:
-pci8086,25f8 (pciex, cd00000307)
--pci8086,32c (pci, cd0000032f)
---pci1028,1f04 (obp-device, cd00000354)
----sd (block, cd000008fd)

In prtconf it shows up as:
sd, instance #42

Is there another, better way I should be trying to do this?

Hi Don,
we don't have this with SAS. At least, while it might be
coming in future (I don't know), it's not there today. Also,
with your LSI SAS1068E controller, the chip keeps track of
up to 122 separate WWNs and provides the OS with a logical
target id. This does get in the way of keeping a consistent
mapping going on, sorry.


The good news is, however, that FMA provides you with copious
details that help you over the problem:


$ fmdump -v -u 2e38bb09-ec7a-c6f5-89d6-c365e3fa7fa1
TIME                 UUID                                 SUNW-MSG-ID
Feb 05 05:11:10.7281 2e38bb09-ec7a-c6f5-89d6-c365e3fa7fa1 DISK-8000-3E
  100%  fault.io.scsi.cmd.disk.dev.rqs.derr

Problem in: hc://:product-id=SUN-Storage-J4200:server-id=:chassis-id=0848QAJ001:serial=0821T4NXMS--------3LM4NXMS:part=SEAGATE-ST330055SSUN300G:revision=0B92/ses-enclosure=1/bay=2/disk=0 Affects: dev:///:devid=id1,s...@n5000c5000b21f497//scsi_vhci/d...@g5000c5000b21f497 FRU: hc://:product-id=SUN-Storage-J4200:server-id=:chassis-id=0848QAJ001:serial=0821T4NXMS--------3LM4NXMS:part=SEAGATE-ST330055SSUN300G:revision=0B92/ses-enclosure=1/bay=2/disk=0
          Location: SCSI Device  2



See that last bit? /ses-enclosure=1/bay=2/disk=0



James
--
Oracle
http://www.jmcp.homeunix.com/blog
_______________________________________________
storage-discuss mailing list
storage-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to