VFS_GPFS(8)
π
VFS_GPFS β the vfs_gpfs manual page, bestie edition π
okay so. you're here because you typed man vfs_gpfs or someone told you to and now you're staring at a wall of text. don't panic. this is the vfs_gpfs page from the samba(7) suite, and it's literally just "how to let Samba be besties with GPFS." let's go π¦
β¨ NAME β¨
vfs_gpfs β gpfs specific samba extensions like acls
πΈ SYNOPSIS πΈ
vfs objects = gpfs
that's it. that's the whole vibe. π
π DESCRIPTION π
This VFS module is part of the samba(7) suite. she's one of the family.
The gpfs VFS module is the home for all gpfs extensions that Samba requires for proper integration with GPFS. It uses the GPL library interfaces provided by GPFS.
Currently the gpfs vfs module provides extensions in following areas :
- NFSv4 ACL Interfaces with configurable options for GPFS
- Kernel oplock support on GPFS
- Lease support on GPFS
NOTE: This module follows the posix-acl behaviour and hence allows permission stealing via chown. Samba might allow at a later point in time, to restrict the chown via this module as such restrictions are the responsibility of the underlying filesystem than of Samba. so like, that's on the filesystem, not on Samba, ok? π
This module makes use of the smb.conf parameter acl map full control. When set to yes (the default), this parameter will add in the FILE_DELETE_CHILD bit on a returned ACE entry for a file (not a directory) that already contains all file permissions except for FILE_DELETE and FILE_DELETE_CHILD. This can prevent Windows applications that request GENERIC_ALL access from getting ACCESS_DENIED errors when running against a filesystem with NFSv4 compatible ACLs. basically it's out here stopping Windows apps from being dramatic. π
This module is stackable.
Since Samba 4.0 all options are per share options. periodt.
π OPTIONS π
nfs4:mode=[ simple | special ]β Controls substitution of special IDs (OWNER@andGROUP@) on NFS4 ACLs. The use of modesimpleis recommended. In this mode only non inheriting ACL entries for the file owner and group are mapped to special IDs.
The following MODEs are understood by the module:
simple(default) - useOWNER@andGROUP@special IDs for non inheriting ACEs only.special(deprecated) - useOWNER@andGROUP@special IDs in ACEs for all file owner and group ACEs.
nfs4:acedup=[dontcare|reject|ignore|merge]β This parameter configures how Samba handles duplicate ACEs encountered in NFS4 ACLs. They allow creating duplicate ACEs with different bits for same ID, which may confuse the Windows clients.
Following is the behaviour of Samba for different values :
dontcare- copy the ACEs as they comereject(deprecated) - stop operation and exit with error on ACL set opignore(deprecated) - don't include the second matching ACEmerge(default) - bitwise OR the 2ace.flagfields and 2ace.maskfields of the 2 duplicate ACEs into 1 ACE
nfs4:chown=[yes|no]β This parameter allows enabling or disabling the chown supported by the underlying filesystem. This parameter should be enabled with care as it might leave your system insecure. π¨
Some filesystems allow chown as a) giving b) stealing. It is the latter that is considered a risk.
Following is the behaviour of Samba for different values :
yes- Enable chown if as supported by the under filesystemno(default) - Disable chown
gpfs:sharemodes=[ yes | no ]β Enable/Disable cross node sharemode handling for GPFS.yes(default) - propagate sharemodes across all GPFS nodes.no- do not propagate sharemodes across all GPFS nodes. This should only be used if the GPFS file system is exclusively exported by Samba. Access by local unix application or NFS exports could lead to corrupted files. π
gpfs:leases=[ yes | no ]β Enable/Disable cross node leases (oplocks) for GPFS. You should also set theoplocksandkernel oplocksoptions to the same value.yes(default) - propagate leases across all GPFS nodes.no- do not propagate leases across all GPFS nodes. This should only be used if the GPFS file system is exclusively exported by Samba. Access by local unix application or NFS exports could lead to corrupted files. π
gpfs:hsm=[ yes | no ]β Enable/Disable announcing if this FS has HSM enabled.no(default) - Do not announce HSM.yes- Announce HSM.
gpfs:recalls=[ yes | no ]β When this option is set tono, an attempt to open an offline file will be rejected with access denied. This helps preventing recall storms triggered by careless applications like Finder and Explorer. not naming names but... Finder. Explorer. girlies. πyes(default) - Open files that are offline. This will recall the files from HSM.no- Reject access to offline files with access denied. This will prevent recalls of files from HSM. Using this setting also requiresgpfs:hsmto be set toyes.
gpfs:getrealfilename=[ yes | no ]β Enable/Disable usage of thegpfs_get_realfilename_path()function. This improves the casesensitive wildcard file name access.yes(default) - usegpfs_get_realfilename_path().no- do not usegpfs_get_realfilename_path(). It seems thatgpfs_get_realfilename_path()doesn't work on AIX.
gpfs:winattr=[ yes | no ]β Enable/Disable usage of the windows attributes in GPFS. GPFS is able to store windows file attributes e.g.HIDDEN,READONLY,SYSTEMand others natively. That means Samba doesn't need to map them to permission bits or extended attributes. slay, less work. β¨no(default) - do not use GPFS windows attributes.yes- use GPFS windows attributes.
gpfs:acl=[ yes | no ]β This option lets Samba use or ignore GPFS ACLs.yes(default) - use GPFS ACLs.no- do not use GPFS ACLs and pass everything to the nextSMB_VFSmodule.
gpfs:check_fstype=[ yes | no ]β Check for a mounted GPFS file system on access to a SMB share.yes(default) - Check that the SMB share path is on a GPFS file system. Share access will be denied when a different file system is found.no- skip check for GPFS file system on SMB share path.
gpfs:dfreequota=[ yes | no ]β Adjust reporting of the size and free space of a share according to quotas. If this setting is"yes", a request for size and free space will also evaluate the user quota of the user requesting the data and the group quota of the primary group of the user. Fileset quotas are not queried, since GPFS already provides the option--dfreequotato reflect the fileset quota in the free space query. Please use that option to include fileset quotas in the reported disk space.
If any of the soft or hard quota limits has been reached, the free space will be reported as 0. If a quota is in place, but the limits have not been reached, the free space will be reported according to the space left in the quota. If more than one quota applies the free space will be reported as the smallest space left in those quotas. The size of the share will be reported according to the quota usage. If more than one quota applies, the smallest size will be reported for the share size according to these quotas.
yes- include the quotas when reporting the share size and free spaceno(default) - do not include quotas, simply report the size and free space of the file system
gpfs:settimes=[ yes | no ]β Use thegpfs_set_timesAPI when changing the timestamps of a file or directory. If the GPFS API is not available the old method of usingutimeand the GPFSwinattrcall will be used instead.yes(default) - Usegpfs_set_times. Fall back toutimeandwinattrwhen it is not available.no- Do not usegpfs_set_times.
gpfs:clamp_invalid_times=[ yes | no ]β GPFS stores timestamps using 32-bit unsigned integers for the seconds component. When usinggpfs:settimes = yes, this module validates times that clients attempt to set are within the supported GPFS range between 0 andUINT32_MAX. If a timestamp is outside of this range, the client request is rejected. To cope with clients setting eg temporary timestamps outside the valid range, this parameter can be used to clamp the client timestamp to the allowed range. Times beforeThu Jan 1 12:00:00 AM UTC 1970(the UNIX epock) are then set toThu Jan 1 12:00:00 AM UTC 1970, times afterSun Feb 7 06:28:15 AM UTC 2106will be set toSun Feb 7 06:28:15 AM UTC 2106.no(default) - Fail request with invalid time.yes- clamp invalid times to 0 orUINT32_MAX.
gpfs:syncio=[yes|no]β This parameter makes Samba open all files withO_SYNC. This triggers optimizations in GPFS for workloads that heavily share files.
Following is the behaviour of Samba for different values:
yes- Open files withO_SYNCno(default) - Open files as normal Samba would do
π EXAMPLES π
A GPFS mount can be exported via Samba as follows :
[samba_gpfs_share]
vfs objects = gpfs
path = /test/gpfs_mount
nfs4: mode = special
nfs4: acedup = merge
look at her go. π«Ά
π¦ CAVEATS π¦
Depending on the version of gpfs, the libgpfs_gpl library or the libgpfs library is needed at runtime by the gpfs VFS module: Starting with gpfs 3.2.1 PTF8, the complete libgpfs is available as open source and libgpfs_gpl does no longer exist. With earlier versions of gpfs, only the libgpfs_gpl library was open source and could be used at run time.
At build time, only the header file gpfs_gpl.h is required, which is a symlink to gpfs.h in gpfs versions newer than 3.2.1 PTF8.
so yeah, check your gpfs version before you come for this module. she has needs. π
β VERSION β
This man page is part of version 4.24.7-Ubuntu-4.24.7+dfsg-1ubuntu1 of the Samba suite.
π AUTHOR π
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.
The GPFS VFS module was created with contributions from Volker Lendecke and the developers at IBM.
This manpage was created by the IBM FSCC team.
and that's the whole thing, bestie π this page is part of the Samba 4.24.7-Ubuntu-4.24.7+dfsg-1ubuntu1 suite and it was written down on 09/13/2026 β go forth, mount your GPFS, set your nfs4:mode, and absolutely do not enable nfs4:chown unless you know exactly what you're doing. mwah. ππ§ββοΈ
π¦ where this page comes from
- ubuntu stonking: samba 2:4.24.7+dfsg-1ubuntu1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms