Taobao has many 2U hot-swap cages for sale with SAS expanders and daisy-chain capabilities. These are disassembled from 2U Inspur servers disposed by hyperscalers' reverse supply chains.
A cottage industry of accessories and enclosures for these hot-swap cages has also sprung up around them.
TODO
Front view of hotswap cage:
| phy12 | phy13 | phy14 | phy15 |
| phy16 | phy17 | phy18 | phy19 |
| phy20 | phy21 | phy22 | phy23 |
phy0-phy11 are mapped to the mini-SAS HD connectors.
LEDs can be controlled by ledctl, e.g.:
ledctl normal=/dev/disk/by-path/pci-0000\:01\:00.0-sas-exp0xdeadbeefdeadbeef-phy12-lun-0ledctl normal=/dev/sdaSupported patterns:
normal/off: Status LED offlocate: Blue status LEDrebuild: Purple status LEDfailure: Red status LEDsas_discover -vv - SAS devices, topology (tree) viewsas_devices [-v…] - SAS devices, list viewledctlzed automatically indicates vdev failures on supported enclosures' drive failure LED(s), if failed drives are replaced into other enclosures/bays, the failure LED may get stuck; ledctl can be used to clear the failure indicatorfind /dev/disk/by-path -name "*sas-exp0x56c92bf*lun-0" -exec sudo udisksctl power-off -b {} ';' - spindown all disks in all expander backplanes