在BK200E
sw77:admin> switchshow
switchName: sw77
switchType: 34.0
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:00:05:1e:02:9b:bf
zoning: ON (cfg_psd)
switchBeacon: OFF
Area Port Media Speed State Proto
=====================================
0 0 id N4 Online L-Port 1 private --->连接存储HP EVA4400
1 1 id N4 Online F-Port 50:01:43:80:09:77:cf:3e -->HP2 RX6600A
2 2 id N4 No_Light
3 3 id N4 Online F-Port 50:01:43:80:09:77:cc:66 --->HP1 RX6600B
目前存储接的线亮黄灯.
在HP-UX下没找到存储上分配的硬盘
root@hp1:/#fcmsutil /dev/fcd0
Vendor ID is = 0x1077
Device ID is = 0x2422
PCI Sub-system Vendor ID is = 0x103C
PCI Sub-system ID is = 0x12D6
PCI Mode = PCI-X 66 MHz
ISP Code version = 5.3.2
ISP Chip version = 3
Topology = PTTOPT_FABRIC
Link Speed = 4Gb
Local N_Port_id is = 0x010300
Previous N_Port_id is = None
N_Port Node World Wide Name = 0x500143800977cc67
N_Port Port World Wide Name = 0x500143800977cc66
Switch Port World Wide Name = 0x200300051e029bbf
Switch Node World Wide Name = 0x100000051e029bbf
N_Port Symbolic Port Name = hp1_fcd0
N_Port Symbolic Node Name = hp1_HP-UX_B.11.31
Driver state = ONLINE
Hardware Path is = 0/4/2/0
Maximum Frame Size = 2048
Driver-Firmware Dump Available = NO
Driver-Firmware Dump Timestamp = N/A
TYPE = PFC
NPIV Supported = YES
Driver Version = @(#) fcd B.11.31.1009 May 9 2010
man fcmsutil
查看到一些属性
UNINITIALIZED.
There is no connectivity to the host bus adapter
port or the topology could not be determined.
UNKNOWN.
The Fibre Channel driver has returned a topology
code that the utility does not understand.
PRIVATE_LOOP.
The host bus adapter is attached to a
loop/loopback hood.
PUBLIC_LOOP.
The host adapter is attached to a loop connected
to a Fibre Channel switch.
IN_PTTOPT_NPORT/PTTOPT_NPORT.
The host bus adapter has come up in a point to
point topology. This topology can be an error if
the card was expected to come up in loop topology.
Not legal in most cases.
PTTOPT_FABRIC.
The host bus adapter has come up in a point to
point topology when connected through a Fibre
Channel switch. This topology can be an error if
the card was expected to come up in loop topology.
The following driver states are defined:
LOOPBACK_STATE.
The host bus adapter is in the loop back test
参考这个:
portCfgGport
Designates a port as a G_Port; removes G_Port designation.
Synopsis portcfggport [slot/]port,mode
Description Use this command to designate a port as a G_Port. After successful execution of this command,
the switch attempts to initialize the specified port as an F_Port only, and does not attempt loop
initialization (FL_Port) on the port. A port designated as a G_Port can become an E_Port. This
configuration can be cleared but not set on VE/VEX_Ports. Changes made by this command are
persistent across switch reboots or power cycles.
Note The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may
be in place. Refer to chapter 1, "Using Fabric OS commands" and Appendix A, "Command
Availability" for details.
Operands This command has the following operands:
slot For bladed systems only, specify the slot number of the port to be configured,
followed by a slash (/).
port Specify the port to be configured, relative to its slot for bladed systems. Use
switchShow to display a list of valid ports.
mode Specify a value of 1 to designate the port as a G_Port or specify a value of 0
to remove the G_Port designation from the port. A value of 0 is the default
port state. Mode must be preceded by a comma. This operand is required.
Examples To configure port as a locked G_Port:
switch:admin> portcfggport 1/3, 1