ZFS snapshots readable over samba - Permission

Jeremy Allison jra at samba.org
Mon Oct 3 17:14:19 MDT 2011


On Mon, Oct 03, 2011 at 06:39:47PM -0400, Ira Cooper wrote:
> Bobo:
> 
> How are are the shares in samba exported?  On a per user basis or all of /usr/
> home in one share?
> 
> Also is there a reason why each user doesn't have their own ZFS subvolume?  It
> makes quotas and general administration easier.
> 
> Jeremy,
> 
> Expected paths:
> 
> /usr/home/foo/.profile ; foo's .profile
> /usr/home/.zfs/snapshot/daily.0/.profile ; Foo's profile yesterday. (assuming
> the snapshot is called daily.0)
> 
> With subvolumes:
> 
> /usr/home/foo/.profile ; foo's profile
> /usr/home/foo/.zfs/snapshot/daily.0/.profile ; Foo's profile yesterday.

Yes, the subvolume mechanism is the way to go. The non-subvolume
case will run into the default "wide links = no" setting.


More information about the samba-technical mailing list