> On 21 Sep 2019, at 02:36, Garrett Wollman <wollman_at_hergotha.csail.mit.edu> wrote: > > In article <20190920155304.GN3953_at_zxy.spb.ru>, slw_at_zxy.spb.ru writes: > >> Location of device in multi-chassis storage system is different story. >> I am don't know how to field engineer insert disks in chassis. >> For me simple is find in /var/run/dmesg.boot S/N <=> daXY mapping and >> turn ON led by sas2ircu. > > sesutil does this for you! > > # sesutil locate daXY on > # sesutil locate daXY off > > So long as your enclosure supports SES (all the modern ones I've seen > do) and is enumerable by ses(4). FWIW I find it doesn't work on the Supermicro chassis (SYS-5019S-MR) we use with SATA disks. [chumphon 2:42] ~> sudo sesutil locate ada0 on sesutil: Count not find the SES id of device 'ada0' (Also I just noticed a spelling error in the above, "Count" should be "Could") [chumphon 2:42] ~> sudo sesutil map ses0: Enclosure Name: AHCI SGPIO Enclosure Enclosure ID: 0 Element 0, Type: Array Device Slot Status: Unsupported (0x00 0x00 0x00 0x00) Element 1, Type: Array Device Slot Status: Unknown (0x06 0x00 0x00 0x00) Description: SLOT 000 Element 2, Type: Array Device Slot Status: Unknown (0x06 0x00 0x00 0x00) Description: SLOT 001 Element 3, Type: Array Device Slot Status: Unknown (0x06 0x00 0x00 0x00) Description: SLOT 002 Element 4, Type: Array Device Slot Status: Unknown (0x06 0x00 0x00 0x00) Description: SLOT 003 Element 5, Type: Array Device Slot Status: Unknown (0x06 0x00 0x00 0x00) Description: SLOT 004 Element 6, Type: Array Device Slot Status: Unknown (0x06 0x00 0x00 0x00) Description: SLOT 005 Element 7, Type: Array Device Slot Status: Unknown (0x06 0x00 0x00 0x00) Description: SLOT 006 Element 8, Type: Array Device Slot Status: Unknown (0x06 0x00 0x00 0x00) Description: SLOT 007 Using led(4) works: echo 1 | sudo tee /dev/led/ahci0.X.fault (The X lines up with the "ahcich4" part of dmesg for adaX) although I find you can only turn the LED on and not off which limits it's usefulness somewhat.. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew TanenbaumReceived on Mon Oct 14 2019 - 00:56:30 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:22 UTC