logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

vfs_ceph - Utilize features provided by CephFS

Author

       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.

Samba 4.22.3-Ubuntu-4.22.3+dfs                     07/21/2025                                        VFS_CEPH(8)

Configuration

       vfs_ceph requires that the underlying share path is a Ceph filesystem.

                     [share]vfsobjects=cephpath=/non-mounted/cephfs/pathkernelsharemodes=no

       Since vfs_ceph does not require a filesystem mount, the share path is treated differently: it is
       interpreted as an absolute path within the Ceph filesystem on the attached Ceph cluster. In a ctdb
       cluster environment where ctdb manages Samba, CTDB_SAMBA_SKIP_SHARE_CHECK=yes must be configured to
       disable local share path checks, otherwise ctdb will not reach a healthy state.

       Note that currently kernel share modes have to be disabled in a share running with the CephFS vfs module
       for file serving to work properly.

Description

       This VFS module is part of the samba(8) suite.

       The vfs_ceph VFS module exposes CephFS specific features for use by Samba.

       Ceph is a distributed network file system designed to provide excellent performance, reliability, and
       scalability. This is a shared library allowing applications to access a Ceph distributed file system via
       a POSIX-like interface.

       This module can be combined with other modules, but it should be the last module in the vfs objects list.
       Modules added to this list to the right of the ceph entry may not have any effect at all.

       vfs_ceph performs mapping between Windows and POSIX Access Control Lists (ACLs). To ensure correct
       processing and enforcement of POSIX ACLs, the following Ceph configuration parameters are automatically
       applied:

                     client acl type = posix_acl
                     fuse default permissions = false

Name

       vfs_ceph - Utilize features provided by CephFS

Options

       ceph:config_file = path
           Allows one to define a ceph configfile to use. Empty by default.

           Example: ceph:config_file = /etc/ceph/ceph.conf

       ceph:user_id = name
           Allows one to explicitly set the client ID used for the CephFS mount handle. Empty by default (use
           the libcephfs client default).

           Example: ceph:user_id = samba

       ceph:filesystem = fs_name
           Allows one to explicitly select the CephFS file system to use when the Ceph cluster supports more
           than one file system. Empty by default (use the default file system of the Ceph cluster).

           Example: ceph:filesystem = myfs2

Synopsis


       vfs objects = ceph

Version

       This man page is part of version 4.22.3-Ubuntu-4.22.3+dfsg-4ubuntu1 of the Samba suite.

See Also