I have seen people asking and some of the information online isn't really helpful, as it references tools like lsscsi which might be obsolete in some cases or not installed.
Good news is you have all this information in sysfs, no need for extra tools:
I have sanitized my address but this will be exactly the same process to follow, onyl the device node numbers might change. ex. host2 instead of host10.
The actual sysfs nodes are under the pci devices tree.
Hopefully this helps someone out there who needs to know his SAS address before flashing IT firmware, without opening up the chassis.
Good news is you have all this information in sysfs, no need for extra tools:
Code:
# cat /sys/class/sas_host/host10/device/scsi_host/host10/board_name
LSI3008-IT
# cat /sys/class/sas_host/host10/device/scsi_host/host10/host_sas_address
0x500304801cXXXXXX
# cat /sys/class/sas_host/host10/device/scsi_host/host10/version_*
00.00.00.00
16.00.10.00
205.32
0e013028h
0e013028h
LSISAS3008
The actual sysfs nodes are under the pci devices tree.
Hopefully this helps someone out there who needs to know his SAS address before flashing IT firmware, without opening up the chassis.