Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:services:storage_services:backup:tsm:admin:fc_stuff [2019/04/03 15:20] bnachtw |
en:services:storage_services:backup:tsm:admin:fc_stuff [2020/09/10 15:32] (current) bnachtw [multipathd commands] |
||
---|---|---|---|
Line 13: | Line 13: | ||
/sys/class/scsi_host/host17/device/fc_host/host17/port_name 0x2100f4e9d45573c8 | /sys/class/scsi_host/host17/device/fc_host/host17/port_name 0x2100f4e9d45573c8 | ||
/sys/class/scsi_host/host18/device/fc_host/host18/port_name 0x2100f4e9d45573c9 | /sys/class/scsi_host/host18/device/fc_host/host18/port_name 0x2100f4e9d45573c9 | ||
+ | </code> | ||
+ | === using systool === | ||
+ | according to [[https://www.thegeekdiary.com/how-to-identify-the-hba-cardsports-and-wwn-in-rheloel/| The Geek Diary]] | ||
+ | * To check the available HBA ports : | ||
+ | <code> | ||
+ | # systool -c fc_host | ||
+ | Class = "fc_host" | ||
+ | |||
+ | Class Device = "host2" | ||
+ | Device = "host2" | ||
+ | |||
+ | Class Device = "host3" | ||
+ | Device = "host3" | ||
+ | </code> | ||
+ | |||
+ | * To find the WWNs for the HBA ports : | ||
+ | <code> | ||
+ | # systool -c fc_host -v | grep port_name | ||
+ | port_name = "0x500143802426baf4" | ||
+ | port_name = "0x500143802426baf6" | ||
+ | </code> | ||
+ | * To check the state of the HBA ports (online/offline) : | ||
+ | <code> | ||
+ | # systool -c fc_host -v | grep port_state | ||
+ | port_state = "Online" | ||
+ | port_state = "Online" | ||
</code> | </code> | ||
===== multipathing ===== | ===== multipathing ===== | ||
Line 23: | Line 49: | ||
FIXME | FIXME | ||
+ | ===== Rescaning the SCSI bus ===== | ||
+ | ordinarily you just use the ''rescan-scsi.sh'' command. | ||
+ | thus, this only reads the configuration again, but does not reinitialize the HBA. | ||
+ | this can be done by: | ||
+ | <code> | ||
+ | # echo "1" > /sys/class/fc_host/host<X>/issue_lip | ||
+ | </code> | ||
+ | replacing '<X'> with the number of the HBA. |