source: vendor/current/docs/manpages/vfs_glusterfs.8

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

Samba Server: update vendor to version 4.4.7

File size: 4.3 KB
Line 
1'\" t
2.\" Title: vfs_glusterfs
3.\" Author: [see the "AUTHOR" section]
4.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
5.\" Date: 10/25/2016
6.\" Manual: System Administration tools
7.\" Source: Samba 4.4
8.\" Language: English
9.\"
10.TH "VFS_GLUSTERFS" "8" "10/25/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_glusterfs \- Utilize features provided by GlusterFS
32.SH "SYNOPSIS"
33.HP \w'\ 'u
34vfs objects = glusterfs
35.SH "DESCRIPTION"
36.PP
37This VFS module is part of the
38\fBsamba\fR(8)
39suite\&.
40.PP
41GlusterFS (http://www\&.gluster\&.org) is an Open Source clustered file system capable of scaling to several peta\-bytes\&. With its FUSE based native client, GlusterFS is available as a POSIX compliant file system and can hence be shared by Samba without additional steps\&.
42.PP
43The
44vfs_glusterfs
45VFS module provides an alternative, and superior way to access a Gluster filesystem from Samba for sharing\&. It does not require a Gluster FUSE mount but directly accesses the GlusterFS daemon through its library
46libgfapi, thereby omitting the expensive kernel\-userspace context switches and taking advantage of some of the more advanced features of GlusterFS\&.
47.PP
48This module can be combined with other modules, but it should be the last module in the
49vfs objects
50list\&. Modules added to this list to the right of the glusterfs entry may not have any effect at all\&.
51.SH "CONFIGURATION"
52.PP
53A basic configuration looks like this\&.
54.sp
55.if n \{\
56.RS 4
57.\}
58.nf
59 \fI[share]\fR
60 \m[blue]\fBvfs objects = glusterfs\fR\m[]
61 \m[blue]\fBpath = /relative/base/path\fR\m[]
62 \m[blue]\fBglusterfs:volume = gv0\fR\m[]
63 \m[blue]\fBkernel share modes = no\fR\m[]
64
65.fi
66.if n \{\
67.RE
68.\}
69.PP
70Note that since
71vfs_glusterfs
72does not require a Gluster mount, the share
73path
74is treated differently than for other shares: It is interpreted as the base path of the share relative to the gluster volume used\&. Because this is usually not at the same time a system path, in a ctdb cluster setup where ctdb manages Samba, you need to set
75CTDB_SAMBA_SKIP_SHARE_CHECK=yes
76in ctdb\*(Aqs configuration file\&. Otherwise ctdb will not get healthy\&.
77.PP
78Note that currently kernel share modes have to be disabled in a share running with the glusterfs vfs module for file serving to work properly\&.
79.SH "OPTIONS"
80.PP
81glusterfs:logfile = path
82.RS 4
83Defines whether and where to store a vfs_glusterfs specific logfile\&. Client variable substitution is supported (i\&.e\&. %M, %m, %I), hence per client log file can be specified\&.
84.sp
85Example: glusterfs:logfile = /var/log/samba/glusterfs\-vol2\&.%M\&.log
86.RE
87.PP
88glusterfs:loglevel = 0\-9
89.RS 4
90Defines the level of logging, with higher numbers corresponding to more verbosity\&. 0 \- No logs; 9 \- Trace log level; 7 being the info log level is preferred\&.
91.sp
92If this option is not defined with an explicit loglevel, the glusterfs default is used (currently loglevel 7)\&.
93.RE
94.PP
95glusterfs:volfile_server = servername
96.RS 4
97Defines which volfile server to use, defaults to localhost\&.
98.RE
99.PP
100glusterfs:volume = volumename
101.RS 4
102Defines the glusterfs volumename to use for this share\&.
103.RE
104.SH "VERSION"
105.PP
106This man page is correct for version 4\&.2\&.0 of the Samba suite\&.
107.SH "AUTHOR"
108.PP
109The 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.