iSCSI with ZFS

Status
Not open for further replies.

supernet33

Dabbler
Joined
Sep 7, 2011
Messages
21
9.jpg

I just uploaded the logs..
 

supernet33

Dabbler
Joined
Sep 7, 2011
Messages
21
Looks like your iSCSI service is failing... quick Google Search found this: http://sourceforge.net/apps/phpbb/freenas/viewtopic.php?f=53&t=10378

What version are you running? 32-bit or 64-bit? I am using 8.0.1-RC1 64-bit and not having any issues.

Also found this: http://forums.freenas.org/showthread.php?955-ISCSI-Configuration&


I semi got it working.. I reset the config to factory settings and finally got Device Extent working...

ESXi finally see's it... but it does not see any disk's?????
 

Everyone

Dabbler
Joined
Sep 7, 2011
Messages
17
I semi got it working.. I reset the config to factory settings and finally got Device Extent working...

ESXi finally see's it... but it does not see any disk's?????

Did you remember to associate the extent with the target? I've forgotten to do that before, and had to go back and turn the iSCSI service off, then back on again, then go back into ESXi and rescan, before the disk would show up.
 

supernet33

Dabbler
Joined
Sep 7, 2011
Messages
21
10.JPG
Did you remember to associate the extent with the target? I've forgotten to do that before, and had to go back and turn the iSCSI service off, then back on again, then go back into ESXi and rescan, before the disk would show up.


I just did that... and same thing... i noticed in the screen shot i just uploaed.. it isn't showing a lun???
 

Everyone

Dabbler
Joined
Sep 7, 2011
Messages
17
np... 8.0 what? What is the build number from your System Information page? Example, mine is: FreeNAS-8.0.1-RC1-amd64 (7508)

Seems like you may have an earlier build since things look a little different and aren't working right...
 

supernet33

Dabbler
Joined
Sep 7, 2011
Messages
21
Sep 8 15:24:53 freenas freenas: Starting collectd.
Sep 8 13:24:53 freenas freenas[1461]: Executing: /usr/sbin/service ix-fstab quietstart
Sep 8 13:24:53 freenas freenas[1461]: Executing: /usr/sbin/service swap1 quietstart
Sep 8 13:24:53 freenas freenas[1461]: Executing: /usr/sbin/service mountlate quietstart
Sep 8 13:25:02 freenas freenas[1461]: Executing: /usr/sbin/service ix-istgt quietstart
Sep 8 13:25:02 freenas freenas[1461]: Executing: /usr/sbin/service istgt forcestop
Sep 8 15:25:02 freenas freenas: istgt not running? (check /var/run/istgt.pid).
Sep 8 13:25:02 freenas freenas[1461]: Executing: /usr/sbin/service istgt restart
Sep 8 15:25:02 freenas freenas: istgt not running? (check /var/run/istgt.pid).
Sep 8 15:25:02 freenas freenas: Starting istgt.
Sep 8 15:25:02 freenas freenas: istgt version 0.4 (20110223)
Sep 8 15:25:02 freenas istgt[2504]: istgt version 0.4 (20110223)
Sep 8 15:25:02 freenas freenas: traditional mode
Sep 8 15:25:02 freenas istgt[2504]: traditional mode
Sep 8 15:25:02 freenas freenas: istgt_lu.c:1714:istgt_lu_add_unit: ***ERROR*** LU1: no LUN
Sep 8 15:25:02 freenas istgt[2504]: istgt_lu.c:1714:istgt_lu_add_unit: ***ERROR*** LU1: no LUN
Sep 8 15:25:02 freenas freenas: istgt_lu.c:1863:istgt_lu_init: ***ERROR*** lu_add_unit() failed
Sep 8 15:25:02 freenas istgt[2504]: istgt_lu.c:1863:istgt_lu_init: ***ERROR*** lu_add_unit() failed
Sep 8 15:25:02 freenas freenas: istgt.c:1665:main: ***ERROR*** istgt_lu_init() failed
Sep 8 15:25:02 freenas istgt[2504]: istgt.c:1665:main: ***ERROR*** istgt_lu_init() failed
Sep 8 15:25:02 freenas root: /usr/local/etc/rc.d/istgt: WARNING: failed to start istgt
Sep 8 15:25:02 freenas freenas: /usr/local/etc/rc.d/istgt: WARNING: failed to start istgt
Sep 8 13:25:18 freenas freenas[1461]: Executing: /usr/sbin/service ix-istgt quietstart
Sep 8 13:25:18 freenas freenas[1461]: Executing: /usr/sbin/service istgt forcestop
Sep 8 15:25:18 freenas freenas: istgt not running? (check /var/run/istgt.pid).
Sep 8 13:25:18 freenas freenas[1461]: Executing: /usr/sbin/service istgt restart
Sep 8 15:25:18 freenas freenas: istgt not running? (check /var/run/istgt.pid).
Sep 8 15:25:18 freenas freenas: Starting istgt.
Sep 8 15:25:18 freenas freenas: istgt version 0.4 (20110223)
Sep 8 15:25:18 freenas istgt[2623]: istgt version 0.4 (20110223)
Sep 8 15:25:18 freenas freenas: traditional mode
Sep 8 15:25:18 freenas istgt[2623]: traditional mode
Sep 8 15:25:18 freenas freenas: istgt_lu_disk.c: 430:istgt_lu_disk_init: ***ERROR*** LU1: LUN0: open error
Sep 8 15:25:18 freenas istgt[2623]: istgt_lu_disk.c: 430:istgt_lu_disk_init: ***ERROR*** LU1: LUN0: open error
Sep 8 15:25:18 freenas freenas: istgt_lu.c:1908:istgt_lu_init: ***ERROR*** LU1: lu_disk_init() failed
Sep 8 15:25:18 freenas istgt[2623]: istgt_lu.c:1908:istgt_lu_init: ***ERROR*** LU1: lu_disk_init() failed
Sep 8 15:25:18 freenas freenas: istgt.c:1665:main: ***ERROR*** istgt_lu_init() failed
Sep 8 15:25:18 freenas istgt[2623]: istgt.c:1665:main: ***ERROR*** istgt_lu_init() failed
Sep 8 15:25:18 freenas freenas: LU1 HDD UNIT
Sep 8 15:25:18 freenas freenas: LU1: LUN0 file=/dev/ada2, size=2000398934016
Sep 8 15:25:18 freenas freenas: LU1: LUN0 3907029168 blocks, 512 bytes/block
Sep 8 15:25:18 freenas root: /usr/local/etc/rc.d/istgt: WARNING: failed to start istgt
Sep 8 15:25:18 freenas freenas: /usr/local/etc/rc.d/istgt: WARNING: failed to start istgt
Sep 8 13:25:28 freenas freenas[1461]: Executing: /usr/sbin/service ix-istgt quietstart
Sep 8 13:25:28 freenas freenas[1461]: Executing: /usr/sbin/service istgt forcestop
Sep 8 15:25:28 freenas freenas: istgt not running? (check /var/run/istgt.pid).
Sep 8 13:25:28 freenas freenas[1461]: Executing: /usr/sbin/service istgt restart
Sep 8 15:25:28 freenas freenas: Will not 'restart' istgt because istgt_enable is NO.
Sep 8 13:25:33 freenas freenas[1461]: Executing: /usr/sbin/service ix-istgt quietstart
Sep 8 13:25:33 freenas freenas[1461]: Executing: /usr/sbin/service istgt forcestop
Sep 8 15:25:33 freenas freenas: istgt not running? (check /var/run/istgt.pid).
Sep 8 13:25:33 freenas freenas[1461]: Executing: /usr/sbin/service istgt restart
Sep 8 15:25:33 freenas freenas: istgt not running? (check /var/run/istgt.pid).
Sep 8 15:25:33 freenas freenas: Starting istgt.
Sep 8 15:25:33 freenas freenas: istgt version 0.4 (20110223)
Sep 8 15:25:33 freenas istgt[2855]: istgt version 0.4 (20110223)
Sep 8 15:25:33 freenas freenas: traditional mode
Sep 8 15:25:33 freenas istgt[2855]: traditional mode
Sep 8 15:25:33 freenas freenas: istgt_lu_disk.c: 430:istgt_lu_disk_init: ***ERROR*** LU1: LUN0: open error
Sep 8 15:25:33 freenas istgt[2855]: istgt_lu_disk.c: 430:istgt_lu_disk_init: ***ERROR*** LU1: LUN0: open error
Sep 8 15:25:33 freenas freenas: istgt_lu.c:1908:istgt_lu_init: ***ERROR*** LU1: lu_disk_init() failed
Sep 8 15:25:33 freenas istgt[2855]: istgt_lu.c:1908:istgt_lu_init: ***ERROR*** LU1: lu_disk_init() failed
Sep 8 15:25:33 freenas freenas: istgt.c:1665:main: ***ERROR*** istgt_lu_init() failed
Sep 8 15:25:33 freenas istgt[2855]: istgt.c:1665:main: ***ERROR*** istgt_lu_init() failed
Sep 8 15:25:33 freenas freenas: LU1 HDD UNIT
Sep 8 15:25:33 freenas freenas: LU1: LUN0 file=/dev/ada2, size=2000398934016
Sep 8 15:25:33 freenas freenas: LU1: LUN0 3907029168 blocks, 512 bytes/block
Sep 8 15:25:33 freenas root: /usr/local/etc/rc.d/istgt: WARNING: failed to start istgt
Sep 8 15:25:33 freenas freenas: /usr/local/etc/rc.d/istgt: WARNING: failed to start istgt
Sep 8 13:29:55 freenas freenas[1461]: Executing: /usr/sbin/service ix-ttys quietstart
Sep 8 13:29:55 freenas freenas[1461]: Executing: /usr/sbin/service ix-loader quietstart
Sep 8 13:30:13 freenas freenas[1461]: Executing: /usr/sbin/service ix-istgt quietstart
Sep 8 13:30:14 freenas freenas[1461]: Executing: /usr/sbin/service istgt forcestop
Sep 8 15:30:14 freenas freenas: istgt not running? (check /var/run/istgt.pid).
Sep 8 13:30:14 freenas freenas[1461]: Executing: /usr/sbin/service istgt restart
Sep 8 15:30:14 freenas freenas: Will not 'restart' istgt because istgt_enable is NO.
Sep 8 13:30:17 freenas freenas[1461]: Executing: /usr/sbin/service ix-istgt quietstart
Sep 8 13:30:17 freenas freenas[1461]: Executing: /usr/sbin/service istgt forcestop
Sep 8 15:30:17 freenas freenas: istgt not running? (check /var/run/istgt.pid).
Sep 8 13:30:17 freenas freenas[1461]: Executing: /usr/sbin/service istgt restart
Sep 8 15:30:17 freenas freenas: istgt not running? (check /var/run/istgt.pid).
Sep 8 15:30:17 freenas freenas: Starting istgt.
Sep 8 15:30:17 freenas freenas: istgt version 0.4 (20110223)
Sep 8 15:30:17 freenas istgt[3271]: istgt version 0.4 (20110223)
Sep 8 15:30:17 freenas freenas: traditional mode
Sep 8 15:30:17 freenas istgt[3271]: traditional mode
Sep 8 15:30:17 freenas freenas: istgt_lu_disk.c: 430:istgt_lu_disk_init: ***ERROR*** LU1: LUN0: open error
Sep 8 15:30:17 freenas istgt[3271]: istgt_lu_disk.c: 430:istgt_lu_disk_init: ***ERROR*** LU1: LUN0: open error
Sep 8 15:30:17 freenas freenas: istgt_lu.c:1908:istgt_lu_init: ***ERROR*** LU1: lu_disk_init() failed
Sep 8 15:30:17 freenas istgt[3271]: istgt_lu.c:1908:istgt_lu_init: ***ERROR*** LU1: lu_disk_init() failed
Sep 8 15:30:17 freenas freenas: istgt.c:1665:main: ***ERROR*** istgt_lu_init() failed
Sep 8 15:30:17 freenas istgt[3271]: istgt.c:1665:main: ***ERROR*** istgt_lu_init() failed
Sep 8 15:30:17 freenas freenas: LU1 HDD UNIT
Sep 8 15:30:17 freenas freenas: LU1: LUN0 file=/dev/ada2, size=2000398934016
Sep 8 15:30:17 freenas freenas: LU1: LUN0 3907029168 blocks, 512 bytes/block
Sep 8 15:30:17 freenas root: /usr/local/etc/rc.d/istgt: WARNING: failed to start istgt
Sep 8 15:30:17 freenas freenas: /usr/local/etc/rc.d/istgt: WARNING: failed to start istg
 

supernet33

Dabbler
Joined
Sep 7, 2011
Messages
21
OS Version: FreeBSD 8.2-RELEASE-p1
Platform: Intel(R) Celeron(R) CPU E3400 @ 2.60GHz
System Time: Thu Sep 8 15:32:31 CDT 2011
Uptime: 3:32PM up 17 mins, 0 users
Load Average: 0.00, 0.03, 0.08
FreeNAS Build: FreeNAS-8.0-RELEASE-amd64
 

Everyone

Dabbler
Joined
Sep 7, 2011
Messages
17
Ahh yeah see you're on an earlier version than what I'm running... so not sure what to tell you.

The log you posted shows the iSCSI service (istg) is still failing to start.

Maybe time to start with a fresh install of the latest release FreeNAS-8.0.1-RC1-amd64 (7508), which runs on FreeBSD 8.2-RELEASE-p2.
 
Status
Not open for further replies.
Top