From owner-freebsd-fs@FreeBSD.ORG Sat Nov 26 11:22:54 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFD53106564A for ; Sat, 26 Nov 2011 11:22:54 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 669B78FC08 for ; Sat, 26 Nov 2011 11:22:54 +0000 (UTC) Received: by wwe5 with SMTP id 5so3560628wwe.31 for ; Sat, 26 Nov 2011 03:22:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=bOKKy6xSE+VaVeFgeOEWH4Emi+pIB0EApCRkfJXSKdA=; b=MSxcvfNNPRIueHNlGTaPmVniAY0r79YXgriCT43WGZpK27S7Y+nLZ5xktGGloLUEmp Q4QjU4xO5BKV0sThtQceO3z+PNM5e29nmGOSJjJD1cYB0HVWNa44KCWrjpUbL7rrRnzh qVRwnbLPn0GkzF/NRpvuL4RkEsZkkm4M5LPKs= Received: by 10.180.101.132 with SMTP id fg4mr1178187wib.26.1322306573555; Sat, 26 Nov 2011 03:22:53 -0800 (PST) Received: from [192.168.1.11] (5ED0E470.cm-7-1d.dynamic.ziggo.nl. [94.208.228.112]) by mx.google.com with ESMTPS id ff1sm8393019wbb.5.2011.11.26.03.22.53 (version=SSLv3 cipher=OTHER); Sat, 26 Nov 2011 03:22:53 -0800 (PST) Message-ID: <4ED0CC0C.3010309@gmail.com> Date: Sat, 26 Nov 2011 12:22:52 +0100 From: johan Hendriks User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-fs@freebsd.org References: <4ED0949A.8080602@gmail.com> <4ED0C5EE.2000001@FreeBSD.org> In-Reply-To: <4ED0C5EE.2000001@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: zvol and zfs send no file on the receiving side. 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: Sat, 26 Nov 2011 11:22:54 -0000 Op 26-11-11 11:56, Andriy Gapon schreef: > on 26/11/2011 09:26 Johan Hendriks said the following: >> If i go to the directory /storage and do a ls -al >> i see my zvol file. > I wonder why you decided that that file is your zvol. > Please read up on what zvol really is. > > > Please enlighten me, i am struggling way to long with this. How do i set my iscsi target then. On the master i set it to. #LUN0 Storage /storage/iscsitest 10GB Wait now i type this, i think i am not using the zvol at all, but just creates a file on my zpool, that get shared as a target. I need to set it to something like this. LUN0 Storage /dev/zvol/tank/istgttest 10GB Am i right here? Thanks by the way, sometimes a little pointer is all you need. When struggling with something you overlook some vital things. I will try things tonight. regards Johan Hendriks