[ZaaL] - Can't use a zvol device as a iSCSI LUN between FreeNAS and VMWare ESXi

Status
Not open for further replies.
Joined
Dec 30, 2014
Messages
45
ZVOL as a LUN problem!

I posted this problem in another topic, But I had no feedback:

I tried to mount a zvol device in my VMWare, but it doesn't work.

I created a zvol with the "Sparse volume" checked, I changed the block size to 64K, created a new portal, initiator, target, extent, everything normal. But when I setup the new informations on VMWare (same iSCSI IP but different ports), a rescan is requested automatically, but the LUN does not appear.

There are many messages like this in the VMware event log:

Login to iSCSI target iqn.2014-12.br.com.enterprise.esxi:vmware18tb on vmhba37 @ vmk2 failed.
The iSCSI initiator could not establish a network connection to the target.
error
12/06/2015 12:09:50
vmserver.enterprise.com.br

Login to iSCSI target iqn.2014-12.br.com.enterprise.esxi:vmware18tb on vmhba37 @ vmk3 failed.
The iSCSI initiator could not establish a network connection to the target.
error
12/06/2015 12:09:50
vmserver.enterprise.com.br

iSCSI discovery to 192.168.6.2 on vmhba37 failed
. The iSCSI Initiator could not establish a network connection to the discovery address.
error
12/06/2015 12:09:50
vmserver.enterprise.com.br

iSCSI discovery to 192.168.5.2 on vmhba37 failed
. The iSCSI Initiator could not establish a network connection to the discovery address.
error
12/06/2015 12:09:40
vmserver.enterprise.com.br

vmware18tb is the extent FILE, it is working fine, without any problem.

If I run the same procedure using a file extent, everything works normal. Has anyone experienced this?
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
I haven't seen that. I'm using "device" just fine. Try it with a standard block size and uncheck Sparse volume. (Those are the only 2 differences between yours and mine). Maybe a reboot?
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Did you also create the target/extent mapping?
 
Status
Not open for further replies.
Top