how to access ZFS snapshot via iSCSI

Gezeala M. Bacuño II gezeala at gmail.com
Thu Sep 27 03:22:24 UTC 2012


On Wed, Sep 26, 2012 at 4:55 PM, Zeus Panchenko <zeus at ibs.dn.ua> wrote:
> Gezeala M. Bacuño II <gezeala at gmail.com> wrote:
>>
>> you should clone the snapshot first:
>> zfs clone dev/zvol/storage/win/zvol-totest at 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 at 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.


More information about the freebsd-fs mailing list