8–Configuring FCoE in a Linux EnvironmentN_Port ID Virtualization8-28 FE0254601-00 ATo disable a virtual port, issue the following command, where X is the port SCSIhost ID:#echo 1 > /sys/class/scsi_host/hostX/vport_disableTo verify that the virtual adapter port has been deleted: Confirm that the sysfs entry for the virtual port has been removed from/sys/class/scsi_host/. Confirm that the virtual port is no longer logged into the FCoE switch byinspecting its Fibre Channel name server database. For information aboutexamining the name server database, refer to the switch documentation.Differentiating Virtual Ports from Physical Ports in sysfsVirtual ports and physical ports have different sets of sysfs parameters. You candistinguish a virtual port from a physical port by listing the port parameters insysfs, and then comparing the display to the unique parameter lists in Table 8-8.Figure 8-11 shows an example the sysfs adapter port parameter lists for aphysical port (left) and a virtual port (right). The distinguishing parameters areindicated by green and red arrows.Table 8-8. Unique Physical and Virtual Port sysfs ParametersUnique Physical Port sysfsParametersUnique Virtual Port sysfsParametersmax_npiv_vportsnpiv_vports_inusevport_createvport_deletenode_nameport_namevport_disablevport_idvport_last_statevport_state