[Samba] How to build vfs_zfsacl module on Linux platform?

Александр Фахрутдинов alex_mgsm at mail.ru
Wed Aug 8 05:02:23 MDT 2012


Solaris OS has ZFS as primary filesystem, that has own implementation of ACL (NFS v4 ACL). Samba uses zfsacl and acl_xattr modules for converting NT ACL to ZFS ACL and extended attributes of file in this OS.

ZfsOnLinux team ported ZFS as a number of kernel-linked modules to Linux OS, so ZFS on Linux supports NFS ACL, deduplication, compresson and other features of Solaris ZFS v.28. But NFS ACL is not compatible with POSIX ACL, the one type of ACL Samba can use on Linux platform. Acl_xattr and acl_tdb modules cannot solve problem, because it's required a filesytem with POSIX ACL support for storing generic ACL attrbutes.

So, can I build vfs_zfsacl module on Linux, or building required Solaris-specific header files?

Debian 6 Squeeze x64
Linux 3.4-generic 
ZfsOnLinux v.0.6.0-rc9
Samba 3.6.6


More information about the samba mailing list