TueNAS 12 in ESXi6.7 - can't see LUN to make datastore

araczek

Cadet
Joined
Feb 24, 2021
Messages
8
For testing scripting I created a ESXi cluster in VMware workstation with 2 ESXI 6.7U3 servers. I had set up TrueNAS 11.x with iSCSI and had the ESXi servers successfully add the TrueNAS datastore. I decided to make another TrueNAS with version 12. I have pretty much the same configuration in TrueNAS 12 as in TrueNAS 11.x. Initiators accept connections from any host. MTU's on all iSCSI adapters and connections are 9000, verified several times.

In ESXI (vCenter appliance 6.7U3) I removed the vmhba65 iSCSI sw adapter and re-added it back in. Went through Dynamic Discovery in vCenter on the hosts and the hosts detected the TrueNAS targets. The trouble I have is when I try to add a New Datastore and choose a host no LUN's are presented to vCenter. In the ESXi servers I looked at the vmkernel.log and see:

2021-05-17T14:59:27.713Z cpu1:2099041)WARNING: ScsiDeviceIO: 10752: READ CAPACITY on device "naa.6589cfc000000da49b1f845885bfbcfb" from Plugin "NMP" failed. I/O error
2021-05-17T14:59:27.802Z cpu1:2097345)ScsiVmas: 804: Inquiry for VPD page 00 to device naa.6589cfc000000da49b1f845885bfbcfb failed with error No connection
2021-05-17T15:01:02.170Z cpu1:2097345)ScsiVmas: 804: Inquiry for VPD page 00 to device naa.6589cfc000000da49b1f845885bfbcfb failed with error No connection
2021-05-17T15:06:02.168Z cpu0:2097640)DVFilter: 5963: Checking disconnected filters for timeouts
2021-05-17T15:06:02.172Z cpu1:2097345)ScsiVmas: 804: Inquiry for VPD page 00 to device naa.6589cfc000000da49b1f845885bfbcfb failed with error No connection
2021-05-17T15:11:02.169Z cpu1:2097345)ScsiVmas: 804: Inquiry for VPD page 00 to device naa.6589cfc000000da49b1f845885bfbcfb failed with error No connection
2021-05-17T15:16:02.168Z cpu0:2097640)DVFilter: 5963: Checking disconnected filters for timeouts
2021-05-17T15:16:02.291Z cpu1:2097345)ScsiVmas: 804: Inquiry for VPD page 00 to device naa.6589cfc000000da49b1f845885bfbcfb failed with error No connection
2021-05-17T15:21:02.169Z cpu1:2097174)ScsiDeviceIO: 3435: Cmd(0x459a40b0d540) 0x1a, CmdSN 0x3203 from world 0 to dev "mpx.vmhba64:C0:T0:L0" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x20 0x0.
That particular naa..... is the TrueNAS device. What the heck is wrong? Very frustrated.
...ar
 

RegularJoe

Patron
Joined
Aug 19, 2013
Messages
330
can your two esxi hosts still connect to your FreeNAS 11.x iSCSI target? can you vmkling from your esxi host to your iscsi target? On the target are all your iscsi ports listening? can you telnet(port 3260) from vmware to FN11 and can can you do the same to the TN12?
 

araczek

Cadet
Joined
Feb 24, 2021
Messages
8
No, the hosts cannot connect to the FreeNAS11 target. I can vmkping fine between the hosts and the FreeNAS12. The targets are there in Dynamic Discovery, PAths, Devices, etc. Just when I try to ad a new datastore the hosts don't show the LUN. I would assume if I got that far the port should be okay.
 
Top