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

Jeremy Allison jra at samba.org
Thu Aug 9 17:24:40 MDT 2012


On Wed, Aug 08, 2012 at 03:02:23PM +0400, Александр Фахрутдинов wrote:
> 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?

As part of the ZFS-on-Linux code, they should provide header files
that allow the vfs_zfsacl to build on Linux. If they don't, then
the project isn't done yet.

Jeremy.


More information about the samba mailing list