I use the LSI sas2ircu util and fmtopo to identify and flip on the 'identify' light on my disk chassis.
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. -----Original Message----- From: Rich [mailto:[email protected]] Sent: Monday, October 03, 2011 9:57 AM To: Discussion list for OpenIndiana Subject: Re: [OpenIndiana-discuss] Best way to map SAS drives to physicalpositions May I ask what kind of SAS HBA you're using? - Rich On Mon, Oct 3, 2011 at 10:25 AM, James Carlson <[email protected]> wrote: > Jeppe Toustrup wrote: >> On Mon, Oct 3, 2011 at 16:00, James Carlson <[email protected]> wrote: >>> Have you tried "cfgadm -lv"? >> >> Yes, "cfgadm -lv" does not list the drives connected through SAS, but >> "cfgadm -lav" does. The output does however not make me much wiser >> than the output I can get from path_to_inst (only lines related to SAS >> drives shown): > > OK. It sounds like what you're looking for is something more like the > enclosure lists that luxadm can provide with FC boxes. I don't think > that exists, though, with SAS. > > -- > James Carlson 42.703N 71.076W <[email protected]> > > _______________________________________________ > OpenIndiana-discuss mailing list > [email protected] > http://openindiana.org/mailman/listinfo/openindiana-discuss > _______________________________________________ OpenIndiana-discuss mailing list [email protected] http://openindiana.org/mailman/listinfo/openindiana-discuss
_______________________________________________ OpenIndiana-discuss mailing list [email protected] http://openindiana.org/mailman/listinfo/openindiana-discuss
