From 9345d11c44e55e9ad1eb6b55975d04561f5d2ba3 Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Wed, 27 Mar 2019 15:57:45 +0100 Subject: [PATCH] docs: add vfs_ceph_snapshots manpage Signed-off-by: David Disseldorp Reviewed-by: Jeremy Allison Autobuild-User(master): David Disseldorp Autobuild-Date(master): Tue May 14 23:31:27 UTC 2019 on sn-devel-184 --- docs-xml/manpages/vfs_ceph_snapshots.8.xml | 130 +++++++++++++++++++++ docs-xml/wscript_build | 1 + 2 files changed, 131 insertions(+) create mode 100644 docs-xml/manpages/vfs_ceph_snapshots.8.xml diff --git a/docs-xml/manpages/vfs_ceph_snapshots.8.xml b/docs-xml/manpages/vfs_ceph_snapshots.8.xml new file mode 100644 index 00000000000..7fa2806fd95 --- /dev/null +++ b/docs-xml/manpages/vfs_ceph_snapshots.8.xml @@ -0,0 +1,130 @@ + + + + + + vfs_ceph_snapshots + 8 + Samba + System Administration tools + &doc.version; + + + + + vfs_ceph_snapshots + + Expose CephFS snapshots as shadow-copies + + + + + + vfs objects = ceph_snapshots + + + + + DESCRIPTION + + This VFS module is part of the + samba + 8 suite. + + + The vfs_ceph_snapshots VFS module exposes + CephFS snapshots for use by Samba. When enabled, SMB clients + such as Windows Explorer's Previous Versions dialog, can + enumerate snaphots and access them via "timewarp" tokens. + + + + This module can be combined with vfs_ceph, + but vfs_ceph_snapshots must be listed first + in the vfs objects parameter list. + + + + CephFS support for ceph.snap.btime virtual extended attributes + is required for this module to work properly. This support was + added via https://tracker.ceph.com/issues/38838. + + + + + CONFIGURATION + + + When used atop vfs_ceph, + path refers to an absolute path within the + Ceph filesystem and should not be mounted locally: + + + + + ceph_snapshots ceph + /non-mounted/cephfs/path + no + + + + vfs_ceph_snapshots can also be used atop a + kernel CephFS mounted share path, without + vfs_ceph. In this case Samba's default VFS + backend vfs_default is used: + + + + + ceph_snapshots + /mnt/cephfs/ + + + + + OPTIONS + + + + ceph:snapdir = subdirectory + + + Allows for the configuration of the special CephFS + snapshot subdirectory name. This parameter should only + be changed from the ".snap" default if the ceph.conf + client snapdir or + snapdirname mount option settings + are changed from their matching ".snap" defaults. + + + Default: + .snap + + + Example: + .snapshots + + + + + + + + VERSION + + + This man page is part of version &doc.version; of the Samba suite. + + + + + 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. + + + + diff --git a/docs-xml/wscript_build b/docs-xml/wscript_build index 796b685c709..575fb702b46 100644 --- a/docs-xml/wscript_build +++ b/docs-xml/wscript_build @@ -72,6 +72,7 @@ vfs_module_manpages = ['vfs_acl_tdb', 'vfs_cap', 'vfs_catia', 'vfs_ceph', + 'vfs_ceph_snapshots', 'vfs_commit', 'vfs_crossrename', 'vfs_default_quota', -- 2.34.1