Cleanup trailing whitespace.
[import/samba-docs-svnimport.git] / manpages-3 / vfs_gpfs.8.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="vfs_gpfs.8">
4
5 <refmeta>
6         <refentrytitle>vfs_gpfs</refentrytitle>
7         <manvolnum>8</manvolnum>
8 </refmeta>
9
10
11 <refnamediv>
12         <refname>vfs_gpfs</refname>
13         <refpurpose>gpfs specific samba extensions like acls and prealloc</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17         <cmdsynopsis>
18                 <command>vfs objects = gpfs</command>
19         </cmdsynopsis>
20 </refsynopsisdiv>
21
22 <refsect1>
23         <title>DESCRIPTION</title>
24
25         <para>This VFS module is part of the
26         <citerefentry><refentrytitle>samba</refentrytitle>
27         <manvolnum>7</manvolnum></citerefentry> suite.</para>
28
29         <para>The <command>gpfs</command> VFS module is the home
30         for all gpfs extensions that Samba requires for proper integration
31         with GPFS. It uses the GPL library interfaces provided by GPFS.
32         </para>
33
34         <para>Currently the gpfs vfs module provides extensions in following areas :
35         <itemizedlist>
36         <listitem><para>NFSv4 ACL Interfaces with configurable options for GPFS</para></listitem>
37         <listitem><para>Kernel oplock support on GPFS</para></listitem>
38         <listitem><para>Lease support on GPFS</para></listitem>
39         </itemizedlist>
40         </para>
41
42         <para><command>NOTE:</command>This module follows the posix-acl behaviour
43         and hence allows permission stealing via chown. Samba might allow at a later
44         point in time, to restrict the chown via this module as such restrictions
45         are the responsibility of the underlying filesystem than of Samba.
46         </para>
47
48         <para>This module is stackable.</para>
49
50 </refsect1>
51
52
53 <refsect1>
54         <title>OPTIONS</title>
55
56         <variablelist>
57
58                 <varlistentry>
59
60                 <term>nfs4:mode = [ simple | special ]</term>
61                 <listitem>
62                 <para>
63                 Enable/Disable substitution of special IDs on GPFS. This parameter
64                 should not affect the windows users in anyway. It only ensures that Samba
65                 sets the special IDs - OWNER@ and GROUP@ ( mappings to simple uids )
66                 that are relevant to GPFS.
67                 </para>
68
69                 <para>The following MODEs are understood by the module:</para>
70                 <itemizedlist>
71                 <listitem><para><command>simple(default)</command> - do not use special IDs in GPFS ACEs</para></listitem>
72                 <listitem><para><command>special</command> - use special IDs in GPFS ACEs. </para> </listitem>
73                 </itemizedlist>
74                 </listitem>
75
76                 </varlistentry>
77
78
79                 <varlistentry>
80                 <term>nfs4:acedup = [dontcare|reject|ignore|merge]</term>
81                 <listitem>
82                 <para>
83                 This parameter configures how Samba handles duplicate ACEs encountered in GPFS ACLs.
84                 GPFS allows/creates duplicate ACE for different bits for same ID.
85                 </para>
86
87                 <para>Following is the behaviour of Samba for different values :</para>
88                 <itemizedlist>
89                 <listitem><para><command>dontcare (default)</command> - copy the ACEs as they come</para></listitem>
90                 <listitem><para><command>reject</command> - stop operation and exit with error on ACL set op</para></listitem>
91                 <listitem><para><command>ignore</command> - don't include the second matching ACE</para></listitem>
92                 <listitem><para><command>merge</command> - bitwise OR the 2 ace.flag fields and 2 ace.mask fields of the 2 duplicate ACEs into 1 ACE</para></listitem>
93                 </itemizedlist>
94                 </listitem>
95                 </varlistentry>
96
97
98                 <varlistentry>
99                 <term>nfs4:chown = [yes|no]</term>
100                 <listitem>
101                 <para>This parameter allows enabling or disabling the chown supported
102                 by the underlying filesystem. This parameter should be enabled with
103                 care as it might leave your system insecure.</para>
104                 <para>Some filesystems allow chown as a) giving b) stealing. It is the latter
105                 that is considered a risk.</para>
106
107                 <para>Following is the behaviour of Samba for different values : </para>
108                 <itemizedlist>
109                 <listitem><para><command>yes</command> - Enable chown if as supported by the under filesystem</para></listitem>
110                 <listitem><para><command>no (default)</command> - Disable chown</para></listitem>
111                 </itemizedlist>
112                 </listitem>
113                 </varlistentry>
114
115         </variablelist>
116 </refsect1>
117
118 <refsect1>
119         <title>EXAMPLES</title>
120
121         <para>A GPFS mount can be exported via Samba as follows :</para>
122
123 <programlisting>
124         <smbconfsection name="[samba_gpfs_share]"/>
125         <smbconfoption name="vfs objects">gpfs</smbconfoption>
126         <smbconfoption name="path">/test/gpfs_mount</smbconfoption>
127         <smbconfoption name="nfs4: mode">special</smbconfoption>
128         <smbconfoption name="nfs4: acedup">merge</smbconfoption>
129 </programlisting>
130 </refsect1>
131
132 <refsect1>
133         <title>CAVEATS</title>
134         <para>The gpfs gpl libraries are required by <command>gpfs</command> VFS
135         module during both compilation and runtime.
136         Also this VFS module is tested to work on SLES 9/10 and RHEL 4.4
137         </para>
138 </refsect1>
139
140 <refsect1>
141         <title>VERSION</title>
142         <para>This man page is correct for version 3.0.25 of the Samba suite.
143         </para>
144 </refsect1>
145
146 <refsect1>
147         <title>AUTHOR</title>
148
149         <para>The original Samba software and related utilities
150         were created by Andrew Tridgell. Samba is now developed
151         by the Samba Team as an Open Source project similar
152         to the way the Linux kernel is developed.</para>
153
154         <para>The GPFS VFS module was created with contributions from
155         Volker Lendecke and the developers at IBM.
156         </para>
157
158         <para> This manpage was created by the IBM FSCC team </para>
159 </refsect1>
160
161 </refentry>