Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2012 12:41:03 +0200
From:      Maurizio Vairani <maurizio.vairani@cloverinformatica.it>
To:        Zeus Panchenko <zeus@ibs.dn.ua>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: how to access ZFS snapshot via iSCSI
Message-ID:  <50642D3F.2070908@cloverinformatica.it>
In-Reply-To: <20120927090131.84403@relay.ibs.dn.ua>
References:  <20120926173700.29600@relay.ibs.dn.ua> <CAJKO3mWhOBF3MG6Y0=UvAfhv8PgyGn5=ZYaZm3KibrowRjxFVg@mail.gmail.com> <20120927025519.63369@relay.ibs.dn.ua> <CAJKO3mU72OxeUSzpW6mYJf=AB1ni6icmoRi1PU=N7W2KaynowQ@mail.gmail.com> <20120927090131.84403@relay.ibs.dn.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27/09/2012 8.01, Zeus Panchenko wrote:
> Gezeala M. Bacuño II<gezeala@gmail.com>  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50642D3F.2070908>