8–Configuring FCoE in a Linux EnvironmentN_Port ID Virtualization8-26 FE0254601-00 A4. To benefit from I/O segregation and NPIV monitoring after creating a virtualport, configure zoning on the FCoE switch, and configure selective LUNpresentation on the Fibre Channel or FCoE target array. For informationabout configuring the FCoE switch and target array, refer to the switch andtarget array documentation.Verifying the Creation of Virtual PortsUse sysfs to verify that a virtual adapter port has been created by searchingsys/class/scsi_host/hostX for a new entry. Issue the following command,where X is the virtual port SCSI host ID for the virtual port:#ls –l /sys/class/scsi_host/hostX/The new virtual port is the first available numeral in the list of hostX entries in/sys/class/scsi_host/. To discern between adapter virtual and physicalports in sysfs, refer to “Differentiating Virtual Ports from Physical Ports in sysfs” onpage 8-28.Alternatively, you can display all virtual ports created on a physical adapter port.For example:# ls –l /sys/class/scsi_host/host4/device/Figure 8-10 shows that host6, host7 and host8 are the three virtual ports that existfor the physical port host4.CAUTION!If you reload the FCoE driver (qla2xxx), or reboot the server, all virtual portsare discarded.