VFS_CEPH(8)
π VFS_CEPH π
okay bestie, pull up a chair because we're talking about vfs_ceph(8) β that's volume 8 of the manual, the System Administration tools section, and yes she's a Samba girlie. this one lets your Samba server talk directly to CephFS and honestly? iconic behavior. β¨
πΈ NAME πΈ
vfs_ceph β utilize features provided by CephFS π¦
β¨ SYNOPSIS β¨
vfs objects = ceph
that's it. that's the whole vibe. one line and she's serving. π
π DESCRIPTION π
so, this VFS module is part of the samba(8) suite, right? part of the family, no cap. π«Ά
the vfs_ceph VFS module exposes CephFS-specific features for use by Samba. it's giving "let Samba see what Ceph can do."
Ceph is a distributed network file system built to deliver excellent performance, reliability, and scalability β literally the triple threat. and this right here is a shared library that lets applications access a Ceph distributed file system through a POSIX-like interface. POSIX but make it distributed. π
now, important part, don't skip: this module can be combined with other modules, BUT it should be the last module in the vfs objects list. anything you add to that list to the right of the ceph entry may not have any effect at all. like, zero. nothing. ghosted. π so put her last, periodt.
vfs_ceph performs mapping between Windows and POSIX Access Control Lists (ACLs). and to make sure POSIX ACLs are correctly processed and enforced, these Ceph configuration parameters get applied automatically, no notes needed:
client acl type = posix_acl
fuse default permissions = false
slay. automatic. π
π CONFIGURATION π
vfs_ceph requires that the underlying share path is a Ceph filesystem. like, that's the whole prerequisite bestie, no workarounds.
[share]
vfs objects = ceph
path = /non-mounted/cephfs/path
kernel share modes = no
now here's the tea: since vfs_ceph does not require a filesystem mount, the share path is treated differently β it gets interpreted as an absolute path within the Ceph filesystem on the attached Ceph cluster. so don't come at her with mount points, she doesn't need them. π
in a ctdb cluster environment where ctdb manages Samba, you must configure CTDB_SAMBA_SKIP_SHARE_CHECK=yes to disable local share path checks. otherwise ctdb will not reach a healthy state. not "might not", will not. so set it. please. π
β οΈ also 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. that's just where we're at right now.
π OPTIONS π
ceph:config_file = pathβ lets you define a ceph configfile to use. empty by default. π Example:ceph:config_file = /etc/ceph/ceph.confceph:user_id = nameβ lets you explicitly set the client ID used for the CephFS mount handle. empty by default, which means it uses the libcephfs client default. π§ Example:ceph:user_id = sambaceph:filesystem = fs_nameβ lets you explicitly select the CephFS file system to use when the Ceph cluster supports more than one file system. empty by default, which means it uses the default file system of the Ceph cluster. π Example:ceph:filesystem = myfs2
β VERSION β
this man page is part of version 4.24.7-Ubuntu-4.24.7+dfsg-1ubuntu1 of the Samba suite. yes, that's a lot of numbers, she's specific. π₯
π 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. legends only, honestly. π
and that's the whole page bestie! π this one ships out under Samba 4.24.7-Ubuntu-4.24.7+dfsg-1ubuntu1, dated 09/13/2026 β go forth, mount nothing, and put ceph last in your vfs objects list. mwah. ππ¦β¨
π¦ where this page comes from
- ubuntu stonking: samba-vfs-ceph 2:4.24.7+dfsg-1ubuntu1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms