Luns sharing same Lun ID resulting in error while trying to add initiator to igroup
Applies to
- ONTAP 9.x
- RHEL Host
Issue
- Same LUN ID is showing for multiple LUN IDs.
-
cluster1::> lun mapping show
Vserver Path Igroup LUN ID Protocol
---------- ---------------------------------------- ------- ------ --------
svm1 /vol/iscsi1/iscsi1 initgroup 0 iscsi
svm1 /vol/iscsi1/lun0 igroupA 0 iscsi
svm1 /vol/iscsi1/lun_1 igroupB 0 iscsicluster1::> igroup show
Vserver Igroup Protocol OS Type Initiators
--------- ------------ -------- -------- ------------------------------------
svm1 initgroup iscsi vmware iqn.1xxx-01.com.vmware:xxx
iqn.1xxx-01.com.vmware:xxy
svm1 igroupA iscsi windows iqn.1991-05.com.microsoft:xxxx.demo.netapp.com
iqn.1991-05.com.microsoft:snapctr.demo.netapp.com
svm1 igroupB iscsi windows -
- In the above example, when we try to add any initiator to IgroupB, it fails.
- When adding IQN
iqn.1991-05.com.microsoft:xxxx.demo.netapp.com
to igroupB , it fails.
IniatorXXX Failed: You cannot add the node to an initiator group if the node is already present in another initiator group and both initiator groups share a LUN ID