[OpenIndiana-discuss] Best way to map SAS drives to physical positions

Christopher Chan christopher.chan at bradbury.edu.hk
Fri Oct 7 00:41:38 UTC 2011


On Wednesday, October 05, 2011 02:03 AM, Alasdair Lumsden wrote:
> Hi Jeppe,
>
> On 3 Oct 2011, at 14:19, Jeppe Toustrup wrote:
>> The only way I have found which I can find the order of the drives in
>> the JBOD along with the above names, without pulling out each drive
>> and see which one becomes unavailable, is within /etc/path_to_inst,
>> where I find the following lines:
>
> Have you tried:
>
> /usr/lib/fm/fmd/fmtopo -V
>
> ?
>
> It works with SES compatible JBOD enclosures and I can confirm it works with the LSI JBODs we use.
>

Thanks Alasdair for this!

I get enclosure id and bay id with this command. But boy, it sure does 
need lots of parsing.

Christopher



More information about the OpenIndiana-discuss mailing list