Difference between revisions of "HBA"
Jump to navigation
Jump to search
(4 intermediate revisions by one other user not shown) | |||
Line 17: | Line 17: | ||
* <code>[[lssd]]</code> command part of HP <code>fibreutils</code> package | * <code>[[lssd]]</code> command part of HP <code>fibreutils</code> package | ||
− | == fc_host == | + | == [[fc_host]] == |
:<code>[[/sys/]]class/fc_host/host1/port_state</code> | :<code>[[/sys/]]class/fc_host/host1/port_state</code> | ||
::<code>Online</code> | ::<code>Online</code> | ||
:<code>/sys/class/fc_host/host1/fabric_name</code> | :<code>/sys/class/fc_host/host1/fabric_name</code> | ||
+ | ::<code>0x1000889471a683T4</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]]) | ||
+ | ::<code>0x51402ec000f3xxxx</code> | ||
== Related terms == | == Related terms == | ||
* <code>[[multipath]]</code> | * <code>[[multipath]]</code> | ||
+ | * [[Network adapter]] | ||
+ | * <code>[[pg_hba.conf]]</code> | ||
== See also == | == See also == |
Latest revision as of 15:14, 3 February 2023
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
[edit]
- 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[edit]
/sys/class/fc_host/host1/port_state
Online
/sys/class/fc_host/host1/fabric_name
0x1000889471a683T4
/sys/class/fc_host/host1/node_name
(Used for mapping in your storage array)0x51402ec000f3xxxx
Related terms[edit]
See also[edit]
- 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: