Difference between revisions of "HBA"
Jump to navigation
Jump to search
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> | ||
+ | ** <code>[[systool]] -c fc_host -v</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> |
Revision as of 10:13, 20 September 2020
HBA is a controller/network card which connects a host system (computer) to other network and storage devices, primarily used with controllers that connect to SCSI, Fibre Channel and eSATA devices
- Identify your HBAs in Linux:
- Fibre Channel LUN Scan or
rescan-scsi-bus.sh
:echo "1" > /sys/class/fc_host/host1/issue_lip
(No output from command) orrescan-scsi-bus.sh -i
echo "- - -" > /sys/class/scsi_host/host1/scan
lsblk -S
lssd
command part of HPfibreutils
package
fc_host
/sys/class/fc_host/host1/port_state
[Online]/sys/class/fc_host/host1/fabric_name
/sys/class/fc_host/host1/node_name
(Used for mapping in your storage array)
Related terms
See also
- Fibre Channel: HBA,
multipath-tools
,multipath
,multipath -ll
,/etc/multipath.conf
multipathd
rescan-scsi-bus.sh
powermt
Device mapper
dmsetup ls
, - Fibre Channel: SAN, HBA, LUN, WWN, WWPN, LIF,
rescan-scsi-bus.sh
- Block devices:
blkid
(UUID),lshw -class disk
,hwinfo --disk
,udevadm
,rescan-scsi-bus.sh
,LUN
,hdparm
,findfs
, Add a new disk lsblk
,pvscan
lspci
,lsscsi
,smartctl
,fdisk
,parted
,Kpartx
,pvdiplay
,pvs
,udisksctl
,/dev/sd, nvme list
- SCSI
Advertising: