From owner-freebsd-fs@FreeBSD.ORG Thu Sep 27 08:06:29 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB90A1065673 for ; Thu, 27 Sep 2012 08:06:29 +0000 (UTC) (envelope-from nowakpl@platinum.linux.pl) Received: from platinum.linux.pl (platinum.edu.pl [81.161.192.4]) by mx1.freebsd.org (Postfix) with ESMTP id 9BBCC8FC1A for ; Thu, 27 Sep 2012 08:06:28 +0000 (UTC) Received: by platinum.linux.pl (Postfix, from userid 87) id 3F87047DCB; Thu, 27 Sep 2012 09:56:22 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on platinum.linux.pl X-Spam-Level: X-Spam-Status: No, score=-1.4 required=3.0 tests=ALL_TRUSTED,AWL autolearn=disabled version=3.3.2 Received: from [172.19.191.4] (c38-073.client.duna.pl [83.151.38.73]) by platinum.linux.pl (Postfix) with ESMTPA id E11BC47DC9 for ; Thu, 27 Sep 2012 09:56:19 +0200 (CEST) Message-ID: <5064069C.8040407@platinum.linux.pl> Date: Thu, 27 Sep 2012 09:56:12 +0200 From: Adam Nowacki User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-fs@freebsd.org References: <20120926173700.29600@relay.ibs.dn.ua> In-Reply-To: <20120926173700.29600@relay.ibs.dn.ua> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: how to access ZFS snapshot via iSCSI X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Sep 2012 08:06:30 -0000 On 2012-09-26 16:37, Zeus Panchenko wrote: > LU5 HDD UNIT > LU5: LUN0 file=/dev/zvol/storage/win/zvol-totest@hourly-2012-09-26-11, size=536870912000 > LU5: LUN0 1048576000 blocks, 512 bytes/block > istgt_lu_disk.c: 642:istgt_lu_disk_init: ***ERROR*** LU5: LUN0: open error(errno=17) > istgt_lu.c:2091:istgt_lu_init_unit: ***ERROR*** LU5: lu_disk_init() failed > istgt_lu.c:2166:istgt_lu_init: ***ERROR*** LU5: lu_init_unit() failed > istgt.c:2799:main: ***ERROR*** istgt_lu_init() failed > /usr/local/etc/rc.d/istgt: WARNING: failed to start istgt > > > where am I wrong? > istgt likely tries to open the snapshot read-write, maybe http://mebsd.com/configure-freebsd-servers/istgt-iscsi-dvd-target-istgt-conf.html will work.