The default output of fcinfo hba-port contains a lot of values,
but is not optimal if you are looking for a specific attribute
# fcinfo hba-port 2100000e1ef99410
HBA Port WWN: 2100000e1ef99410
Port Mode: Initiator
Port ID: 10200
OS Device Name: /dev/cfg/c5
Manufacturer: Marvell Technology, Inc
Model: 7023303
Firmware Version: 8.08.04
FCode/BIOS Version: BIOS: 3.19; fcode: 4.02; EFI: 5.36;
Serial Number: 463916R+1729340085
Driver Name: qlc
Driver Version: 230206-5.12
Type: N-port
State: online
Supported Speeds: 4Gb 8Gb 16Gb
Current Speed: 8Gb
Node WWN: 2000000e1ef99410
Max NPIV Ports: 253
NPIV port list:
Solaris 11.4 SRU60 (August 2023) introduces the new -T, -O and -o flags
default tabular format
# fcinfo hba-port -T 2100000e1ef99410
PORT_WWN PARENT_WWN MODE CTRL STATE SPEED
2100000e1ef99410 NA Initiator c5 online 8Gb
Output for admins
# fcinfo hba-port -o port_wwn,driver_name,link_failure_count,state,speed 2100000e1ef99410
PORT_WWN DRIVER_NAME LINK_FAILURE_COUNT STATE SPEED
2100000e1ef99410 qlc 1 online 8Gb
Output for scripts
# fcinfo hba-port -O port_wwn,driver_name,link_failure_count,state,speed 2100000e1ef99410
2100000e1ef99410:qlc:1:online:8Gb
26 March 2024
Solaris 11.4 SRU60 - fc port tabular output
Subscribe to:
Posts (Atom)