VMware Cloud Community
nhelen79
Contributor
Contributor

virtual machine cannot turn on NPIV connection because scanning of the SAN disk failed

Anytime i turn on the virtual client, the NPIV login stays during boot-up, but gone down after the virtual machine is completely powered on.

I did all the zoning steps (which worked before on different vmware server with the same raid LSI target system):

1. zoned physical HBA + target raid controller

2. I then created Raid disks and assign each disk to each client (4 clients)

3. I then generated 4 pwwn for each virtual client

4. After that, I created separate zone for each virtual client = physical HBA + target raid controller + 4 virtual pwwn

5. I went to target raid system, and added all 16 pwwn to the assigned luns

ESX can scan disks and see all 4 disks for 4 virtual clients. All mapping was done before i actually turn on the client.

Any help would be greatly appreciated.

vm log:

Jun 25 10:28:28 esx-180-132 vmkernel: 2:06:53:44.412 cpu2:4098)ScsiDeviceIO: 747: Command 0x12 to device "mpx.vmhba0:C0:T0:L0" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x20 0x0.

Jun 25 10:29:21 esx-180-132 vmkernel: 2:06:54:37.256 cpu2:4106)World: vm 4739: 1098: Starting world vmware-vmx with flags 4

Jun 25 10:29:23 esx-180-132 vmkernel: 2:06:54:39.142 cpu3:4739)World: vm 4740: 1098: Starting world vmm0:rh5 with flags 8

Jun 25 10:29:23 esx-180-132 vmkernel: 2:06:54:39.142 cpu3:4739)Sched: vm 4740: 5404: adding 'vmm0:rh5': group 'host/user': cpu: shares=-1 min=-1 minLimit=-1 max=-1

Jun 25 10:29:23 esx-180-132 vmkernel: 2:06:54:39.142 cpu3:4739)Sched: vm 4740: 5423: renamed group 27 to vm.4739

Jun 25 10:29:23 esx-180-132 vmkernel: 2:06:54:39.142 cpu3:4739)Sched: vm 4740: 5440: group 27 is located under group 4

Jun 25 10:29:23 esx-180-132 vmkernel: 2:06:54:39.349 cpu3:4739)Swap: vm 4740: 2358: extending swap to 1048576 KB

Jun 25 10:29:24 esx-180-132 vmkernel: 2:06:54:40.238 cpu2:4739)VSCSI: 3469: handle 8204(vscsi0:0):Creating Virtual Device for world 4740 (FSS handle 65640)

Jun 25 10:29:24 esx-180-132 vmkernel: 2:06:54:40.240 cpu2:4739)ScsiNpiv: 1498: Physical Path : adapter=vmhba1, channel=0, target=2, lun=1

Jun 25 10:29:24 esx-180-132 vmkernel: 2:06:54:40.240 cpu2:4739)vmkdrivers/src26/include/scsi/scsi_host.h:scsi_add_host-779: vmksgarray supported

Jun 25 10:29:25 esx-180-132 vmkernel: 2:06:54:41.251 cpu3:4739)<3>lpfc820 0000:13:00.0: 0:(1):1825 Vport Created.

Jun 25 10:29:25 esx-180-132 vmkernel: 2:06:54:41.251 cpu3:4739)WARNING: ScsiNpiv: 1148: Created vport for world 4740, vmhba1, rv 0

Jun 25 10:29:25 esx-180-132 vmkernel: 2:06:54:41.251 cpu3:4739)ScsiNpiv: 991: NPIV vport rescan complete, (0x410004301e40) status=0xbad0001

Jun 25 10:29:25 esx-180-132 vmkernel: 2:06:54:41.259 cpu3:4739)ScsiScan: 839: Path 'vmhba56:C0:T1:L1': Vendor: 'LSI ' Model: 'INF-01-00 ' Rev: '0710'

Jun 25 10:29:25 esx-180-132 vmkernel: 2:06:54:41.259 cpu3:4739)ScsiScan: 842: Path 'vmhba56:C0:T1:L1': Type: 0x0, ANSI rev: 5, TPGS: 0 (none)

Jun 25 10:29:25 esx-180-132 vmkernel: 2:06:54:41.316 cpu3:4739)ScsiNpiv: 991: NPIV vport rescan complete, (0x41000414b780) status=0x0

Jun 25 10:29:25 esx-180-132 vmkernel: 2:06:54:41.316 cpu3:4739)WARNING: ScsiNpiv: 1578: Failed to Create vport for world 4740, vmhba1, rescan failed, status=bad0001

Jun 25 10:29:25 esx-180-132 vmkernel: 2:06:54:41.316 cpu2:4739)WARNING: Removing Host Adapter vmhba56

Jun 25 10:29:25 esx-180-132 vmkernel: 2:06:54:41.319 cpu2:4739)<3>lpfc820 0000:13:00.0: 0:(1):1828 Vport Deleted.

Jun 25 10:29:25 esx-180-132 vmkernel: 2:06:54:41.319 cpu2:4739)vmkdrivers/src26/include/scsi/scsi_host.h:scsi_add_host-779: vmksgarray supported

Jun 25 10:29:25 esx-180-132 vmkernel: 2:06:54:41.320 cpu2:4193)ScsiAdapter: 1907: Unregistering adapter vmhba56

Jun 25 10:29:26 esx-180-132 vmkernel: 2:06:54:42.331 cpu3:4739)<3>lpfc820 0000:13:00.0: 0:(1):1825 Vport Created.

Jun 25 10:29:26 esx-180-132 vmkernel: 2:06:54:42.331 cpu3:4739)WARNING: ScsiNpiv: 1148: Created vport for world 4740, vmhba1, rv 0

Jun 25 10:29:26 esx-180-132 vmkernel: 2:06:54:42.331 cpu3:4739)ScsiNpiv: 991: NPIV vport rescan complete, (0x410004301e40) status=0xbad0001

Jun 25 10:29:26 esx-180-132 vmkernel: 2:06:54:42.340 cpu3:4739)ScsiScan: 839: Path 'vmhba57:C0:T1:L1': Vendor: 'LSI ' Model: 'INF-01-00 ' Rev: '0710'

Jun 25 10:29:26 esx-180-132 vmkernel: 2:06:54:42.340 cpu3:4739)ScsiScan: 842: Path 'vmhba57:C0:T1:L1': Type: 0x0, ANSI rev: 5, TPGS: 0 (none)

Jun 25 10:29:26 esx-180-132 vmkernel: 2:06:54:42.341 cpu3:4739)ScsiNpiv: 991: NPIV vport rescan complete, (0x41000414b780) status=0x0

Jun 25 10:29:26 esx-180-132 vmkernel: 2:06:54:42.341 cpu3:4739)WARNING: ScsiNpiv: 1578: Failed to Create vport for world 4740, vmhba1, rescan failed, status=bad0001

Jun 25 10:29:26 esx-180-132 vmkernel: 2:06:54:42.341 cpu2:4739)WARNING: Removing Host Adapter vmhba57

Jun 25 10:29:26 esx-180-132 vmkernel: 2:06:54:42.343 cpu2:4739)<3>lpfc820 0000:13:00.0: 0:(1):1828 Vport Deleted.

Jun 25 10:29:26 esx-180-132 vmkernel: 2:06:54:42.343 cpu2:4739)vmkdrivers/src26/include/scsi/scsi_host.h:scsi_add_host-779: vmksgarray supported

Jun 25 10:29:26 esx-180-132 vmkernel: 2:06:54:42.344 cpu1:4191)ScsiAdapter: 1907: Unregistering adapter vmhba57

Jun 25 10:29:27 esx-180-132 vmkernel: 2:06:54:43.355 cpu2:4739)<3>lpfc820 0000:13:00.0: 0:(1):1825 Vport Created.

Jun 25 10:29:27 esx-180-132 vmkernel: 2:06:54:43.355 cpu2:4739)WARNING: ScsiNpiv: 1148: Created vport for world 4740, vmhba1, rv 0

Jun 25 10:29:27 esx-180-132 vmkernel: 2:06:54:43.355 cpu2:4739)ScsiNpiv: 991: NPIV vport rescan complete, (0x410004301e40) status=0xbad0001

Jun 25 10:29:27 esx-180-132 vmkernel: 2:06:54:43.369 cpu2:4739)ScsiScan: 839: Path 'vmhba58:C0:T1:L1': Vendor: 'LSI ' Model: 'INF-01-00 ' Rev: '0710'

Jun 25 10:29:27 esx-180-132 vmkernel: 2:06:54:43.369 cpu2:4739)ScsiScan: 842: Path 'vmhba58:C0:T1:L1': Type: 0x0, ANSI rev: 5, TPGS: 0 (none)

Jun 25 10:29:27 esx-180-132 vmkernel: 2:06:54:43.416 cpu2:4739)ScsiNpiv: 991: NPIV vport rescan complete, (0x41000414b780) status=0x0

Jun 25 10:29:27 esx-180-132 vmkernel: 2:06:54:43.416 cpu2:4739)WARNING: ScsiNpiv: 1578: Failed to Create vport for world 4740, vmhba1, rescan failed, status=bad0001

Jun 25 10:29:27 esx-180-132 vmkernel: 2:06:54:43.416 cpu2:4739)WARNING: Removing Host Adapter vmhba58

Jun 25 10:29:27 esx-180-132 vmkernel: 2:06:54:43.419 cpu2:4739)<3>lpfc820 0000:13:00.0: 0:(1):1828 Vport Deleted.

Reply
0 Kudos
1 Reply
Texiwill
Leadership
Leadership

Hello,

I did all the zoning steps (which worked before on different vmware server with the same raid LSI target system):

I think this is your problem.

4. After that, I created separate zone for each virtual client = physical HBA + target raid controller + 4 virtual pwwn

While you have 1 Zone for Physical HBA + Target, you have separate zones for each VM. I believe you need to use the same Zone. I would double check this by using only one zone for all 4 VMs.


Best regards,

Edward L. Haletky VMware Communities User Moderator, VMware vExpert 2009, Virtualization Practice Analyst[/url]
Now Available: 'VMware vSphere(TM) and Virtual Infrastructure Security: Securing the Virtual Environment'[/url]
Also available 'VMWare ESX Server in the Enterprise'[/url]
[url=http://www.astroarch.com/wiki/index.php/Blog_Roll]SearchVMware Pro[/url]|Blue Gears[/url]|Top Virtualization Security Links[/url]|Virtualization Security Round Table Podcast[/url]

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
Reply
0 Kudos