From owner-freebsd-fs@FreeBSD.ORG Thu Sep 27 03:22:24 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 24BAA106566B for ; Thu, 27 Sep 2012 03:22:24 +0000 (UTC) (envelope-from gezeala@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id EBB818FC08 for ; Thu, 27 Sep 2012 03:22:23 +0000 (UTC) Received: by padbi1 with SMTP id bi1so1060090pad.13 for ; Wed, 26 Sep 2012 20:22:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=HqH1/1a4GkIhEaPxYzUgms1Ggxn+A4IJJtXB+Dq6YFM=; b=d2ZIunOaW9QUhH2brRbkTazlZivw47OICS+VWkwLST15lumQL2Jb7N3FJ8uO1MU7J7 +F4BcM2skmN5KBdunABhIaiUVZ1jfQNilRDGfQWQmGyyo+7Cv4dmosQMG4s5UB0Rvmpz vwBYRT1AN4VQmjJvWLqbAAWFGPiPthPxdfj+yuQQ2vePDwBFogEK6uGLqD1ff2uyU2MD kmk4MxmQR4TlCojkE+BQ6kIgHR7gRopjHL3HcKCnXdIGEatugNV0OgOE1TB/IQNowo5h LJEU7I2Fg8bWBuwYTutdn6RXQMEoKxSi9yCZuzFvzwE0CE/7/LXIJLoud4F89RrFt7Pl HITg== Received: by 10.68.232.163 with SMTP id tp3mr7861495pbc.44.1348716143125; Wed, 26 Sep 2012 20:22:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.74.69 with HTTP; Wed, 26 Sep 2012 20:21:42 -0700 (PDT) In-Reply-To: <20120927025519.63369@relay.ibs.dn.ua> References: <20120926173700.29600@relay.ibs.dn.ua> <20120927025519.63369@relay.ibs.dn.ua> From: =?ISO-8859-1?Q?Gezeala_M=2E_Bacu=F1o_II?= Date: Wed, 26 Sep 2012 20:21:42 -0700 Message-ID: To: Zeus Panchenko Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 03:22:24 -0000 On Wed, Sep 26, 2012 at 4:55 PM, Zeus Panchenko wrote: > Gezeala M. Bacu=F1o II wrote: >> >> you should clone the snapshot first: >> zfs clone dev/zvol/storage/win/zvol-totest@hourly-2012-09-26-11 >> dev/zvol/storage/win/zvol-totest-clone >> > > 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? > > -- > Zeus V. Panchenko jid:zeus@im.ibs.dn.ua > IT Dpt., I.B.S. LLC GMT+2 (EET) 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.