Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 20:21:42 -0700
From:      =?ISO-8859-1?Q?Gezeala_M=2E_Bacu=F1o_II?= <gezeala@gmail.com>
To:        Zeus Panchenko <zeus@ibs.dn.ua>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: how to access ZFS snapshot via iSCSI
Message-ID:  <CAJKO3mU72OxeUSzpW6mYJf=AB1ni6icmoRi1PU=N7W2KaynowQ@mail.gmail.com>
In-Reply-To: <20120927025519.63369@relay.ibs.dn.ua>
References:  <20120926173700.29600@relay.ibs.dn.ua> <CAJKO3mWhOBF3MG6Y0=UvAfhv8PgyGn5=ZYaZm3KibrowRjxFVg@mail.gmail.com> <20120927025519.63369@relay.ibs.dn.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 26, 2012 at 4:55 PM, Zeus Panchenko <zeus@ibs.dn.ua> wrote:
> Gezeala M. Bacu=F1o II <gezeala@gmail.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJKO3mU72OxeUSzpW6mYJf=AB1ni6icmoRi1PU=N7W2KaynowQ>