1VFS_GPFS(8)               System Administration tools              VFS_GPFS(8)
2
3
4

NAME

6       vfs_gpfs - gpfs specific samba extensions like acls and prealloc
7

SYNOPSIS

9       vfs objects = gpfs
10

DESCRIPTION

12       This VFS module is part of the samba(7) suite.
13
14       The gpfs VFS module is the home for all gpfs extensions that Samba
15       requires for proper integration with GPFS. It uses the GPL library
16       interfaces provided by GPFS.
17
18       Currently the gpfs vfs module provides extensions in following areas :
19
20       ·   NFSv4 ACL Interfaces with configurable options for GPFS
21
22       ·   Kernel oplock support on GPFS
23
24       ·   Lease support on GPFS
25
26
27       NOTE:This module follows the posix-acl behaviour and hence allows
28       permission stealing via chown. Samba might allow at a later point in
29       time, to restrict the chown via this module as such restrictions are
30       the responsibility of the underlying filesystem than of Samba.
31
32       This module is stackable.
33

OPTIONS

35       gpfs:sharemodes = [ yes | no ]
36           Enable/Disable cross node sharemode handling for GPFS.
37
38           ·   yes(default) - propagate sharemodes across all GPFS nodes.
39
40           ·   no - do not propagate sharemodes across all GPFS nodes. This
41               should only be used if the GPFS file system is exclusively
42               exported by Samba. Access by local unix application or NFS
43               exports could lead to corrupted files.
44
45
46       gpfs:leases = [ yes | no ]
47           Enable/Disable cross node leases (oplocks) for GPFS. You should
48           also set the oplocks and kernel oplocks options to the same value.
49
50           ·   yes(default) - propagate leases across all GPFS nodes.
51
52           ·   no - do not propagate leases across all GPFS nodes. This should
53               only be used if the GPFS file system is exclusively exported by
54               Samba. Access by local unix application or NFS exports could
55               lead to corrupted files.
56
57
58       gpfs:hsm = [ yes | no ]
59           Enable/Disable announcing if this FS has HSM enabled.
60
61           ·   no(default) - Do not announce HSM.
62
63           ·   no - Announce HSM.
64
65
66       gpfs:getrealfilename = [ yes | no ]
67           Enable/Disable usage of the gpfs_get_realfilename_path() function.
68           This improves the casesensitive wildcard file name access.
69
70           ·   yes(default) - use gpfs_get_realfilename_path().
71
72           ·   no - do not use gpfs_get_realfilename_path(). It seems that
73               gpfs_get_realfilename_path() doesn't work on AIX.
74
75
76       gpfs:winattr = [ yes | no ]
77           Enable/Disable usage of the windows attributes in GPFS. GPFS is
78           able to store windows file attributes e.g. HIDDEN, READONLY, SYSTEM
79           and others natively. That means Samba doesn't need to map them to
80           permission bits or extended attributes.
81
82           ·   no(default) - do not use GPFS windows attributes.
83
84           ·   yes - use GPFS windows attributes.
85
86
87       gpfs:merge_writeappend = [ yes | no ]
88           GPFS ACLs doesn't know about the 'APPEND' right. This optionen lets
89           Samba map the 'APPEND' right to 'WRITE'.
90
91           ·   yes(default) - map 'APPEND' to 'WRITE'.
92
93           ·   no - do not map 'APPEND' to 'WRITE'.
94
95
96       gpfs:refuse_dacl_protected = [ yes | no ]
97           As GPFS does not support the ACE4_FLAG_NO_PROPAGATE NFSv4 flag
98           (which would be the mapping for the DESC_DACL_PROTECTED flag), the
99           status of this flag is currently silently ignored by Samba. That
100           means that if you deselect the "Allow inheritable permissions..."
101           checkbox in Windows' ACL dialog and then apply the ACL, the flag
102           will be back immediately.
103
104           To make sure that automatic migration with e.g. robocopy does not
105           lead to ACLs silently (and unintentionally) changed, you can set
106           gpfs:refuse_dacl_protected = yes to enable an explicit check for
107           this flag and if set, it will return NT_STATUS_NOT_SUPPORTED so
108           errors are shown up on the Windows side and the Administrator is
109           aware of the ACLs not being settable like intended
110
111           ·   no(default) - ignore the DESC_DACL_PROTECTED flags.
112
113           ·   yes - reject ACLs with DESC_DACL_PROTECTED.
114
115
116       nfs4:mode = [ simple | special ]
117           Enable/Disable substitution of special IDs on GPFS. This parameter
118           should not affect the windows users in anyway. It only ensures that
119           Samba sets the special IDs - OWNER@ and GROUP@ ( mappings to simple
120           uids ) that are relevant to GPFS.
121
122           The following MODEs are understood by the module:
123
124           ·   simple(default) - do not use special IDs in GPFS ACEs
125
126           ·   special - use special IDs in GPFS ACEs.
127
128
129       nfs4:acedup = [dontcare|reject|ignore|merge]
130           This parameter configures how Samba handles duplicate ACEs
131           encountered in GPFS ACLs. GPFS allows/creates duplicate ACE for
132           different bits for same ID.
133
134           Following is the behaviour of Samba for different values :
135
136           ·   dontcare (default) - copy the ACEs as they come
137
138           ·   reject - stop operation and exit with error on ACL set op
139
140           ·   ignore - don't include the second matching ACE
141
142           ·   merge - bitwise OR the 2 ace.flag fields and 2 ace.mask fields
143               of the 2 duplicate ACEs into 1 ACE
144
145
146       nfs4:chown = [yes|no]
147           This parameter allows enabling or disabling the chown supported by
148           the underlying filesystem. This parameter should be enabled with
149           care as it might leave your system insecure.
150
151           Some filesystems allow chown as a) giving b) stealing. It is the
152           latter that is considered a risk.
153
154           Following is the behaviour of Samba for different values :
155
156           ·   yes - Enable chown if as supported by the under filesystem
157
158           ·   no (default) - Disable chown
159
160
161       gpfs:syncio = [yes|no]
162           This parameter makes Samba open all files with O_SYNC. This
163           triggers optimizations in GPFS for workloads that heavily share
164           files.
165
166           Following is the behaviour of Samba for different values:
167
168           ·   yesOpen files with O_SYNC
169
170           ·   no (default)Open files as normal Samba would do
171
172

EXAMPLES

174       A GPFS mount can be exported via Samba as follows :
175
176                   [samba_gpfs_share]
177                vfs objects = gpfs
178                path = /test/gpfs_mount
179                nfs4: mode = special
180                nfs4: acedup = merge
181

CAVEATS

183       Depending on the version of gpfs, the libgpfs_gpl library or the
184       libgpfs library is needed at runtime by the gpfs VFS module: Starting
185       with gpfs 3.2.1 PTF8, the complete libgpfs is available as open source
186       and libgpfs_gpl does no longer exist. With earlier versions of gpfs,
187       only the libgpfs_gpl library was open source and could be used at run
188       time.
189
190       At build time, only the header file gpfs_gpl.h is required , which is a
191       symlink to gpfs.h in gpfs versions newer than 3.2.1 PTF8.
192

VERSION

194       This man page is correct for version 3.0.25 of the Samba suite.
195

AUTHOR

197       The original Samba software and related utilities were created by
198       Andrew Tridgell. Samba is now developed by the Samba Team as an Open
199       Source project similar to the way the Linux kernel is developed.
200
201       The GPFS VFS module was created with contributions from Volker Lendecke
202       and the developers at IBM.
203
204       This manpage was created by the IBM FSCC team
205
206
207
208Samba 3.6                         04/11/2016                       VFS_GPFS(8)
Impressum