ports/141128: net/istgt doesn't work on FreeBSD 8.0 and HEAD

Sergey V. Dyatko sergey.dyatko at gmail.com
Thu Dec 3 13:40:03 UTC 2009


The following reply was made to PR ports/141128; it has been noted by GNATS.

From: "Sergey V. Dyatko" <sergey.dyatko at gmail.com>
To: bug-followup at FreeBSD.org, sergey.dyatko at gmail.com
Cc:  
Subject: Re: ports/141128: net/istgt doesn't work on FreeBSD 8.0 and HEAD
Date: Thu, 3 Dec 2009 15:37:54 +0200

 Hi, 
 thanks for reply and for hint with 'Auto' but I have another problem..
 
 master-z# zfs create storage/target
 master-z# zfs set mountpoint=none storage/target
 master-z# zfs set quota=10GB storage/target
 master-z# zfs list
 NAME             USED  AVAIL  REFER  MOUNTPOINT
 storage          105K  66.4G    18K  /storage
 storage/target    18K  10.0G    18K  none
 master-z# grep LUN0 /usr/local/etc/istgt/istgt.conf | grep -v ^#
   LUN0 Storage /storage/target Auto
 master-z# /usr/local/etc/rc.d/istgt start
 Starting istgt.
 istgt version 0.2 (20091124)
 istgt_lu.c:1223:istgt_lu_add_unit: ***ERROR*** LU1: LUN0: format error
 istgt_lu.c:1473:istgt_lu_init: ***ERROR*** lu_add_unit() failed
 istgt.c:1247:main: ***ERROR*** istgt_lu_init() failed
 /usr/local/etc/rc.d/istgt: WARNING: failed to start istgt
 
 but..
 
 master-z# grep LUN0 /usr/local/etc/istgt/istgt.conf | grep -v ^#
   LUN0 Storage /storage/target 10GB
 master-z# /usr/local/etc/rc.d/istgt start
 Starting istgt.
 istgt version 0.2 (20091124)
 LU1 HDD UNIT
 LU1: LUN0 file=/storage/target, size=10737418240
 LU1: LUN0 20971520 blocks, 512 bytes/block
 LU1: LUN0 10.0GB storage for iqn.2007-09.jp.ne.peach.istgt:disk1
 LU1: LUN0 command queuing disabled
 
 after that I can set size to 'Auto' or another value. That's works
 fine.. 
 
 --
 wbr, tiger



More information about the freebsd-ports-bugs mailing list