| 1 | '\" t
|
|---|
| 2 | .\" Title: vfs_gpfs
|
|---|
| 3 | .\" Author: [see the "AUTHOR" section]
|
|---|
| 4 | .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
|---|
| 5 | .\" Date: 01/14/2010
|
|---|
| 6 | .\" Manual: System Administration tools
|
|---|
| 7 | .\" Source: Samba 3.3
|
|---|
| 8 | .\" Language: English
|
|---|
| 9 | .\"
|
|---|
| 10 | .TH "VFS_GPFS" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools"
|
|---|
| 11 | .\" -----------------------------------------------------------------
|
|---|
| 12 | .\" * set default formatting
|
|---|
| 13 | .\" -----------------------------------------------------------------
|
|---|
| 14 | .\" disable hyphenation
|
|---|
| 15 | .nh
|
|---|
| 16 | .\" disable justification (adjust text to left margin only)
|
|---|
| 17 | .ad l
|
|---|
| 18 | .\" -----------------------------------------------------------------
|
|---|
| 19 | .\" * MAIN CONTENT STARTS HERE *
|
|---|
| 20 | .\" -----------------------------------------------------------------
|
|---|
| 21 | .SH "NAME"
|
|---|
| 22 | vfs_gpfs \- gpfs specific samba extensions like acls and prealloc
|
|---|
| 23 | .SH "SYNOPSIS"
|
|---|
| 24 | .HP \w'\ 'u
|
|---|
| 25 | vfs objects = gpfs
|
|---|
| 26 | .SH "DESCRIPTION"
|
|---|
| 27 | .PP
|
|---|
| 28 | This VFS module is part of the
|
|---|
| 29 | \fBsamba\fR(7)
|
|---|
| 30 | suite\&.
|
|---|
| 31 | .PP
|
|---|
| 32 | The
|
|---|
| 33 | gpfs
|
|---|
| 34 | 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\&.
|
|---|
| 35 | .PP
|
|---|
| 36 | Currently the gpfs vfs module provides extensions in following areas :
|
|---|
| 37 | .sp
|
|---|
| 38 | .RS 4
|
|---|
| 39 | .ie n \{\
|
|---|
| 40 | \h'-04'\(bu\h'+03'\c
|
|---|
| 41 | .\}
|
|---|
| 42 | .el \{\
|
|---|
| 43 | .sp -1
|
|---|
| 44 | .IP \(bu 2.3
|
|---|
| 45 | .\}
|
|---|
| 46 | NFSv4 ACL Interfaces with configurable options for GPFS
|
|---|
| 47 | .RE
|
|---|
| 48 | .sp
|
|---|
| 49 | .RS 4
|
|---|
| 50 | .ie n \{\
|
|---|
| 51 | \h'-04'\(bu\h'+03'\c
|
|---|
| 52 | .\}
|
|---|
| 53 | .el \{\
|
|---|
| 54 | .sp -1
|
|---|
| 55 | .IP \(bu 2.3
|
|---|
| 56 | .\}
|
|---|
| 57 | Kernel oplock support on GPFS
|
|---|
| 58 | .RE
|
|---|
| 59 | .sp
|
|---|
| 60 | .RS 4
|
|---|
| 61 | .ie n \{\
|
|---|
| 62 | \h'-04'\(bu\h'+03'\c
|
|---|
| 63 | .\}
|
|---|
| 64 | .el \{\
|
|---|
| 65 | .sp -1
|
|---|
| 66 | .IP \(bu 2.3
|
|---|
| 67 | .\}
|
|---|
| 68 | Lease support on GPFS
|
|---|
| 69 | .sp
|
|---|
| 70 | .RE
|
|---|
| 71 | .PP
|
|---|
| 72 | 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\&.
|
|---|
| 73 | .PP
|
|---|
| 74 | This module is stackable\&.
|
|---|
| 75 | .SH "OPTIONS"
|
|---|
| 76 | .PP
|
|---|
| 77 | nfs4:mode = [ simple | special ]
|
|---|
| 78 | .RS 4
|
|---|
| 79 | 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\&.
|
|---|
| 80 | .sp
|
|---|
| 81 | The following MODEs are understood by the module:
|
|---|
| 82 | .sp
|
|---|
| 83 | .RS 4
|
|---|
| 84 | .ie n \{\
|
|---|
| 85 | \h'-04'\(bu\h'+03'\c
|
|---|
| 86 | .\}
|
|---|
| 87 | .el \{\
|
|---|
| 88 | .sp -1
|
|---|
| 89 | .IP \(bu 2.3
|
|---|
| 90 | .\}
|
|---|
| 91 | simple(default)
|
|---|
| 92 | \- do not use special IDs in GPFS ACEs
|
|---|
| 93 | .RE
|
|---|
| 94 | .sp
|
|---|
| 95 | .RS 4
|
|---|
| 96 | .ie n \{\
|
|---|
| 97 | \h'-04'\(bu\h'+03'\c
|
|---|
| 98 | .\}
|
|---|
| 99 | .el \{\
|
|---|
| 100 | .sp -1
|
|---|
| 101 | .IP \(bu 2.3
|
|---|
| 102 | .\}
|
|---|
| 103 | special
|
|---|
| 104 | \- use special IDs in GPFS ACEs\&.
|
|---|
| 105 | .sp
|
|---|
| 106 | .RE
|
|---|
| 107 | .RE
|
|---|
| 108 | .PP
|
|---|
| 109 | nfs4:acedup = [dontcare|reject|ignore|merge]
|
|---|
| 110 | .RS 4
|
|---|
| 111 | This parameter configures how Samba handles duplicate ACEs encountered in GPFS ACLs\&. GPFS allows/creates duplicate ACE for different bits for same ID\&.
|
|---|
| 112 | .sp
|
|---|
| 113 | Following is the behaviour of Samba for different values :
|
|---|
| 114 | .sp
|
|---|
| 115 | .RS 4
|
|---|
| 116 | .ie n \{\
|
|---|
| 117 | \h'-04'\(bu\h'+03'\c
|
|---|
| 118 | .\}
|
|---|
| 119 | .el \{\
|
|---|
| 120 | .sp -1
|
|---|
| 121 | .IP \(bu 2.3
|
|---|
| 122 | .\}
|
|---|
| 123 | dontcare (default)
|
|---|
| 124 | \- copy the ACEs as they come
|
|---|
| 125 | .RE
|
|---|
| 126 | .sp
|
|---|
| 127 | .RS 4
|
|---|
| 128 | .ie n \{\
|
|---|
| 129 | \h'-04'\(bu\h'+03'\c
|
|---|
| 130 | .\}
|
|---|
| 131 | .el \{\
|
|---|
| 132 | .sp -1
|
|---|
| 133 | .IP \(bu 2.3
|
|---|
| 134 | .\}
|
|---|
| 135 | reject
|
|---|
| 136 | \- stop operation and exit with error on ACL set op
|
|---|
| 137 | .RE
|
|---|
| 138 | .sp
|
|---|
| 139 | .RS 4
|
|---|
| 140 | .ie n \{\
|
|---|
| 141 | \h'-04'\(bu\h'+03'\c
|
|---|
| 142 | .\}
|
|---|
| 143 | .el \{\
|
|---|
| 144 | .sp -1
|
|---|
| 145 | .IP \(bu 2.3
|
|---|
| 146 | .\}
|
|---|
| 147 | ignore
|
|---|
| 148 | \- don\'t include the second matching ACE
|
|---|
| 149 | .RE
|
|---|
| 150 | .sp
|
|---|
| 151 | .RS 4
|
|---|
| 152 | .ie n \{\
|
|---|
| 153 | \h'-04'\(bu\h'+03'\c
|
|---|
| 154 | .\}
|
|---|
| 155 | .el \{\
|
|---|
| 156 | .sp -1
|
|---|
| 157 | .IP \(bu 2.3
|
|---|
| 158 | .\}
|
|---|
| 159 | merge
|
|---|
| 160 | \- bitwise OR the 2 ace\&.flag fields and 2 ace\&.mask fields of the 2 duplicate ACEs into 1 ACE
|
|---|
| 161 | .sp
|
|---|
| 162 | .RE
|
|---|
| 163 | .RE
|
|---|
| 164 | .PP
|
|---|
| 165 | nfs4:chown = [yes|no]
|
|---|
| 166 | .RS 4
|
|---|
| 167 | 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\&.
|
|---|
| 168 | .sp
|
|---|
| 169 | Some filesystems allow chown as a) giving b) stealing\&. It is the latter that is considered a risk\&.
|
|---|
| 170 | .sp
|
|---|
| 171 | Following is the behaviour of Samba for different values :
|
|---|
| 172 | .sp
|
|---|
| 173 | .RS 4
|
|---|
| 174 | .ie n \{\
|
|---|
| 175 | \h'-04'\(bu\h'+03'\c
|
|---|
| 176 | .\}
|
|---|
| 177 | .el \{\
|
|---|
| 178 | .sp -1
|
|---|
| 179 | .IP \(bu 2.3
|
|---|
| 180 | .\}
|
|---|
| 181 | yes
|
|---|
| 182 | \- Enable chown if as supported by the under filesystem
|
|---|
| 183 | .RE
|
|---|
| 184 | .sp
|
|---|
| 185 | .RS 4
|
|---|
| 186 | .ie n \{\
|
|---|
| 187 | \h'-04'\(bu\h'+03'\c
|
|---|
| 188 | .\}
|
|---|
| 189 | .el \{\
|
|---|
| 190 | .sp -1
|
|---|
| 191 | .IP \(bu 2.3
|
|---|
| 192 | .\}
|
|---|
| 193 | no (default)
|
|---|
| 194 | \- Disable chown
|
|---|
| 195 | .sp
|
|---|
| 196 | .RE
|
|---|
| 197 | .RE
|
|---|
| 198 | .SH "EXAMPLES"
|
|---|
| 199 | .PP
|
|---|
| 200 | A GPFS mount can be exported via Samba as follows :
|
|---|
| 201 | .sp
|
|---|
| 202 | .if n \{\
|
|---|
| 203 | .RS 4
|
|---|
| 204 | .\}
|
|---|
| 205 | .nf
|
|---|
| 206 | \fI[samba_gpfs_share]\fR
|
|---|
| 207 | \m[blue]\fBvfs objects = gpfs\fR\m[]
|
|---|
| 208 | \m[blue]\fBpath = /test/gpfs_mount\fR\m[]
|
|---|
| 209 | \m[blue]\fBnfs4: mode = special\fR\m[]
|
|---|
| 210 | \m[blue]\fBnfs4: acedup = merge\fR\m[]
|
|---|
| 211 | .fi
|
|---|
| 212 | .if n \{\
|
|---|
| 213 | .RE
|
|---|
| 214 | .\}
|
|---|
| 215 | .SH "CAVEATS"
|
|---|
| 216 | .PP
|
|---|
| 217 | The gpfs gpl libraries are required by
|
|---|
| 218 | gpfs
|
|---|
| 219 | VFS module during both compilation and runtime\&. Also this VFS module is tested to work on SLES 9/10 and RHEL 4\&.4
|
|---|
| 220 | .SH "VERSION"
|
|---|
| 221 | .PP
|
|---|
| 222 | This man page is correct for version 3\&.0\&.25 of the Samba suite\&.
|
|---|
| 223 | .SH "AUTHOR"
|
|---|
| 224 | .PP
|
|---|
| 225 | 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\&.
|
|---|
| 226 | .PP
|
|---|
| 227 | The GPFS VFS module was created with contributions from Volker Lendecke and the developers at IBM\&.
|
|---|
| 228 | .PP
|
|---|
| 229 | This manpage was created by the IBM FSCC team
|
|---|