1VFS_CEPH(8) System Administration tools VFS_CEPH(8)
2
3
4
6 vfs_ceph - Utilize features provided by CephFS
7
9 vfs objects = ceph
10
12 This VFS module is part of the samba(8) suite.
13
14 The vfs_ceph VFS module exposes CephFS specific features for use by
15 Samba.
16
17 Ceph is a distributed network file system designed to provide excellent
18 performance, reliability, and scalability. This is a shared library
19 allowing applications to access a Ceph distributed file system via a
20 POSIX-like interface.
21
22 This module can be combined with other modules, but it should be the
23 last module in the vfs objects list. Modules added to this list to the
24 right of the ceph entry may not have any effect at all.
25
26 vfs_ceph performs mapping between Windows and POSIX Access Control
27 Lists (ACLs). To ensure correct processing and enforcement of POSIX
28 ACLs, the following Ceph configuration parameters are automatically
29 applied:
30
31 client acl type = posix_acl
32 fuse default permissions = false
33
34
36 vfs_ceph requires that the underlying share path is a Ceph filesystem.
37
38 [share]
39 vfs objects = ceph
40 path = /non-mounted/cephfs/path
41 kernel share modes = no
42
43
44 Since vfs_ceph does not require a filesystem mount, the share path is
45 treated differently: it is interpreted as an absolute path within the
46 Ceph filesystem on the attached Ceph cluster. In a ctdb cluster
47 environment where ctdb manages Samba, CTDB_SAMBA_SKIP_SHARE_CHECK=yes
48 must be configured to disable local share path checks, otherwise ctdb
49 will not reach a healthy state.
50
51 Note that currently kernel share modes have to be disabled in a share
52 running with the CephFS vfs module for file serving to work properly.
53
55 ceph:config_file = path
56 Allows one to define a ceph configfile to use. Empty by default.
57
58 Example: ceph:config_file = /etc/ceph/ceph.conf
59
60 ceph:user_id = name
61 Allows one to explicitly set the client ID used for the CephFS
62 mount handle. Empty by default (CephFS uses the process id).
63
64 Example: ceph:user_id = samba
65
67 This man page is part of version 4.13.7 of the Samba suite.
68
70 The original Samba software and related utilities were created by
71 Andrew Tridgell. Samba is now developed by the Samba Team as an Open
72 Source project similar to the way the Linux kernel is developed.
73
74
75
76Samba 4.13.7 03/25/2021 VFS_CEPH(8)