Editing HBA
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 7: | Line 7: | ||
** <code>[[lspci]] | grep "Fibre Channel"</code> or <code>[[lspci]] -nn | grep "Fibre Channel"</code> | ** <code>[[lspci]] | grep "Fibre Channel"</code> or <code>[[lspci]] -nn | grep "Fibre Channel"</code> | ||
** <code>ls /sys/class/fc_host/</code> | ** <code>ls /sys/class/fc_host/</code> | ||
− | |||
− | |||
* [[Fibre Channel]] LUN Scan or <code>[[rescan-scsi-bus.sh]]</code>: | * [[Fibre Channel]] LUN Scan or <code>[[rescan-scsi-bus.sh]]</code>: | ||
**<code>echo "1" > /sys/class/fc_host/host1/issue_[[lip]]</code> (No output from command) or <code>[[rescan-scsi-bus.sh]] -i</code> | **<code>echo "1" > /sys/class/fc_host/host1/issue_[[lip]]</code> (No output from command) or <code>[[rescan-scsi-bus.sh]] -i</code> | ||
**<code>echo "- - -" > /sys/class/scsi_host/host1/scan</code> | **<code>echo "- - -" > /sys/class/scsi_host/host1/scan</code> | ||
− | **<code>[[lsblk -S | + | **<code>[[lsblk]] -S</code> |
* <code>[[lssd]]</code> command part of HP <code>fibreutils</code> package | * <code>[[lssd]]</code> command part of HP <code>fibreutils</code> package | ||
− | == | + | == fc_host == |
− | :<code> | + | :<code>/sys/class/fc_host/host1/port_state</code> [Online] |
− | |||
:<code>/sys/class/fc_host/host1/fabric_name</code> | :<code>/sys/class/fc_host/host1/fabric_name</code> | ||
− | |||
:<code>/sys/class/fc_host/host1/node_name</code> (Used for mapping in your [[storage array]]) | :<code>/sys/class/fc_host/host1/node_name</code> (Used for mapping in your [[storage array]]) | ||
− | |||
== Related terms == | == Related terms == | ||
− | * | + | * [[multipath]] |
− | + | ||
− | |||
== See also == | == See also == |
Advertising: