Hello Tano,

The issue here is not the target or VMware but a missing GUID on the target as 
the issue.

Observe the target smf properties using

iscsitadm list target -v

You have

iSCSI Name: iqn.1986-03.com.sun:02:35ec26d8-f173-6dd5-b239-93a9690ffe46.vscsi
Connections: 0
ACL list:
TPGT list:
TPGT: 1
LUN information:
LUN: 0
GUID: 0
VID: SUN
PID: SOLARIS
Type: disk
Size: 1.3T
Backing store: /dev/zvol/rdsk/vdrive/LUNB
Status: online
Target: iscsi
iSCSI Name: iqn.1986-03.com.sun:02:4d469663-2304-4796-87a5-dffa03cd14ea.iscsi
Connections: 0
ACL list:
TPGT list:
TPGT: 1
LUN information:
LUN: 0
GUID: 0
VID: SUN
PID: SOLARIS
Type: disk
Size: 750G
Backing store: /dev/zvol/rdsk/vdrive/LUNA
Status: online
 
Both targets have the same invalid GUID of zero and this will prevent NAA from 
working properly.

To fix this you can create a two new temporary targets and export the smf props 
to an xml file.

e.g. 

svccfg -export iscsitgt > /iscsibackup/myiscsitargetbu.xml

then edit the xml file switching the newly generated guid's to your valid 
targets and zeroing the temp ones.

Now you can import the file with

scvadm import /iscsibackup/myiscsitargetbu.xml

When you restart your iscsitgt server you should have the guids in place and it 
should work with vmware.

The you can delete the temps targets.

http://blog.laspina.ca
--
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to