1 | '\" t
|
---|
2 | .\" Title: vfs_gpfs
|
---|
3 | .\" Author: [see the "AUTHOR" section]
|
---|
4 | .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
|
---|
5 | .\" Date: 09/18/2013
|
---|
6 | .\" Manual: System Administration tools
|
---|
7 | .\" Source: Samba 3.6
|
---|
8 | .\" Language: English
|
---|
9 | .\"
|
---|
10 | .TH "VFS_GPFS" "8" "09/18/2013" "Samba 3\&.6" "System Administration tools"
|
---|
11 | .\" -----------------------------------------------------------------
|
---|
12 | .\" * Define some portability stuff
|
---|
13 | .\" -----------------------------------------------------------------
|
---|
14 | .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
15 | .\" http://bugs.debian.org/507673
|
---|
16 | .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
---|
17 | .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
18 | .ie \n(.g .ds Aq \(aq
|
---|
19 | .el .ds Aq '
|
---|
20 | .\" -----------------------------------------------------------------
|
---|
21 | .\" * set default formatting
|
---|
22 | .\" -----------------------------------------------------------------
|
---|
23 | .\" disable hyphenation
|
---|
24 | .nh
|
---|
25 | .\" disable justification (adjust text to left margin only)
|
---|
26 | .ad l
|
---|
27 | .\" -----------------------------------------------------------------
|
---|
28 | .\" * MAIN CONTENT STARTS HERE *
|
---|
29 | .\" -----------------------------------------------------------------
|
---|
30 | .SH "NAME"
|
---|
31 | vfs_gpfs \- gpfs specific samba extensions like acls and prealloc
|
---|
32 | .SH "SYNOPSIS"
|
---|
33 | .HP \w'\ 'u
|
---|
34 | vfs objects = gpfs
|
---|
35 | .SH "DESCRIPTION"
|
---|
36 | .PP
|
---|
37 | This VFS module is part of the
|
---|
38 | \fBsamba\fR(7)
|
---|
39 | suite\&.
|
---|
40 | .PP
|
---|
41 | The
|
---|
42 | gpfs
|
---|
43 | 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\&.
|
---|
44 | .PP
|
---|
45 | Currently the gpfs vfs module provides extensions in following areas :
|
---|
46 | .sp
|
---|
47 | .RS 4
|
---|
48 | .ie n \{\
|
---|
49 | \h'-04'\(bu\h'+03'\c
|
---|
50 | .\}
|
---|
51 | .el \{\
|
---|
52 | .sp -1
|
---|
53 | .IP \(bu 2.3
|
---|
54 | .\}
|
---|
55 | NFSv4 ACL Interfaces with configurable options for GPFS
|
---|
56 | .RE
|
---|
57 | .sp
|
---|
58 | .RS 4
|
---|
59 | .ie n \{\
|
---|
60 | \h'-04'\(bu\h'+03'\c
|
---|
61 | .\}
|
---|
62 | .el \{\
|
---|
63 | .sp -1
|
---|
64 | .IP \(bu 2.3
|
---|
65 | .\}
|
---|
66 | Kernel oplock support on GPFS
|
---|
67 | .RE
|
---|
68 | .sp
|
---|
69 | .RS 4
|
---|
70 | .ie n \{\
|
---|
71 | \h'-04'\(bu\h'+03'\c
|
---|
72 | .\}
|
---|
73 | .el \{\
|
---|
74 | .sp -1
|
---|
75 | .IP \(bu 2.3
|
---|
76 | .\}
|
---|
77 | Lease support on GPFS
|
---|
78 | .RE
|
---|
79 | .sp
|
---|
80 | .RE
|
---|
81 | .PP
|
---|
82 | 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\&.
|
---|
83 | .PP
|
---|
84 | This module is stackable\&.
|
---|
85 | .SH "OPTIONS"
|
---|
86 | .PP
|
---|
87 | gpfs:sharemodes = [ yes | no ]
|
---|
88 | .RS 4
|
---|
89 | Enable/Disable cross node sharemode handling for GPFS\&.
|
---|
90 | .sp
|
---|
91 | .RS 4
|
---|
92 | .ie n \{\
|
---|
93 | \h'-04'\(bu\h'+03'\c
|
---|
94 | .\}
|
---|
95 | .el \{\
|
---|
96 | .sp -1
|
---|
97 | .IP \(bu 2.3
|
---|
98 | .\}
|
---|
99 |
|
---|
100 | yes(default)
|
---|
101 | \- propagate sharemodes across all GPFS nodes\&.
|
---|
102 | .RE
|
---|
103 | .sp
|
---|
104 | .RS 4
|
---|
105 | .ie n \{\
|
---|
106 | \h'-04'\(bu\h'+03'\c
|
---|
107 | .\}
|
---|
108 | .el \{\
|
---|
109 | .sp -1
|
---|
110 | .IP \(bu 2.3
|
---|
111 | .\}
|
---|
112 |
|
---|
113 | no
|
---|
114 | \- 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\&.
|
---|
115 | .RE
|
---|
116 | .sp
|
---|
117 | .RE
|
---|
118 | .RE
|
---|
119 | .PP
|
---|
120 | gpfs:leases = [ yes | no ]
|
---|
121 | .RS 4
|
---|
122 | Enable/Disable cross node leases (oplocks) for GPFS\&. You should also set the
|
---|
123 | oplocks
|
---|
124 | and
|
---|
125 | kernel oplocks
|
---|
126 | options to the same value\&.
|
---|
127 | .sp
|
---|
128 | .RS 4
|
---|
129 | .ie n \{\
|
---|
130 | \h'-04'\(bu\h'+03'\c
|
---|
131 | .\}
|
---|
132 | .el \{\
|
---|
133 | .sp -1
|
---|
134 | .IP \(bu 2.3
|
---|
135 | .\}
|
---|
136 |
|
---|
137 | yes(default)
|
---|
138 | \- propagate leases across all GPFS nodes\&.
|
---|
139 | .RE
|
---|
140 | .sp
|
---|
141 | .RS 4
|
---|
142 | .ie n \{\
|
---|
143 | \h'-04'\(bu\h'+03'\c
|
---|
144 | .\}
|
---|
145 | .el \{\
|
---|
146 | .sp -1
|
---|
147 | .IP \(bu 2.3
|
---|
148 | .\}
|
---|
149 |
|
---|
150 | no
|
---|
151 | \- 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\&.
|
---|
152 | .RE
|
---|
153 | .sp
|
---|
154 | .RE
|
---|
155 | .RE
|
---|
156 | .PP
|
---|
157 | gpfs:hsm = [ yes | no ]
|
---|
158 | .RS 4
|
---|
159 | Enable/Disable announcing if this FS has HSM enabled\&.
|
---|
160 | .sp
|
---|
161 | .RS 4
|
---|
162 | .ie n \{\
|
---|
163 | \h'-04'\(bu\h'+03'\c
|
---|
164 | .\}
|
---|
165 | .el \{\
|
---|
166 | .sp -1
|
---|
167 | .IP \(bu 2.3
|
---|
168 | .\}
|
---|
169 |
|
---|
170 | no(default)
|
---|
171 | \- Do not announce HSM\&.
|
---|
172 | .RE
|
---|
173 | .sp
|
---|
174 | .RS 4
|
---|
175 | .ie n \{\
|
---|
176 | \h'-04'\(bu\h'+03'\c
|
---|
177 | .\}
|
---|
178 | .el \{\
|
---|
179 | .sp -1
|
---|
180 | .IP \(bu 2.3
|
---|
181 | .\}
|
---|
182 |
|
---|
183 | no
|
---|
184 | \- Announce HSM\&.
|
---|
185 | .RE
|
---|
186 | .sp
|
---|
187 | .RE
|
---|
188 | .RE
|
---|
189 | .PP
|
---|
190 | gpfs:getrealfilename = [ yes | no ]
|
---|
191 | .RS 4
|
---|
192 | Enable/Disable usage of the
|
---|
193 | gpfs_get_realfilename_path()
|
---|
194 | function\&. This improves the casesensitive wildcard file name access\&.
|
---|
195 | .sp
|
---|
196 | .RS 4
|
---|
197 | .ie n \{\
|
---|
198 | \h'-04'\(bu\h'+03'\c
|
---|
199 | .\}
|
---|
200 | .el \{\
|
---|
201 | .sp -1
|
---|
202 | .IP \(bu 2.3
|
---|
203 | .\}
|
---|
204 |
|
---|
205 | yes(default)
|
---|
206 | \- use
|
---|
207 | gpfs_get_realfilename_path()\&.
|
---|
208 | .RE
|
---|
209 | .sp
|
---|
210 | .RS 4
|
---|
211 | .ie n \{\
|
---|
212 | \h'-04'\(bu\h'+03'\c
|
---|
213 | .\}
|
---|
214 | .el \{\
|
---|
215 | .sp -1
|
---|
216 | .IP \(bu 2.3
|
---|
217 | .\}
|
---|
218 |
|
---|
219 | no
|
---|
220 | \- do not use
|
---|
221 | gpfs_get_realfilename_path()\&. It seems that
|
---|
222 | gpfs_get_realfilename_path()
|
---|
223 | doesn\*(Aqt work on AIX\&.
|
---|
224 | .RE
|
---|
225 | .sp
|
---|
226 | .RE
|
---|
227 | .RE
|
---|
228 | .PP
|
---|
229 | gpfs:winattr = [ yes | no ]
|
---|
230 | .RS 4
|
---|
231 | Enable/Disable usage of the windows attributes in GPFS\&. GPFS is able to store windows file attributes e\&.g\&. HIDDEN, READONLY, SYSTEM and others natively\&. That means Samba doesn\*(Aqt need to map them to permission bits or extended attributes\&.
|
---|
232 | .sp
|
---|
233 | .RS 4
|
---|
234 | .ie n \{\
|
---|
235 | \h'-04'\(bu\h'+03'\c
|
---|
236 | .\}
|
---|
237 | .el \{\
|
---|
238 | .sp -1
|
---|
239 | .IP \(bu 2.3
|
---|
240 | .\}
|
---|
241 |
|
---|
242 | no(default)
|
---|
243 | \- do not use GPFS windows attributes\&.
|
---|
244 | .RE
|
---|
245 | .sp
|
---|
246 | .RS 4
|
---|
247 | .ie n \{\
|
---|
248 | \h'-04'\(bu\h'+03'\c
|
---|
249 | .\}
|
---|
250 | .el \{\
|
---|
251 | .sp -1
|
---|
252 | .IP \(bu 2.3
|
---|
253 | .\}
|
---|
254 |
|
---|
255 | yes
|
---|
256 | \- use GPFS windows attributes\&.
|
---|
257 | .RE
|
---|
258 | .sp
|
---|
259 | .RE
|
---|
260 | .RE
|
---|
261 | .PP
|
---|
262 | gpfs:merge_writeappend = [ yes | no ]
|
---|
263 | .RS 4
|
---|
264 | GPFS ACLs doesn\*(Aqt know about the \*(AqAPPEND\*(Aq right\&. This optionen lets Samba map the \*(AqAPPEND\*(Aq right to \*(AqWRITE\*(Aq\&.
|
---|
265 | .sp
|
---|
266 | .RS 4
|
---|
267 | .ie n \{\
|
---|
268 | \h'-04'\(bu\h'+03'\c
|
---|
269 | .\}
|
---|
270 | .el \{\
|
---|
271 | .sp -1
|
---|
272 | .IP \(bu 2.3
|
---|
273 | .\}
|
---|
274 |
|
---|
275 | yes(default)
|
---|
276 | \- map \*(AqAPPEND\*(Aq to \*(AqWRITE\*(Aq\&.
|
---|
277 | .RE
|
---|
278 | .sp
|
---|
279 | .RS 4
|
---|
280 | .ie n \{\
|
---|
281 | \h'-04'\(bu\h'+03'\c
|
---|
282 | .\}
|
---|
283 | .el \{\
|
---|
284 | .sp -1
|
---|
285 | .IP \(bu 2.3
|
---|
286 | .\}
|
---|
287 |
|
---|
288 | no
|
---|
289 | \- do not map \*(AqAPPEND\*(Aq to \*(AqWRITE\*(Aq\&.
|
---|
290 | .RE
|
---|
291 | .sp
|
---|
292 | .RE
|
---|
293 | .RE
|
---|
294 | .PP
|
---|
295 | gpfs:refuse_dacl_protected = [ yes | no ]
|
---|
296 | .RS 4
|
---|
297 | As GPFS does not support the ACE4_FLAG_NO_PROPAGATE NFSv4 flag (which would be the mapping for the DESC_DACL_PROTECTED flag), the status of this flag is currently silently ignored by Samba\&. That means that if you deselect the "Allow inheritable permissions\&.\&.\&." checkbox in Windows\*(Aq ACL dialog and then apply the ACL, the flag will be back immediately\&.
|
---|
298 | .sp
|
---|
299 | To make sure that automatic migration with e\&.g\&. robocopy does not lead to ACLs silently (and unintentionally) changed, you can set
|
---|
300 | gpfs:refuse_dacl_protected = yes
|
---|
301 | 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
|
---|
302 | .sp
|
---|
303 | .RS 4
|
---|
304 | .ie n \{\
|
---|
305 | \h'-04'\(bu\h'+03'\c
|
---|
306 | .\}
|
---|
307 | .el \{\
|
---|
308 | .sp -1
|
---|
309 | .IP \(bu 2.3
|
---|
310 | .\}
|
---|
311 |
|
---|
312 | no(default)
|
---|
313 | \- ignore the DESC_DACL_PROTECTED flags\&.
|
---|
314 | .RE
|
---|
315 | .sp
|
---|
316 | .RS 4
|
---|
317 | .ie n \{\
|
---|
318 | \h'-04'\(bu\h'+03'\c
|
---|
319 | .\}
|
---|
320 | .el \{\
|
---|
321 | .sp -1
|
---|
322 | .IP \(bu 2.3
|
---|
323 | .\}
|
---|
324 |
|
---|
325 | yes
|
---|
326 | \- reject ACLs with DESC_DACL_PROTECTED\&.
|
---|
327 | .RE
|
---|
328 | .sp
|
---|
329 | .RE
|
---|
330 | .RE
|
---|
331 | .PP
|
---|
332 | nfs4:mode = [ simple | special ]
|
---|
333 | .RS 4
|
---|
334 | Enable/Disable substitution of special IDs on GPFS\&. This parameter should not affect the windows users in anyway\&. It only ensures that Samba sets the special IDs \- OWNER@ and GROUP@ ( mappings to simple uids ) that are relevant to GPFS\&.
|
---|
335 | .sp
|
---|
336 | The following MODEs are understood by the module:
|
---|
337 | .sp
|
---|
338 | .RS 4
|
---|
339 | .ie n \{\
|
---|
340 | \h'-04'\(bu\h'+03'\c
|
---|
341 | .\}
|
---|
342 | .el \{\
|
---|
343 | .sp -1
|
---|
344 | .IP \(bu 2.3
|
---|
345 | .\}
|
---|
346 | simple(default)
|
---|
347 | \- do not use special IDs in GPFS ACEs
|
---|
348 | .RE
|
---|
349 | .sp
|
---|
350 | .RS 4
|
---|
351 | .ie n \{\
|
---|
352 | \h'-04'\(bu\h'+03'\c
|
---|
353 | .\}
|
---|
354 | .el \{\
|
---|
355 | .sp -1
|
---|
356 | .IP \(bu 2.3
|
---|
357 | .\}
|
---|
358 | special
|
---|
359 | \- use special IDs in GPFS ACEs\&.
|
---|
360 | .RE
|
---|
361 | .sp
|
---|
362 | .RE
|
---|
363 | .RE
|
---|
364 | .PP
|
---|
365 | nfs4:acedup = [dontcare|reject|ignore|merge]
|
---|
366 | .RS 4
|
---|
367 | This parameter configures how Samba handles duplicate ACEs encountered in GPFS ACLs\&. GPFS allows/creates duplicate ACE for different bits for same ID\&.
|
---|
368 | .sp
|
---|
369 | Following is the behaviour of Samba for different values :
|
---|
370 | .sp
|
---|
371 | .RS 4
|
---|
372 | .ie n \{\
|
---|
373 | \h'-04'\(bu\h'+03'\c
|
---|
374 | .\}
|
---|
375 | .el \{\
|
---|
376 | .sp -1
|
---|
377 | .IP \(bu 2.3
|
---|
378 | .\}
|
---|
379 | dontcare (default)
|
---|
380 | \- copy the ACEs as they come
|
---|
381 | .RE
|
---|
382 | .sp
|
---|
383 | .RS 4
|
---|
384 | .ie n \{\
|
---|
385 | \h'-04'\(bu\h'+03'\c
|
---|
386 | .\}
|
---|
387 | .el \{\
|
---|
388 | .sp -1
|
---|
389 | .IP \(bu 2.3
|
---|
390 | .\}
|
---|
391 | reject
|
---|
392 | \- stop operation and exit with error on ACL set op
|
---|
393 | .RE
|
---|
394 | .sp
|
---|
395 | .RS 4
|
---|
396 | .ie n \{\
|
---|
397 | \h'-04'\(bu\h'+03'\c
|
---|
398 | .\}
|
---|
399 | .el \{\
|
---|
400 | .sp -1
|
---|
401 | .IP \(bu 2.3
|
---|
402 | .\}
|
---|
403 | ignore
|
---|
404 | \- don\*(Aqt include the second matching ACE
|
---|
405 | .RE
|
---|
406 | .sp
|
---|
407 | .RS 4
|
---|
408 | .ie n \{\
|
---|
409 | \h'-04'\(bu\h'+03'\c
|
---|
410 | .\}
|
---|
411 | .el \{\
|
---|
412 | .sp -1
|
---|
413 | .IP \(bu 2.3
|
---|
414 | .\}
|
---|
415 | merge
|
---|
416 | \- bitwise OR the 2 ace\&.flag fields and 2 ace\&.mask fields of the 2 duplicate ACEs into 1 ACE
|
---|
417 | .RE
|
---|
418 | .sp
|
---|
419 | .RE
|
---|
420 | .RE
|
---|
421 | .PP
|
---|
422 | nfs4:chown = [yes|no]
|
---|
423 | .RS 4
|
---|
424 | 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\&.
|
---|
425 | .sp
|
---|
426 | Some filesystems allow chown as a) giving b) stealing\&. It is the latter that is considered a risk\&.
|
---|
427 | .sp
|
---|
428 | Following is the behaviour of Samba for different values :
|
---|
429 | .sp
|
---|
430 | .RS 4
|
---|
431 | .ie n \{\
|
---|
432 | \h'-04'\(bu\h'+03'\c
|
---|
433 | .\}
|
---|
434 | .el \{\
|
---|
435 | .sp -1
|
---|
436 | .IP \(bu 2.3
|
---|
437 | .\}
|
---|
438 | yes
|
---|
439 | \- Enable chown if as supported by the under filesystem
|
---|
440 | .RE
|
---|
441 | .sp
|
---|
442 | .RS 4
|
---|
443 | .ie n \{\
|
---|
444 | \h'-04'\(bu\h'+03'\c
|
---|
445 | .\}
|
---|
446 | .el \{\
|
---|
447 | .sp -1
|
---|
448 | .IP \(bu 2.3
|
---|
449 | .\}
|
---|
450 | no (default)
|
---|
451 | \- Disable chown
|
---|
452 | .RE
|
---|
453 | .sp
|
---|
454 | .RE
|
---|
455 | .RE
|
---|
456 | .PP
|
---|
457 | gpfs:syncio = [yes|no]
|
---|
458 | .RS 4
|
---|
459 | This parameter makes Samba open all files with O_SYNC\&. This triggers optimizations in GPFS for workloads that heavily share files\&.
|
---|
460 | .sp
|
---|
461 | Following is the behaviour of Samba for different values:
|
---|
462 | .sp
|
---|
463 | .RS 4
|
---|
464 | .ie n \{\
|
---|
465 | \h'-04'\(bu\h'+03'\c
|
---|
466 | .\}
|
---|
467 | .el \{\
|
---|
468 | .sp -1
|
---|
469 | .IP \(bu 2.3
|
---|
470 | .\}
|
---|
471 | yesOpen files with O_SYNC
|
---|
472 | .RE
|
---|
473 | .sp
|
---|
474 | .RS 4
|
---|
475 | .ie n \{\
|
---|
476 | \h'-04'\(bu\h'+03'\c
|
---|
477 | .\}
|
---|
478 | .el \{\
|
---|
479 | .sp -1
|
---|
480 | .IP \(bu 2.3
|
---|
481 | .\}
|
---|
482 | no (default)Open files as normal Samba would do
|
---|
483 | .RE
|
---|
484 | .sp
|
---|
485 | .RE
|
---|
486 | .RE
|
---|
487 | .SH "EXAMPLES"
|
---|
488 | .PP
|
---|
489 | A GPFS mount can be exported via Samba as follows :
|
---|
490 | .sp
|
---|
491 | .if n \{\
|
---|
492 | .RS 4
|
---|
493 | .\}
|
---|
494 | .nf
|
---|
495 | \fI[samba_gpfs_share]\fR
|
---|
496 | \m[blue]\fBvfs objects = gpfs\fR\m[]
|
---|
497 | \m[blue]\fBpath = /test/gpfs_mount\fR\m[]
|
---|
498 | \m[blue]\fBnfs4: mode = special\fR\m[]
|
---|
499 | \m[blue]\fBnfs4: acedup = merge\fR\m[]
|
---|
500 | .fi
|
---|
501 | .if n \{\
|
---|
502 | .RE
|
---|
503 | .\}
|
---|
504 | .SH "CAVEATS"
|
---|
505 | .PP
|
---|
506 | Depending on the version of gpfs, the
|
---|
507 | libgpfs_gpl
|
---|
508 | library or the
|
---|
509 | libgpfs
|
---|
510 | library is needed at runtime by the
|
---|
511 | gpfs
|
---|
512 | VFS module: Starting with gpfs 3\&.2\&.1 PTF8, the complete
|
---|
513 | libgpfs
|
---|
514 | is available as open source and
|
---|
515 | libgpfs_gpl
|
---|
516 | does no longer exist\&. With earlier versions of gpfs, only the
|
---|
517 | libgpfs_gpl
|
---|
518 | library was open source and could be used at run time\&.
|
---|
519 | .PP
|
---|
520 | At build time, only the header file
|
---|
521 | gpfs_gpl\&.h
|
---|
522 | is required , which is a symlink to
|
---|
523 | gpfs\&.h
|
---|
524 | in gpfs versions newer than 3\&.2\&.1 PTF8\&.
|
---|
525 | .SH "VERSION"
|
---|
526 | .PP
|
---|
527 | This man page is correct for version 3\&.0\&.25 of the Samba suite\&.
|
---|
528 | .SH "AUTHOR"
|
---|
529 | .PP
|
---|
530 | 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\&.
|
---|
531 | .PP
|
---|
532 | The GPFS VFS module was created with contributions from Volker Lendecke and the developers at IBM\&.
|
---|
533 | .PP
|
---|
534 | This manpage was created by the IBM FSCC team
|
---|