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_ceph.8">
6 <refentrytitle>vfs_ceph</refentrytitle>
7 <manvolnum>8</manvolnum>
8 <refmiscinfo class="source">Samba</refmiscinfo>
9 <refmiscinfo class="manual">System Administration tools</refmiscinfo>
10 <refmiscinfo class="version">&doc.version;</refmiscinfo>
15 <refname>vfs_ceph</refname>
17 Utilize features provided by CephFS
23 <command>vfs objects = ceph</command>
28 <title>DESCRIPTION</title>
30 <para>This VFS module is part of the
31 <citerefentry><refentrytitle>samba</refentrytitle>
32 <manvolnum>8</manvolnum></citerefentry> suite.</para>
35 The <command>vfs_ceph</command> VFS module exposes
36 CephFS specific features for use by Samba.
40 Ceph is a distributed network file system designed to provide
41 excellent performance, reliability, and scalability. This is a
42 shared library allowing applications to access a Ceph
43 distributed file system via a POSIX-like interface.
47 This module can be combined with other modules, but it
48 should be the last module in the <command>vfs objects</command>
49 list. Modules added to this list to the right of the ceph
50 entry may not have any effect at all.
54 <command>vfs_ceph</command> performs mapping between Windows and
55 POSIX Access Control Lists (ACLs). To ensure correct processing
56 and enforcement of POSIX ACLs, the following Ceph configuration
57 parameters are automatically applied:
60 <command>client acl type = posix_acl</command>
61 <command>fuse default permissions = false</command>
66 <title>CONFIGURATION</title>
69 <command>vfs_ceph</command> requires that the underlying share
70 path is a Ceph filesystem.
74 <smbconfsection name="[share]"/>
75 <smbconfoption name="vfs objects">ceph</smbconfoption>
76 <smbconfoption name="path">/non-mounted/cephfs/path</smbconfoption>
77 <smbconfoption name="kernel share modes">no</smbconfoption>
81 Since <command>vfs_ceph</command> does not require a filesystem
82 mount, the share <command>path</command> is treated differently:
83 it is interpreted as an absolute path within the Ceph filesystem
84 on the attached Ceph cluster.
85 In a ctdb cluster environment where ctdb manages Samba,
86 <command>CTDB_SAMBA_SKIP_SHARE_CHECK=yes</command> must be
87 configured to disable local share path checks, otherwise ctdb
88 will not reach a healthy state.
92 Note that currently <command>kernel share modes</command> have
93 to be disabled in a share running with the CephFS vfs module for
94 file serving to work properly.
99 <title>OPTIONS</title>
104 <term>ceph:config_file = path</term>
107 Allows one to define a ceph configfile to use. Empty by default.
110 Example: ceph:config_file =
117 <term>ceph:user_id = name</term>
120 Allows one to explicitly set the client ID used for the
121 CephFS mount handle. Empty by default (CephFS uses the
125 Example: ceph:user_id = samba
135 <title>VERSION</title>
138 This man page is part of version &doc.version; of the Samba suite.
143 <title>AUTHOR</title>
145 <para>The original Samba software and related utilities
146 were created by Andrew Tridgell. Samba is now developed
147 by the Samba Team as an Open Source project similar
148 to the way the Linux kernel is developed.</para>