source: vendor/current/docs/manpages/vfs_btrfs.8@ 988

Last change on this file since 988 was 988, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.3

File size: 3.7 KB
Line 
1'\" t
2.\" Title: vfs_btrfs
3.\" Author: [see the "AUTHOR" section]
4.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
5.\" Date: 05/02/2016
6.\" Manual: System Administration tools
7.\" Source: Samba 4.4
8.\" Language: English
9.\"
10.TH "VFS_BTRFS" "8" "05/02/2016" "Samba 4\&.4" "System Administration tools"
11.\" -----------------------------------------------------------------
12.\" * Define some portability stuff
13.\" -----------------------------------------------------------------
14.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15.\" http://bugs.debian.org/507673
16.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18.ie \n(.g .ds Aq \(aq
19.el .ds Aq '
20.\" -----------------------------------------------------------------
21.\" * set default formatting
22.\" -----------------------------------------------------------------
23.\" disable hyphenation
24.nh
25.\" disable justification (adjust text to left margin only)
26.ad l
27.\" -----------------------------------------------------------------
28.\" * MAIN CONTENT STARTS HERE *
29.\" -----------------------------------------------------------------
30.SH "NAME"
31vfs_btrfs \- Utilize features provided by the Btrfs filesystem
32.SH "SYNOPSIS"
33.HP \w'\ 'u
34vfs objects = btrfs
35.SH "DESCRIPTION"
36.PP
37This VFS module is part of the
38\fBsamba\fR(8)
39suite\&.
40.PP
41The
42vfs_btrfs
43VFS module exposes Btrfs specific features for use by Samba\&.
44.PP
45Btrfs allows for multiple files to share the same on\-disk data through the use cloned ranges\&. When an SMB client issues a request to copy duplicate data (via FSCTL_SRV_COPYCHUNK), this module maps the request to a Btrfs clone range IOCTL, instead of performing reads and writes required by a traditional copy\&. Doing so saves storage capacity and greatly reduces disk IO\&.
46.PP
47This module also exposes Btrfs per\-file compression support to SMB clients via the get/set compression fsctls\&.
48.PP
49Btrfs snapshots can be manipulated by Samba\*(Aqs FSRVP server\&. Snapshot manipulation using this module is currently considered experimental, and is therefore disabled by default\&. The
50vfs_snapper
51module is instead recommended for this purpose\&.
52.PP
53This module is stackable\&.
54.SH "OPTIONS"
55.PP
56btrfs: manipulate snapshots = [yes|no]
57.RS 4
58When set to
59\fIyes\fR, experimental support for the creation and deletion of snapshots via corresponding Btrfs IOCTLs will be enabled\&. The default is
60\fIno\fR, which means that such requests are passed through to any underlying VFS module\&.
61.RE
62.SH "CONFIGURATION"
63.PP
64vfs_btrfs
65requires that the underlying share path is a Btrfs subvolume\&.
66.sp
67.if n \{\
68.RS 4
69.\}
70.nf
71 \fI[share]\fR
72 \m[blue]\fBvfs objects = btrfs\fR\m[]
73 \m[blue]\fBbtrfs: manipulate snapshots = no\fR\m[]
74
75.fi
76.if n \{\
77.RE
78.\}
79.PP
80To use the experimental snapshot manipulation functionality provided by this module, it must be explicity enabled, and Samba\*(Aqs FSRVP server must be running\&.
81.PP
82The
83vfs_shadow_copy
84module can be used to expose snapshots created by
85vfs_btrfs
86to Windows Explorer as file / directory "previous versions"\&.
87.sp
88.if n \{\
89.RS 4
90.\}
91.nf
92 \fI[global]\fR
93 \m[blue]\fBrpc_daemon:fssd = fork\fR\m[]
94 \m[blue]\fBregistry shares = yes\fR\m[]
95 \m[blue]\fBinclude = registry\fR\m[]
96
97 \fI[share]\fR
98 \m[blue]\fBvfs objects = btrfs shadow_copy\fR\m[]
99 \m[blue]\fBbtrfs: manipulate snapshots = yes\fR\m[]
100
101.fi
102.if n \{\
103.RE
104.\}
105.SH "VERSION"
106.PP
107This man page is correct for version 4\&.3\&.0 of the Samba suite\&.
108.SH "AUTHOR"
109.PP
110The 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\&.
Note: See TracBrowser for help on using the repository browser.