1VFS_GLUSTERFS(8)          System Administration tools         VFS_GLUSTERFS(8)
2
3
4

NAME

6       vfs_glusterfs - Utilize features provided by GlusterFS
7

SYNOPSIS

9       vfs objects = glusterfs
10

DESCRIPTION

12       This VFS module is part of the samba(8) suite.
13
14       GlusterFS (http://www.gluster.org) is an Open Source clustered file
15       system capable of scaling to several peta-bytes. With its FUSE based
16       native client, GlusterFS is available as a POSIX compliant file system
17       and can hence be shared by Samba without additional steps.
18
19       The vfs_glusterfs VFS module provides an alternative, and superior way
20       to access a Gluster filesystem from Samba for sharing. It does not
21       require a Gluster FUSE mount but directly accesses the GlusterFS daemon
22       through its library libgfapi, thereby omitting the expensive
23       kernel-userspace context switches and taking advantage of some of the
24       more advanced features of GlusterFS.
25
26       This module can be combined with other modules, but it should be the
27       last module in the vfs objects list. Modules added to this list to the
28       right of the glusterfs entry may not have any effect at all.
29

CONFIGURATION

31       A basic configuration looks like this.
32
33                     [share]
34                     vfs objects = glusterfs
35                     path = /relative/base/path
36                     glusterfs:volume = gv0
37                     kernel share modes = no
38
39
40       Note that since vfs_glusterfs does not require a Gluster mount, the
41       share path is treated differently than for other shares: It is
42       interpreted as the base path of the share relative to the gluster
43       volume used. Because this is usually not at the same time a system
44       path, in a ctdb cluster setup where ctdb manages Samba, you need to set
45       CTDB_SAMBA_SKIP_SHARE_CHECK=yes in ctdb´s configuration file. Otherwise
46       ctdb will not get healthy.
47
48       Note that currently kernel share modes have to be disabled in a share
49       running with the glusterfs vfs module for file serving to work
50       properly.
51

OPTIONS

53       glusterfs:logfile = path
54           Defines whether and where to store a vfs_glusterfs specific
55           logfile. Client variable substitution is supported (i.e. %M, %m,
56           %I), hence per client log file can be specified.
57
58           Example: glusterfs:logfile = /var/log/samba/glusterfs-vol2.%M.log
59
60       glusterfs:loglevel = 0-9
61           Defines the level of logging, with higher numbers corresponding to
62           more verbosity. 0 - No logs; 9 - Trace log level; 7 being the info
63           log level is preferred.
64
65           If this option is not defined with an explicit loglevel, the
66           glusterfs default is used (currently loglevel 7).
67
68       glusterfs:volfile_server = servername
69           Defines which volfile server to use, defaults to localhost.
70
71       glusterfs:volume = volumename
72           Defines the glusterfs volumename to use for this share.
73

VERSION

75       This man page is correct for version 4.2.0 of the Samba suite.
76

AUTHOR

78       The original Samba software and related utilities were created by
79       Andrew Tridgell. Samba is now developed by the Samba Team as an Open
80       Source project similar to the way the Linux kernel is developed.
81
82
83
84Samba 4.2                         06/19/2018                  VFS_GLUSTERFS(8)
Impressum