From owner-freebsd-fs@FreeBSD.ORG Thu Sep 27 10:41:07 2012 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 081481065670 for ; Thu, 27 Sep 2012 10:41:07 +0000 (UTC) (envelope-from maurizio.vairani@cloverinformatica.it) Received: from smtplq03.aruba.it (smtplq-out13.aruba.it [62.149.158.33]) by mx1.freebsd.org (Postfix) with SMTP id 52E778FC12 for ; Thu, 27 Sep 2012 10:41:05 +0000 (UTC) Received: (qmail 5260 invoked by uid 89); 27 Sep 2012 10:41:02 -0000 Received: from unknown (HELO smtp1.aruba.it) (62.149.158.221) by smtplq03.aruba.it with SMTP; 27 Sep 2012 10:41:02 -0000 Received: (qmail 24732 invoked by uid 89); 27 Sep 2012 10:41:02 -0000 Received: from unknown (HELO cloverinformatica.it) (info@cloverinformatica.it@151.55.85.148) by smtp1.ad.aruba.it with SMTP; 27 Sep 2012 10:41:02 -0000 Received: from [192.168.0.185] (ASUS-TERMINATOR [192.168.0.185]) by cloverinformatica.it (Postfix) with ESMTP id 12DA468; Thu, 27 Sep 2012 12:41:04 +0200 (CEST) Message-ID: <50642D3F.2070908@cloverinformatica.it> Date: Thu, 27 Sep 2012 12:41:03 +0200 From: Maurizio Vairani User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Zeus Panchenko References: <20120926173700.29600@relay.ibs.dn.ua> <20120927025519.63369@relay.ibs.dn.ua> <20120927090131.84403@relay.ibs.dn.ua> In-Reply-To: <20120927090131.84403@relay.ibs.dn.ua> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: smtp1.ad.aruba.it 1.6.2 0/1000/N X-Spam-Rating: smtplq03.aruba.it 1.6.2 0/1000/N Cc: freebsd-fs@freebsd.org 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 10:41:07 -0000 On 27/09/2012 8.01, Zeus Panchenko wrote: > Gezeala M. Bacuño II wrote: >>> does it mean, I have no way to give access to the very snapshot, as if I >>> manipulate the snapshot locally by cp/mv/cmp e.t.c. commands? >>> >>> may I do that with zfs rather than with zvol? >> The recommended way of accessing snapshots is by cloning it. >> or >> cd /your-pool/your-fs-with-snapshot/.zfs/snapshot >> ls -ls >> >> If your filesystem or volume has snapshots you should see them. Take >> note that everything is read-only. >> > I do can access snapshots locally, what am I asking about is can I give > access to snapshots via network? via iSCSI, NFS or SAMBA ... > > since attempt to share snapshot via iSCSI leads to the error messages I > have posted in the first post I share my snapshots via SAMBA. In /usr/local/etc/smb.conf I have: [Maurizio] path = /pool500gb/shared/maurizio comment = Drive per Maurizio browseable = yes writeable = yes public = yes [Maurizio-Snapshot] path = /pool500gb/shared/maurizio/.zfs/snapshot comment = Snapshot del drive per Maurizio browseable = yes writeable = no public = yes where Maurizio is my work drive and Maurizio-Snapshot is the zfs snaphot Regards Maurizio