2024-03-20T09:59:46.921Z cpu58:2099254)Registering Vport Device done:[Success] 2024-03-20T09:59:46.921Z cpu58:2099254)Device: 507: psa:driver->ops.scanDevice:0 ms 2024-03-20T09:59:46.926Z cpu58:2099254)ScsiAdapter: 1185: Starting 1 completion worlds for adapter vmhba70 2024-03-20T09:59:46.926Z cpu58:2099254)Device: 395: psa_vport:driver->ops.attachDevice :0 ms 2024-03-20T09:59:46.926Z cpu58:2099254)Device: 400: Found driver psa_vport for device 0x6938430e2b044963 2024-03-20T09:59:46.926Z cpu58:2099254)Device: 685: psa_vport:driver->ops.startDevice:0 ms 2024-03-20T09:59:46.926Z cpu58:2099254)Device: 507: psa_vport:driver->ops.scanDevice:0 ms 2024-03-20T09:59:46.926Z cpu112:2488659)WARNING: ScsiNpiv: 1354: Created vport for world 2488396, vmhba64 2024-03-20T09:59:46.926Z cpu112:2488659)WARNING: ScsiPsaDriver: 1316: Failed adapter create path; vport:vmhba70 with error: bad0040 2024-03-20T09:59:47.513Z cpu99:2099246)qlnativefc: vmhba70(81:0.0): hba identifier RPRT_CMD 2024-03-20T09:59:47.515Z cpu99:2099246)qlnativefc: vmhba70(81:0.0): Driver sending EDC and RDF for port 28:#c:##:#c:29:##:##:2c
2024-03-20T09:59:47.517Z cpu132:2099153)qlnativefc: vmhba70(81:0.0): SCM: EDC ELS completed 2024-03-20T09:59:47.518Z cpu132:2099153)qlnativefc: vmhba70(81:0.0): SCM: RDF ELS completed - SCM enabled 2024-03-20T09:59:48.926Z cpu112:2488659)WARNING: ScsiPsaDriver: 1316: Failed adapter create path; vport:vmhba70 with error: bad0040 2024-03-20T09:59:50.925Z cpu112:2488659)WARNING: ScsiPsaDriver: 1316: Failed adapter create path; vport:vmhba70 with error: bad0040 2024-03-20T09:59:51.512Z cpu170:2099185)qlnativefc: vmhba70(81:0.0): Fabric scan failed on all retries. 2024-03-20T09:59:52.925Z cpu112:2488659)WARNING: ScsiPsaDriver: 1316: Failed adapter create path; vport:vmhba70 with error: bad0040 2024-03-20T09:59:54.924Z cpu112:2488659)WARNING: ScsiPsaDriver: 1316: Failed adapter create path; vport:vmhba70 with error: bad0040 2024-03-20T09:59:56.924Z cpu112:2488659)ScsiNpiv: 1162: NPIV vport rescan complete, [2:9] (0x430bd12fea80) [0x430bd0a1be80] status=0xbad0040 2024-03-20T09:59:56.924Z cpu112:2488659)WARNING: ScsiPsaDriver: 1316: Failed adapter create path; vport:vmhba70 with error: bad0040 2024-03-20T09:59:58.924Z cpu112:2488659)WARNING: ScsiPsaDriver: 1316: Failed adapter create path; vport:vmhba70 with error: bad0040 2024-03-20T10:00:00.923Z cpu112:2488659)WARNING: ScsiPsaDriver: 1316: Failed adapter create path; vport:vmhba70 with error: bad0040 2024-03-20T10:00:02.923Z cpu112:2488659)WARNING: ScsiPsaDriver: 1316: Failed adapter create path; vport:vmhba70 with error: bad0040 2024-03-20T10:00:04.922Z cpu112:2488659)WARNING: ScsiPsaDriver: 1316: Failed adapter create path; vport:vmhba70 with error: bad0040 2024-03-20T10:00:06.922Z cpu112:2488659)ScsiNpiv: 1162: NPIV vport rescan complete, [5:9] (0x430bd1839840) [0x430bd0a1be80] status=0xbad0040 2024-03-20T10:00:06.922Z cpu112:2488659)WARNING: ScsiNpiv: 1800: Failed to Create vport for world 2488396, vmhba64, rescan failed, status=bad0001
VMware vSphere 8.x
VMware vSphere 7.x
2024-03-20T09:59:48.926Z cpu112:2488659)WARNING: ScsiPsaDriver: 1316: Failed adapter create path; vport:vmhba70 with error: bad0040
2024-03-20T10:00:06.922Z cpu112:2488659)WARNING: ScsiNpiv: 1800: Failed to Create vport for world 2488396, vmhba64, rescan failed, status=bad0001
If you’re considering enabling NPIV on your virtual machines, it’s important to be aware of the following prerequisites:
Discover the specific features of using NPIV with ESXi.
ESXi with NPIV offers the following capabilities:
However, when you employ ESXi with NPIV, the following limitations are present:
switch:admin> portcfgshow 0
Area Number: 15
Speed Level: AUTO(HW)
Fill Word: 0(Idle-Idle)
AL_PA Offset 13: OFF
Trunk Port ON
Long Distance OFF
VC Link Init OFF
Locked L_Port OFF
Locked G_Port ON
Disabled E_Port OFF
ISL R_RDY Mode OFF
RSCN Suppressed OFF
Persistent Disable OFF
NPIV capability ON
QOS E_Port AE
Port Auto Disable: OFF
Rate Limit OFF
EX Port OFF
Mirror Port OFF
Credit Recovery ON
F_Port Buffers OFF
switch:admin> portCfgNPIVPort --enable 0
switch:admin> aliadd "HBA-Alias-Name" "physical port wwn" "npiv wwpn"
alias: LAB_HBA
2#:##:##:1#:9b:b1:ed:45; 28:#c:##:#c:29:##:##:2c
switch:admin> cfgsave WARNING!!! You are about to save the Defined zoning configuration. This action will only save the changes on Defined configuration. Do you want to save the Defined zoning configuration only? (yes, y, no, n): [yes]
Note: If the NPIV configuration is not done correctly, the VM will use physical HBAs for RDM access instead of using its Virtual NPIV WWPNs