diff options
author | David Disseldorp <ddiss@samba.org> | 2012-09-14 20:55:40 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-03-31 18:40:25 +0200 |
commit | 5056c5a72720c9b004a2ed22dbeb5b52db56f3e5 (patch) | |
tree | 061f904868780d8fd6ffad13c56a909d7b545882 /docs-xml/manpages | |
parent | f64c2fe68a1f0f93bd11412b2001daf0958b5ea0 (diff) | |
download | samba-5056c5a72720c9b004a2ed22dbeb5b52db56f3e5.tar.gz |
doc: explain vfs_btrfs remote snapshot configuration
This extends the vfs_btrfs man page to also cover FSRVP remote snapshot
behaviour and configuration.
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'docs-xml/manpages')
-rw-r--r-- | docs-xml/manpages/vfs_btrfs.8.xml | 54 |
1 files changed, 51 insertions, 3 deletions
diff --git a/docs-xml/manpages/vfs_btrfs.8.xml b/docs-xml/manpages/vfs_btrfs.8.xml index 4911f471506..a2788bbc1bd 100644 --- a/docs-xml/manpages/vfs_btrfs.8.xml +++ b/docs-xml/manpages/vfs_btrfs.8.xml @@ -51,21 +51,69 @@ </para> <para> + Btrfs snapshots can be manipulated by Samba's FSRVP server. + Snapshot manipulation using this module is currently considered + experimental, and is therefore disabled by default. The + <command>vfs_snapper</command> module is instead recommended for + this purpose. + </para> + + <para> This module is stackable. </para> </refsect1> <refsect1> + <title>OPTIONS</title> + + <variablelist> + <varlistentry> + <term>btrfs: manipulate snapshots = [yes|no]</term> + <listitem> + <para> + When set to <emphasis>yes</emphasis>, experimental support for + the creation and deletion of snapshots via corresponding Btrfs + IOCTLs will be enabled. The default is <emphasis>no</emphasis>, + which means that such requests are passed through to any + underlying VFS module. + </para> + </listitem> + </varlistentry> + </variablelist> +</refsect1> + +<refsect1> <title>CONFIGURATION</title> <para> <command>vfs_btrfs</command> requires that the underlying share - path is a Btrfs filesystem. + path is a Btrfs subvolume. </para> - <programlisting> <smbconfsection name="[share]"/> <smbconfoption name="vfs objects">btrfs</smbconfoption> + <smbconfoption name="btrfs: manipulate snapshots">no</smbconfoption> + </programlisting> + <para> + To use the experimental snapshot manipulation functionality + provided by this module, it must be explicity enabled, and + Samba's FSRVP server must be running. + </para> + <para> + The <command>vfs_shadow_copy</command> module can be used to + expose snapshots created by <command>vfs_btrfs</command> to + Windows Explorer as file / directory "previous versions". + </para> + + <programlisting> + <smbconfsection name="[global]"/> + <smbconfoption name="rpc_daemon:fssd">fork</smbconfoption> + <smbconfoption name="registry shares">yes</smbconfoption> + <smbconfoption name="include">registry</smbconfoption> + + <smbconfsection name="[share]"/> + <smbconfoption name="vfs objects">btrfs shadow_copy</smbconfoption> + <smbconfoption name="btrfs: manipulate snapshots">yes</smbconfoption> </programlisting> </refsect1> @@ -73,7 +121,7 @@ <title>VERSION</title> <para> - This man page is correct for version 4.1.0 of the Samba suite. + This man page is correct for version 4.3.0 of the Samba suite. </para> </refsect1> |