http://www.vladan.fr/how-to-configure-f ... t-to-esxi/
I was able to create a few zfs volumes (sparse, if it matters):
- basically used no CHAP authentication because I wanted to keep things simple (lab/home environment)
- created 1 extent and 1 target for each volume.
- when I ADDED any new iscsi extent/target (basically wanting to add a new VM disk), i started getting these errors below. I'll show you the config:
ZFS volumes:
Code: Select all
Pool Name Size Sparse Description
pool rac1 10G 853M
pool sol1 20G -
pool ubuntu1 20G 14.1G Code: Select all
EXTENTS
Extent
Name Path Size
rac1 /dev/zvol/pool/rac1 Auto
sol1 /dev/zvol/pool/sol1 Auto
ubuntu1 /dev/zvol/pool/ubuntu1 Auto
TARGETS
Target
Name Flags LUNs PG IG AG
box:rac1 rw LUN0=/dev/zvol/pool/rac1 1 1 none <------ MY NEW TARGET
box:sol1 rw LUN0=/dev/zvol/pool/sol1 1 1 none
box:ubuntu1 rw LUN0=/dev/zvol/pool/ubuntu1 1 1 none -- My vmware ESXi client also does NOT show the new iscsi target no matter how many times i refresh.Dec 12 23:40:11 box istgt[91056]: reload configuration #1
Dec 12 23:40:11 box root: iscsi_target service reload
Dec 12 23:40:35 box istgt[91056]: reload configuration #2
Dec 12 23:40:35 box istgt[91056]: istgt_lu.c:2375:istgt_lu_reload_update: ***ERROR*** update active LU1: Name=box:sol1, # of TSIH=1
Dec 12 23:40:35 box istgt[91056]: istgt_lu.c:2375:istgt_lu_reload_update: ***ERROR*** update active LU2: Name=box:ubuntu1, # of TSIH=1
Dec 12 23:40:35 box root: iscsi_target service reload
Dec 12 23:40:35 box istgt[91056]: add LU3: Name=box:ubuntu1
Dec 13 08:10:42 box istgt[91056]: Login(discovery) from iqn.1998-01.com.vmware:esxi-5cd80109 (192.168.1.5) on (192.168.1.11:3260,1), ISID=23d000000, TSIH=3, CID=0, HeaderDigest=off, DataDigest=off
Dec 13 08:10:42 box istgt[91056]: Logout(discovery) from iqn.1998-01.com.vmware:esxi-5cd80109 (192.168.1.5) on (192.168.1.11:3260,1), ISID=23d000000, TSIH=3, CID=0, HeaderDigest=off, DataDigest=off

Note that I'm running an active instance of ubuntu off the ubuntu1 volume, so I wasn't sure if I could be making those changes online or not. I didn't touch it, I was only adding another iscsi target for another VM.
The lines in RED are whenever I tried to APPLY the new iscsi target settings. The lines in BLUE are my vmware esxi trying to rediscover/rescan for any new volumes (there weren't). Are there any command line troubleshooting lines I could use?

