source: vendor/3.6.23/docs/manpages/vfs_gpfs.8

Last change on this file was 860, checked in by Silvan Scherrer, 11 years ago

Samba 3.6: updated vendor to latest version

File size: 10.2 KB
Line 
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"
31vfs_gpfs \- gpfs specific samba extensions like acls and prealloc
32.SH "SYNOPSIS"
33.HP \w'\ 'u
34vfs objects = gpfs
35.SH "DESCRIPTION"
36.PP
37This VFS module is part of the
38\fBsamba\fR(7)
39suite\&.
40.PP
41The
42gpfs
43VFS 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
45Currently 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.\}
55NFSv4 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.\}
66Kernel 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.\}
77Lease support on GPFS
78.RE
79.sp
80.RE
81.PP
82NOTE: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
84This module is stackable\&.
85.SH "OPTIONS"
86.PP
87gpfs:sharemodes = [ yes | no ]
88.RS 4
89Enable/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
100yes(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
113no
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
120gpfs:leases = [ yes | no ]
121.RS 4
122Enable/Disable cross node leases (oplocks) for GPFS\&. You should also set the
123oplocks
124and
125kernel oplocks
126options 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
137yes(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
150no
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
157gpfs:hsm = [ yes | no ]
158.RS 4
159Enable/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
170no(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
183no
184\- Announce HSM\&.
185.RE
186.sp
187.RE
188.RE
189.PP
190gpfs:getrealfilename = [ yes | no ]
191.RS 4
192Enable/Disable usage of the
193gpfs_get_realfilename_path()
194function\&. 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
205yes(default)
206\- use
207gpfs_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
219no
220\- do not use
221gpfs_get_realfilename_path()\&. It seems that
222gpfs_get_realfilename_path()
223doesn\*(Aqt work on AIX\&.
224.RE
225.sp
226.RE
227.RE
228.PP
229gpfs:winattr = [ yes | no ]
230.RS 4
231Enable/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
242no(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
255yes
256\- use GPFS windows attributes\&.
257.RE
258.sp
259.RE
260.RE
261.PP
262gpfs:merge_writeappend = [ yes | no ]
263.RS 4
264GPFS 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
275yes(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
288no
289\- do not map \*(AqAPPEND\*(Aq to \*(AqWRITE\*(Aq\&.
290.RE
291.sp
292.RE
293.RE
294.PP
295gpfs:refuse_dacl_protected = [ yes | no ]
296.RS 4
297As 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
299To make sure that automatic migration with e\&.g\&. robocopy does not lead to ACLs silently (and unintentionally) changed, you can set
300gpfs:refuse_dacl_protected = yes
301to 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
312no(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
325yes
326\- reject ACLs with DESC_DACL_PROTECTED\&.
327.RE
328.sp
329.RE
330.RE
331.PP
332nfs4:mode = [ simple | special ]
333.RS 4
334Enable/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
336The 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.\}
346simple(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.\}
358special
359\- use special IDs in GPFS ACEs\&.
360.RE
361.sp
362.RE
363.RE
364.PP
365nfs4:acedup = [dontcare|reject|ignore|merge]
366.RS 4
367This parameter configures how Samba handles duplicate ACEs encountered in GPFS ACLs\&. GPFS allows/creates duplicate ACE for different bits for same ID\&.
368.sp
369Following 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.\}
379dontcare (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.\}
391reject
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.\}
403ignore
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.\}
415merge
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
422nfs4:chown = [yes|no]
423.RS 4
424This 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
426Some filesystems allow chown as a) giving b) stealing\&. It is the latter that is considered a risk\&.
427.sp
428Following 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.\}
438yes
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.\}
450no (default)
451\- Disable chown
452.RE
453.sp
454.RE
455.RE
456.PP
457gpfs:syncio = [yes|no]
458.RS 4
459This parameter makes Samba open all files with O_SYNC\&. This triggers optimizations in GPFS for workloads that heavily share files\&.
460.sp
461Following 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.\}
471yesOpen 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.\}
482no (default)Open files as normal Samba would do
483.RE
484.sp
485.RE
486.RE
487.SH "EXAMPLES"
488.PP
489A 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
506Depending on the version of gpfs, the
507libgpfs_gpl
508library or the
509libgpfs
510library is needed at runtime by the
511gpfs
512VFS module: Starting with gpfs 3\&.2\&.1 PTF8, the complete
513libgpfs
514is available as open source and
515libgpfs_gpl
516does no longer exist\&. With earlier versions of gpfs, only the
517libgpfs_gpl
518library was open source and could be used at run time\&.
519.PP
520At build time, only the header file
521gpfs_gpl\&.h
522is required , which is a symlink to
523gpfs\&.h
524in gpfs versions newer than 3\&.2\&.1 PTF8\&.
525.SH "VERSION"
526.PP
527This man page is correct for version 3\&.0\&.25 of the Samba suite\&.
528.SH "AUTHOR"
529.PP
530The 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
532The GPFS VFS module was created with contributions from Volker Lendecke and the developers at IBM\&.
533.PP
534This manpage was created by the IBM FSCC team
Note: See TracBrowser for help on using the repository browser.