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. It
70           could be list of white space separated elements where each element
71           could be
72
73           1. unix+/path/to/socket/file
74
75           2. [tcp+]IP|hostname|\[IPv6\][:port]
76
77           Note the restriction on naming a IPv6 host, it follows the same
78           restriction that is based on IPv6 naming in URL as per RFC 2732.
79
80       glusterfs:volume = volumename
81           Defines the glusterfs volumename to use for this share.
82

VERSION

84       This man page is part of version 4.11.4 of the Samba suite.
85

AUTHOR

87       The original Samba software and related utilities were created by
88       Andrew Tridgell. Samba is now developed by the Samba Team as an Open
89       Source project similar to the way the Linux kernel is developed.
90
91
92
93Samba 4.11.4                      12/16/2019                  VFS_GLUSTERFS(8)
Impressum