[Samba] Debian Buster packages with vfs_zfsacl

Rowland penny rpenny at samba.org
Fri Jan 15 15:11:40 UTC 2021

On 15/01/2021 14:54, Piotr Maksymiuk wrote:
>> On 15 Jan 2021, at 10:41, Rowland penny via samba <samba at lists.samba.org> wrote:
>> On 14/01/2021 22:53, Piotr Maksymiuk via samba wrote:
>>> I've started using samba with OpenZFS on Debian, but it seems I need zfsacl to go along with fruit for it not to complain about not being able to write some ACL metadata. Would it be possible to include it somehow? I'm using zfs stuff from buster-backports. I've tried using vfs_acl_xattr and the errors went away, but then samba stops respecting the setuid ACL. I'm thinking zfsacl should fix that (maybe?)
>>> Cheers,
>>> Piotr
>> To be honest, I cannot recommend using ZFS with Samba, FreeBSD defaults to ZFS and they have multiple problems with Samba.
>> Rowland
> Could you elaborate? It was my experiments with TrueNAS (FBSD based) that led me to switch, and with ZOL 2.0 becoming the ZFS implementation on all OSes [1] and TrueNAS coming out with a Linux version [2] I can see user adoption rising. I know TrueNAS had a bunch of custom patches [3], but haven't tracked down what they do on SCALE yet. However I saw a glimpse of them promising to commit more stuff upstream in their issue tracked
> [1] https://www.phoronix.com/scan.php?page=news_item&px=OpenZFS-2.0-Released
> [2] https://www.truenas.com/community/threads/truenas-scale-release-plan.87266/
> [3] https://github.com/freenas/ports/tree/freenas/master/net/samba/files
> Cheers,
> Peter

I am  not saying that you cannot use ZFS, I am saying that I wouldn't 
use it with Samba. There have been numerous problems reported from 
FreeBSD about ACL problems.


More information about the samba mailing list