+--------------------------------------------------------------------------------+
+                                 /etc/ctl.conf                                  +
+--------------------------------------------------------------------------------+
portal-group default {
}

portal-group pg1 {
	discovery-filter portal-name
	discovery-auth-group no-authentication
	listen 172.16.30.1:3260
}

portal-group pg2 {
	discovery-filter portal-name
	discovery-auth-group no-authentication
	listen 10.1.200.142:3260
}

lun "esxiExtent" {
	path "/dev/zvol/tank1/esxi"
	blocksize 512
	serial "0cc47a1732e8000"
	device-id "iSCSI Disk      0cc47a1732e8000                "
	option vendor "FreeBSD"
	option product "iSCSI Disk"
	option revision "0123"
	option naa 0x6589cfc000000e20892111b07a2493ed
	option insecure_tpc on
	option pool-avail-threshold 694066715033
	option rpm 1
}

target iqn.2011-03.dtech.istgt:target1:backup-targt {
	alias "Backup-targt"
	portal-group pg2 no-authentication

}

target iqn.2011-03.dtech.istgt:target1:esxi-target {
	alias "esxi-target"
	portal-group pg1 no-authentication

	lun 0 "esxiExtent"
}



+--------------------------------------------------------------------------------+
+                               ctladm devlist -v                                +
+--------------------------------------------------------------------------------+
LUN Backend       Size (Blocks)   BS Serial Number    Device ID       
  0 block            6442450944  512 0cc47a1732e8000  iSCSI Disk      0cc47a1732e8000                
      lun_type=0
      num_threads=14
      vendor=FreeBSD
      product=iSCSI Disk
      revision=0123
      naa=0x6589cfc000000e20892111b07a2493ed
      insecure_tpc=on
      pool-avail-threshold=694066715033
      rpm=1
      file=/dev/zvol/tank1/esxi
      ctld_name=esxiExtent


+--------------------------------------------------------------------------------+
+                                 ctladm islist                                  +
+--------------------------------------------------------------------------------+
  ID Portal           Initiator name                       Target name                         
   1 172.16.30.30     iqn.2015-09.local.dtech.freenas:target iqn.2011-03.dtech.istgt:target1:esxi-target
   2 172.16.30.10     iqn.2015-09.local.dtech.freenas:target iqn.2011-03.dtech.istgt:target1:esxi-target
   3 172.16.30.40     iqn.2015-09.local.dtech.freenas:target2 iqn.2011-03.dtech.istgt:target1:esxi-target
   4 172.16.30.50     iqn.2015-09.local.dtech.freenas:target2 iqn.2011-03.dtech.istgt:target1:esxi-target


