On Thu, Jun 17, 2010 at 8:15 PM, Maurice Volaski
<maurice.vola...@einstein.yu.edu> wrote:
>>  >> ?We are migrating from a MegaRAID solution (mega_sas driver) to using
>>  >> LSI 9211-4i HBAs (mpt_sas driver) and a common operation was to use
>>  >> the MegaCli command to turn a LED on so the datacenter staff could
>>
>>  > After much searching around I found the sas2ircu command.
>>>
>
> Did you get this to work? I can't get it to light up any LEDs, though the
> LEDs do light when the drives are active.

At first it wasn't working. I had to update from firmware 2.xx.xx.xx
to 5.00.13.00 and it started working right away.

Something I noticed is that with SATA disks the LEDs blink when there
is activity only. With SAS disks they are always lit and turn off when
there's activity.

>> In case anyone wants to understand how the device names works, see
>> this excellent presentation:
>>
>> http://www.jmcp.homeunix.com/~jmcp/WhatIsAGuid.pdf
>>
>
> Even if the LEDs lit up, how would this help determine which drive is which?
> The only identifying features of the drive are the slot and serial number,
> but OpenSolaris doesn't seem to know that information.

As suggested by James, I'm doing the following:

# ls -lart /dev/dsk/c5t5000C50020C79CC7d0
lrwxrwxrwx   1 root     root          49 Jun  9 10:01
/dev/dsk/c5t5000C50020C79CC7d0 ->
../../devices/scsi_vhci/d...@g5000c50020c79cc7:wd


# prtconf -v /devices/scsi_vhci/d...@g5000c50020c79cc7 | egrep -A1 serial
        name='inquiry-serial-no' type=string items=1 dev=none
            value='9WM0JCZN0000C029JS2U'

# sas2ircu 0 display | grep -B7 -A2 9WM0JCZN
  Enclosure #                             : 2
  Slot #                                  : 18
  State                                   : Ready (RDY)
  Size (in MB)/(in sectors)               : 1907729/3907029167
  Manufacturer                            : SEAGATE
  Model Number                            : ST32000444SS
  Firmware Revision                       : 0005
  Serial No                               : 9WM0JCZN
  Protocol                                : SAS
  Drive Type                              : SAS_HDD


# sas2ircu 0 locate 2:18 on
LSI Corporation SAS2 IR Configuration Utility.
Version 5.00.00.00 (2010.02.09)
Copyright (c) 2009 LSI Corporation. All rights reserved.

SAS2IRCU: LOCATE command completed successfully.
SAS2IRCU: Command LOCATE Completed Successfully.
SAS2IRCU: Utility Completed Successfully.


# sas2ircu 0 display
LSI Corporation SAS2 IR Configuration Utility.
Version 5.00.00.00 (2010.02.09)
Copyright (c) 2009 LSI Corporation. All rights reserved.

Read configuration has been initiated for controller 0
------------------------------------------------------------------------
Controller information
------------------------------------------------------------------------
  Controller type                         : SAS2004
  BIOS version                            : 7.05.01.00
  Firmware version                        : 5.00.13.00
  Channel description                     : 1 Serial Attached SCSI
  Initiator ID                            : 0
  Maximum physical devices                : 255
  Concurrent commands supported           : 2575
  Slot                                    : 6
  Segment                                 : 0
  Bus                                     : 7
  Device                                  : 0
  Function                                : 0
  RAID Support                            : Yes
[...]




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

Reply via email to