Hi All,
I have built FreeNAS1 using iscsi targets and this is working perfectly. The problem comes when i have now created FreeNAS2. Now when i scan the NAS's from esxi i can only add new storage to one of them and can't see it on the other. I believe this issue is coming from the LUN ID. I can see the volume in the static discovery of esxi but i am unable to add the storage.
When i remove NAS1 from my storage adapter discovery i can then see the Volumes on NAS2 to be able to format the VMFS partition.
When i try to set the LUN ID manually i get this error:
Jun 5 16:40:35 nas1 istgt[10430]: istgt_lu.c:1915:istgt_lu_add_unit: ***ERROR*** LU1: no LUN0
Jun 5 16:40:35 nas1 notifier: istgt_lu.c:1915:istgt_lu_add_unit: ***ERROR*** LU1: no LUN0
Jun 5 16:40:35 nas1 istgt[10430]: istgt_lu.c:2151:istgt_lu_init: ***ERROR*** lu_add_unit() failed
Jun 5 16:40:35 nas1 notifier: istgt_lu.c:2151:istgt_lu_init: ***ERROR*** lu_add_unit() failed
Jun 5 16:40:35 nas1 istgt[10430]: istgt.c:2799:main: ***ERROR*** istgt_lu_init() failed
Jun 5 16:40:35 nas1 notifier: istgt.c:2799:main: ***ERROR*** istgt_lu_init() failed
Jun 5 16:40:35 nas1 root: /usr/local/etc/rc.d/istgt: WARNING: failed to start istgt
Jun 5 16:40:35 nas1 notifier: /usr/local/etc/rc.d/istgt: WARNING: failed to start istgt
The LUN ID only seems to work when you set it to auto. I think then as you need LUN0 that the LUN ID conflicts with the 2nd freenas.
Has anyone found a resolution to this or has a bug been raised?
I have built FreeNAS1 using iscsi targets and this is working perfectly. The problem comes when i have now created FreeNAS2. Now when i scan the NAS's from esxi i can only add new storage to one of them and can't see it on the other. I believe this issue is coming from the LUN ID. I can see the volume in the static discovery of esxi but i am unable to add the storage.
When i remove NAS1 from my storage adapter discovery i can then see the Volumes on NAS2 to be able to format the VMFS partition.
When i try to set the LUN ID manually i get this error:
Jun 5 16:40:35 nas1 istgt[10430]: istgt_lu.c:1915:istgt_lu_add_unit: ***ERROR*** LU1: no LUN0
Jun 5 16:40:35 nas1 notifier: istgt_lu.c:1915:istgt_lu_add_unit: ***ERROR*** LU1: no LUN0
Jun 5 16:40:35 nas1 istgt[10430]: istgt_lu.c:2151:istgt_lu_init: ***ERROR*** lu_add_unit() failed
Jun 5 16:40:35 nas1 notifier: istgt_lu.c:2151:istgt_lu_init: ***ERROR*** lu_add_unit() failed
Jun 5 16:40:35 nas1 istgt[10430]: istgt.c:2799:main: ***ERROR*** istgt_lu_init() failed
Jun 5 16:40:35 nas1 notifier: istgt.c:2799:main: ***ERROR*** istgt_lu_init() failed
Jun 5 16:40:35 nas1 root: /usr/local/etc/rc.d/istgt: WARNING: failed to start istgt
Jun 5 16:40:35 nas1 notifier: /usr/local/etc/rc.d/istgt: WARNING: failed to start istgt
The LUN ID only seems to work when you set it to auto. I think then as you need LUN0 that the LUN ID conflicts with the 2nd freenas.
Has anyone found a resolution to this or has a bug been raised?