mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
c4ad3e57ff
Karolin
165 lines
5.3 KiB
XML
165 lines
5.3 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
|
|
<refentry id="vfs_gpfs.8">
|
|
|
|
<refmeta>
|
|
<refentrytitle>vfs_gpfs</refentrytitle>
|
|
<manvolnum>8</manvolnum>
|
|
<refmiscinfo class="source">Samba</refmiscinfo>
|
|
<refmiscinfo class="manual">System Administration tools</refmiscinfo>
|
|
<refmiscinfo class="version">3.5</refmiscinfo>
|
|
</refmeta>
|
|
|
|
|
|
<refnamediv>
|
|
<refname>vfs_gpfs</refname>
|
|
<refpurpose>gpfs specific samba extensions like acls and prealloc</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsynopsisdiv>
|
|
<cmdsynopsis>
|
|
<command>vfs objects = gpfs</command>
|
|
</cmdsynopsis>
|
|
</refsynopsisdiv>
|
|
|
|
<refsect1>
|
|
<title>DESCRIPTION</title>
|
|
|
|
<para>This VFS module is part of the
|
|
<citerefentry><refentrytitle>samba</refentrytitle>
|
|
<manvolnum>7</manvolnum></citerefentry> suite.</para>
|
|
|
|
<para>The <command>gpfs</command> 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.
|
|
</para>
|
|
|
|
<para>Currently the gpfs vfs module provides extensions in following areas :
|
|
<itemizedlist>
|
|
<listitem><para>NFSv4 ACL Interfaces with configurable options for GPFS</para></listitem>
|
|
<listitem><para>Kernel oplock support on GPFS</para></listitem>
|
|
<listitem><para>Lease support on GPFS</para></listitem>
|
|
</itemizedlist>
|
|
</para>
|
|
|
|
<para><command>NOTE:</command>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.
|
|
</para>
|
|
|
|
<para>This module is stackable.</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
<refsect1>
|
|
<title>OPTIONS</title>
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term>nfs4:mode = [ simple | special ]</term>
|
|
<listitem>
|
|
<para>
|
|
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.
|
|
</para>
|
|
|
|
<para>The following MODEs are understood by the module:</para>
|
|
<itemizedlist>
|
|
<listitem><para><command>simple(default)</command> - do not use special IDs in GPFS ACEs</para></listitem>
|
|
<listitem><para><command>special</command> - use special IDs in GPFS ACEs. </para> </listitem>
|
|
</itemizedlist>
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
<term>nfs4:acedup = [dontcare|reject|ignore|merge]</term>
|
|
<listitem>
|
|
<para>
|
|
This parameter configures how Samba handles duplicate ACEs encountered in GPFS ACLs.
|
|
GPFS allows/creates duplicate ACE for different bits for same ID.
|
|
</para>
|
|
|
|
<para>Following is the behaviour of Samba for different values :</para>
|
|
<itemizedlist>
|
|
<listitem><para><command>dontcare (default)</command> - copy the ACEs as they come</para></listitem>
|
|
<listitem><para><command>reject</command> - stop operation and exit with error on ACL set op</para></listitem>
|
|
<listitem><para><command>ignore</command> - don't include the second matching ACE</para></listitem>
|
|
<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>
|
|
</itemizedlist>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
<term>nfs4:chown = [yes|no]</term>
|
|
<listitem>
|
|
<para>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.</para>
|
|
<para>Some filesystems allow chown as a) giving b) stealing. It is the latter
|
|
that is considered a risk.</para>
|
|
|
|
<para>Following is the behaviour of Samba for different values : </para>
|
|
<itemizedlist>
|
|
<listitem><para><command>yes</command> - Enable chown if as supported by the under filesystem</para></listitem>
|
|
<listitem><para><command>no (default)</command> - Disable chown</para></listitem>
|
|
</itemizedlist>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
</refsect1>
|
|
|
|
<refsect1>
|
|
<title>EXAMPLES</title>
|
|
|
|
<para>A GPFS mount can be exported via Samba as follows :</para>
|
|
|
|
<programlisting>
|
|
<smbconfsection name="[samba_gpfs_share]"/>
|
|
<smbconfoption name="vfs objects">gpfs</smbconfoption>
|
|
<smbconfoption name="path">/test/gpfs_mount</smbconfoption>
|
|
<smbconfoption name="nfs4: mode">special</smbconfoption>
|
|
<smbconfoption name="nfs4: acedup">merge</smbconfoption>
|
|
</programlisting>
|
|
</refsect1>
|
|
|
|
<refsect1>
|
|
<title>CAVEATS</title>
|
|
<para>The gpfs gpl libraries are required by <command>gpfs</command> VFS
|
|
module during both compilation and runtime.
|
|
Also this VFS module is tested to work on SLES 9/10 and RHEL 4.4
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1>
|
|
<title>VERSION</title>
|
|
<para>This man page is correct for version 3.0.25 of the Samba suite.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1>
|
|
<title>AUTHOR</title>
|
|
|
|
<para>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.</para>
|
|
|
|
<para>The GPFS VFS module was created with contributions from
|
|
Volker Lendecke and the developers at IBM.
|
|
</para>
|
|
|
|
<para> This manpage was created by the IBM FSCC team </para>
|
|
</refsect1>
|
|
|
|
</refentry>
|