VFS_GPFS(8) | System Administration tools | VFS_GPFS(8) |
NAME¶
vfs_gpfs - gpfs specific samba extensions like acls and prealloc
SYNOPSIS¶
vfs objects = gpfs
DESCRIPTION¶
This VFS module is part of the samba(7) suite.
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 :
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.
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.
This module is stackable.
Since Samba 4.0 all options are per share options.
OPTIONS¶
gpfs:sharemodes = [ yes | no ]
gpfs:leases = [ yes | no ]
gpfs:hsm = [ yes | no ]
gpfs:recalls = [ yes | no ]
gpfs:getrealfilename = [ yes | no ]
gpfs:winattr = [ yes | no ]
gpfs:merge_writeappend = [ yes | no ]
gpfs:acl = [ yes | no ]
gpfs:refuse_dacl_protected = [ yes | no ]
To make sure that automatic migration with e.g. robocopy does not lead to ACLs silently (and unintentionally) changed, you can set gpfs:refuse_dacl_protected = yes to enable an explicit check for this flag and if set, it will return NT_STATUS_NOT_SUPPORTED so errors are shown up on the Windows side and the Administrator is aware of the ACLs not being settable like intended
gpfs:dfreequota = [ yes | no ]
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.
gpfs:prealloc = [ yes | no ]
gpfs:settimes = [ yes | no ]
nfs4:mode = [ simple | special ]
The following MODEs are understood by the module:
nfs4:acedup = [dontcare|reject|ignore|merge]
Following is the behaviour of Samba for different values :
nfs4:chown = [yes|no]
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 :
gpfs:syncio = [yes|no]
Following is the behaviour of Samba for different values:
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
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.
VERSION¶
This man page is correct for version 3.0.25 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
06/20/2018 | Samba 4.2 |