vfs_gpfs.8   [plain text]


.\"Generated by db2man.xsl. Don't modify this, modify the source.
.de Sh \" Subsection
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Ip \" List item
.br
.ie \\n(.$>=3 .ne \\$3
.el .ne 3
.IP "\\$1" \\$2
..
.TH "VFS_GPFS" 8 "" "" ""
.SH "NAME"
vfs_gpfs - gpfs specific samba extensions like acls and prealloc
.SH "SYNOPSIS"
.HP 1
vfs objects = gpfs
.SH "DESCRIPTION"
.PP
This VFS module is part of the
\fBsamba\fR(7)
suite.
.PP
The
gpfs
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.
.PP
Currently the gpfs vfs module provides extensions in following areas :
.TP 3n
\(bu
NFSv4 ACL Interfaces with configurable options for GPFS
.TP 3n
\(bu
Kernel oplock support on GPFS
.TP 3n
\(bu
Lease support on GPFS
.sp
.RE

.PP
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.
.PP
This module is stackable.
.SH "OPTIONS"
.PP
nfs4:mode = [ simple | special ]
.RS 3n
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.
.sp
The following MODEs are understood by the module:
.RS 3n
.TP 3n
\(bu
simple(default)
- do not use special IDs in GPFS ACEs
.TP 3n
\(bu
special
- use special IDs in GPFS ACEs.
.RE
.RE
.PP
nfs4:acedup = [dontcare|reject|ignore|merge]
.RS 3n
This parameter configures how Samba handles duplicate ACEs encountered in GPFS ACLs. GPFS allows/creates duplicate ACE for different bits for same ID.
.sp
Following is the behaviour of Samba for different values :
.RS 3n
.TP 3n
\(bu
dontcare (default)
- copy the ACEs as they come
.TP 3n
\(bu
reject
- stop operation and exit with error on ACL set op
.TP 3n
\(bu
ignore
- don't include the second matching ACE
.TP 3n
\(bu
merge
- bitwise OR the 2 ace.flag fields and 2 ace.mask fields of the 2 duplicate ACEs into 1 ACE
.RE
.RE
.PP
nfs4:chown = [yes|no]
.RS 3n
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.
.sp
Some filesystems allow chown as a) giving b) stealing. It is the latter that is considered a risk.
.sp
Following is the behaviour of Samba for different values :
.RS 3n
.TP 3n
\(bu
yes
- Enable chown if as supported by the under filesystem
.TP 3n
\(bu
no (default)
- Disable chown
.RE
.RE
.SH "EXAMPLES"
.PP
A GPFS mount can be exported via Samba as follows :

.nf

        \fI[samba_gpfs_share]\fR
	vfs objects = gpfs
	path = /test/gpfs_mount
	nfs4: mode = special
	nfs4: acedup = merge

.fi
.SH "CAVEATS"
.PP
The gpfs gpl libraries are required by
gpfs
VFS module during both compilation and runtime. Also this VFS module is tested to work on SLES 9/10 and RHEL 4.4
.SH "VERSION"
.PP
This man page is correct for version 3.0.25 of the Samba suite.
.SH "AUTHOR"
.PP
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.
.PP
The GPFS VFS module was created with contributions from Volker Lendecke and the developers at IBM.
.PP
This manpage was created by the IBM FSCC team