[OpenIndiana-discuss] Best way to map SAS drives tophysicalpositions

Russell Hansen russhan at new-swankton.net
Mon Oct 3 18:55:50 UTC 2011


I stumbled upon a nice script and link to a utility for just such an occasion:
 
http://the-key.enix.org/~krystal/diskmap.py
http://www.supermicro.com/support/faqs/data_lib/FAQ_9633_SAS2IRCU_Phase_5.0-5.00.00.00.zip
 
Example output:
 
root at nerv:~/scripts# ./diskmap.py
Diskmap - nerv> disks
0:01:01    c2t50014EE2AFBD87B4d0  WDC WD5000BUDT-6  500.1G  Ready (RDY) oi_data: mirror-1
0:01:02    c2t50014EE25A683C10d0  WDC WD5000BUDT-6  500.1G  Ready (RDY) oi_data: mirror-0
0:01:03    c2t50014EE25A6829D6d0  WDC WD5000BUDT-6  500.1G  Ready (RDY) oi_data: mirror-2
0:01:05    c2t50014EE20518D4F6d0  WDC WD5000BUDT-6  500.1G  Ready (RDY) oi_data: mirror-1
0:01:06    c2t50014EE2AFBDC3CBd0  WDC WD5000BUDT-6  500.1G  Ready (RDY) oi_data: mirror-0
0:01:07    c2t50014EE205154E0Bd0  WDC WD5000BUDT-6  500.1G  Ready (RDY) oi_data: mirror-2
Drives : 6   Total Capacity : 3.0T

I had found a more recent version of the SAS2IRCU utility:
 
http://www.lsi.com/sep/Documents/oracle/files/solaris-utils-6.05.00.00-7.00.00.01.zip
 
but it doesn't appear to work with the diskmap.py script.  There is a  fair amount of other information provided by the SAS2IRCU utility so it might be in your best interest to download both of them.
 
-Russ

________________________________

From: Jeppe Toustrup [mailto:openindiana at tenzer.dk]
Sent: Mon 10/3/2011 11:28 AM
To: Discussion list for OpenIndiana
Subject: Re: [OpenIndiana-discuss] Best way to map SAS drives tophysicalpositions



On Mon, Oct 3, 2011 at 19:16, Jason Matthews <jason at broken.net> wrote:
> I wrote a script, it is very rough and would require some tuning for your
> config, but it might solve your problem if your hardware is compatible.
>
> Compatible means, LSI controller and disk shelf that is SES2 compliant,
> supports page code 0xa,  additional element status and sets the element
> index present bit. If your gear does that, then I have a script that could
> help you.
>
> If you meet these restrictions, I will publish it some where along with the
> sas2ircu binary that I lifted from SMC.
>
> j.

I have also managed to write a script to control the fault and
identification lights on the JBOD using SES2 and informations from
this post:
http://www.spinics.net/lists/linux-scsi/msg50273.html

The hardware I am using is a LSI 9201-16e controller, connected
through a LSI SAS6160 switch to a LSI DE1600 JBOD array, so they
should be compatible.

I am very interested in how you are doing things in your script, so
please put it up somewhere.

--
Venlig hilsen / Kind regards
Jeppe Toustrup (aka. Tenzer)

_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss




More information about the OpenIndiana-discuss mailing list