Date: Thu, 3 Dec 2009 10:56:17 +0200 From: "Sergey V. Dyatko" <sergey.dyatko@gmail.com> To: <freebsd-ports@freebsd.org> Subject: Re: does istgt works on -CURRENT ? Message-ID: <20091203105617.40649d43@notebook> In-Reply-To: <E0E34175DA33964C8847AE8E5DFF901B055B3F@cinexchange.cintech.clz> References: <E0E34175DA33964C8847AE8E5DFF901B055B3F@cinexchange.cintech.clz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 27 Nov 2009 12:30:25 +0100 "Daniel Ernst" <ernst@cintech.de> wrote: DE> Hi Sergey, DE>=20 Hi DE> It seems that it doesn=B4t effect FreeBSD 9.0 only. I tried it on DE> FreeBSD 8.0. And I get the same error. I have FreeBSD 8.0 x64 DE> Release installed and than created a zpool, not updated, and had DE> with zfs created a target. After that I installed istgt with the DE> ports. Made the same configuration as u, besides the IP-Address ;), DE> and got this failure by starting istgt: DE>=20 Yes, there is a problem on 8.0 too:( master-z# uname -a FreeBSD master-z.domain 8.0-RELEASE FreeBSD 8.0-RELEASE #0 r200021: Thu Dec 3 07:15:39 UTC 2009 tiger@master-z.domain:/usr/obj/usr/src/sys/PF_IPSEC_QUOTA amd64 but istgt version 0.2 (20091124) DE> Starting istgt. DE> Istgt version 0.2 (20090428) DE> Istgt_lu.c:1213:istgt_lu_add_unit: ***ERROR*** LU1: LUN0: format DE> error Istgt_lu.c:1473:istgt_lu_init: ***ERROR*** lu_add_unit() DE> failed Istgt.c:1247:main: ***ERROR*** istgt_lu_init() failed DE> /usr/local/etc/rc.d/istgt: WARNING: failed to start istgt Same error DE>=20 DE> Have someone an idea? DE>=20 DE> Greetings Daniel DE>=20 DE>=20 DE>=20 DE> Hi Daisuke Aoyama and list=20 DE>=20 DE> I'm trying run iSCSI target on my -CURRENT box=20 DE> %uname -a DE> FreeBSD current.domain 9.0-CURRENT FreeBSD 9.0-CURRENT #6 DE> r198480: Tue Nov 3 10:03:09 EET 2009 DE> root at current.domain:/usr/obj/usr/src/sys/KERN amd64 DE>=20 DE> %pkg_info -xI istgt DE> istgt-20090428 An iSCSI target for FreeBSD 7.x with ZFS DE>=20 DE> %zfs upgrade DE> This system is currently running ZFS filesystem version 3. DE>=20 DE> All filesystems are formatted with the current version. DE> %zpool upgrade DE> This system is currently running ZFS pool version 13. DE>=20 DE> All pools are formatted using this version. DE>=20 DE> Now my actions Step-by-step: DE>=20 DE> # zfs create tank/share/target DE> # zfs set mountpoint=3Dnone tank/share/target DE> # zfs set quota=3D20G tank/share/target DE> # cd /usr/local/etc/istgt DE> # cp auth.conf.sample auth.conf DE> # cp istgt.conf.sample istgt.conf DE> # cp istgtcontrol.conf.sample istgtcontrol.conf DE>=20 DE> my server`s IP is 192.168.9.249 DE> I made some changes on istgt.conf: DE> 1) section [PortalGroup1]: DE> "Portal DA1 192.168.2.36:3260" -> "Portal DA1 192.168.9.249:3260"=20 DE> 2) sections [LogicalUnit1]: DE> "LUN0 Storage /tank/iscsi/istgt-disk1 10G" -> "LUN0 DE> Storage /tank/share/target" DE>=20 DE> Now I'm trying start istgt: DE> # /usr/local/etc/rc.d/istgt onestart DE> istgt version 0.2 (20090428) DE> istgt_lu.c:1213:istgt_lu_add_unit: ***ERROR*** LU1: LUN0: format DE> error istgt_lu.c:1473:istgt_lu_init: ***ERROR*** lu_add_unit() DE> failed istgt.c:1247:main: ***ERROR*** istgt_lu_init() failed DE> /usr/local/etc/rc.d/istgt: WARNING: failed to start istgt DE>=20 DE>=20 DE> where I'm wrong? DE>=20 DE>=20 -- wbr, tiger
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091203105617.40649d43>