Multiprotocol File Sharing (SMB and NFS)
Fusion can serve the same share over both SMB and NFS at once. Because Fusion SMB and Fusion NFS run on one engine, a share's data is presented consistently to SMB and NFS clients, with a single coherent set of permissions and integrated byte-range locking that keeps simultaneous access safe.
How multiprotocol works
- One share, two protocols. A share that has both an SMB net name and an NFS
export is reachable at
\\<server>\<netname>over SMB and<server>:/<export>over NFS, backed by the same directory. - Coherent permissions. Rather than maintaining a separate ACL per protocol, Fusion keeps one rich permission set and interprets it for both Windows SMB ACLs and NFS/POSIX access checks. See File Security Mode.
- Cross-protocol byte-range locking. SMB and NFS byte-range lock state is integrated, so simultaneous open handles from SMB and NFS clients cannot corrupt data.
Required configuration
A multiprotocol share needs hybrid security together with map_acls /
map_attributes settings that match the backing filesystem.
security = hybrid— required so that one permission model applies to both protocols. See Hybrid Security Mode.map_acls/map_attributes— choose the backend(s) for your filesystem (see themap_aclsreference):- POSIX filesystems (XFS, ZFS, ext4, GlusterFS, Lustre, WekaFS): use at least
one POSIX-rich backend (
posix-aclorposix-std) alongsidexattr. - Module-based VFS (GPFS): use
native.
- POSIX filesystems (XFS, ZFS, ext4, GlusterFS, Lustre, WekaFS): use at least
one POSIX-rich backend (
nfs_export_name = pathis the recommended export form for a multiprotocol share.
Example (POSIX filesystem)
[global]
listen = ANY,0.0.0.0,IPv4,445,DIRECT_TCP
listen = ANY,0.0.0.0,IPv4,2049,ONCRPC_TCP
[/global]
[share]
netname = sh1
path = /mnt/shares/smbnfs1
permissions = everyone:full
security = hybrid
map_acls = xattr:v4,posix-acl:map_full_control
map_attributes = xattr
nfs_export_name = path
[/share]
For a module-based VFS such as GPFS, use the native backend instead:
map_acls = native
map_attributes = native
important
Ensure the local filesystem permissions on the shared directory are at least as permissive as the share/export permissions you set — otherwise access can be denied by the filesystem before Fusion's own permission checks apply.
See also
- Server and Share Configuration — enabling the SMB and NFS listeners and publishing shares and exports.
- Authorization and Access Management — the permission model shared by both protocols.