Dell Emulex Family of Adapters User Manual
Page 861

Emulex Drivers Version 10.2 for Linux User Manual
P010081-01A Rev. A
3. Configuration
Virtual Port (VPort) Configuration
861
node_name
Read-
only
16-byte
hexadecimal
value
For the FC RHEL5.x driver:
/sys/class/fc_host/hostX/node_name
For FC RHEL6.x/SLES11-SPx drivers
/sys/class/fc_host/hostX/node_name/sys/class/fc
_vports/vport-X:0-Z/node_name
These entries display the physical or VPort's node name. You
assign this value when the VPort is created, and it is
transmitted to the fabric upon fabric login.
npiv_vports_
inuse
Read-
only
integers
/sys/class/fc_host/hostX/npiv_vports_inuse
This entry displays the number of VPorts that were created on
this fc_host.
This sysfs entry exists only if the vport_create and
vport_delete sysfs entries exist. If an fc_host does not support
NPIV, this sysfs entry may not exist.
Use this sysfs entry with max_npiv_vports to determine
whether the maximum number of VPorts have been created on
this fc_host.
port_name
Read-
only
16-byte
hexadecimal
value
/sys/class/fc_host/hostX/port_name/sys/class/fc
_vports/vport-X:0-Z/port_name
This entry displays the physical or VPort's port name.
You assign this value when the VPort is created, and it is
transmitted to the fabric upon fabric login.
vport_create
Write-
only
WWPN; WWNN /sys/class/fc_host/hostX/vport_create
This entry creates a VPort on the physical port that hostX is
located on. The new VPort will have a WWPN and WWNN
present on the fabric based on the WWPN and WWNN that are
entered with this sysfs entry.
This entry returns a “0” if the VPort creation was successful. A
non-zero value indicates that the VPort was not created.
If an fc_host does not support NPIV, then this sysfs entry may
not exist.
Note: It is possible for the VPort creation to succeed but for
the VPort to be in a failed or inoperative state. Use the
new sysfs tree created by the new VPort to check the
state of the new VPort.
Table 3-7 VPort sysfs Entries (Continued)
VPort sysfs
Entries
Type
Range
/Input
Location and Description