On Tue, Mar 19, 2019 at 01:39:05PM +0000, James Gamei wrote:
Hello
I am trying to use libstoragemgmt (via udisks) to control the ident
and fault LEDs on a 12-disk storage device with an LSI 9400 SAS card.
Everything works except the disk in slot “15” (slots 0, 2, 9 and 11
are not filled due to layout). For which the SAS address is not found
in _ses_info_get_by_sas_addr. The invoked commands seem to return a
list of addresses for every slot (even the empty ones) *except* slot
15. Does anyone know why this might happen and/or what can be done to
fix it?
Thanks
James
Hi James,
Sorry for the long-long wait.
It might happen when certain port is broken or disabled.
To debug this issue, please provide output of this script after
installed sg3_utils:
```bash
#!/bin/bash
SES_SGS=`lsscsi -g |perl -ne 'print "$1 " if m|enclosu.+/(sg[0-9]+)|'`
for x in $SES_SGS;do
sudo sg_ses --join --join /dev/$x --hex -vvvv
done
```
--
Gris Ge