1GlusterFS(8) Red Hat, Inc. GlusterFS(8)
2
3
4
6 mount.glusterfs - script to mount native GlusterFS volume
7
9 mount -t glusterfs [-o <options>] <volumeserver>:/<volume>[/<subdir>]
10 <mountpoint>
11
12 mount -t glusterfs [-o <options>] <server1>,<server2>,
13 <server3>,..<serverN>:/<volname>[/<subdir>] <mount_point>
14
15
16 mount -t glusterfs [-o <options>] <path/to/volumefile> <mount‐
17 point>
18
20 This tool is part of glusterfs(8) package, which is used to
21 mount using GlusterFS native binary.
22
23 mount.glusterfs is meant to be used by the mount(8) command for
24 mounting native GlusterFS client. This subcommand, however, can
25 also be used as a standalone command with limited functionality.
26
27
29 Basic options
30 log-file=LOG-FILE
31 File to use for logging [default:/var/log/glusterfs/glus‐
32 terfs.log]
33
34 log-level=LOG-LEVEL
35 Logging severity. Valid options are TRACE, DEBUG, WARN‐
36 ING, ERROR, CRITICAL INFO and NONE [default: INFO]
37
38 acl Mount the filesystem with POSIX ACL support
39
40 fopen-keep-cache
41 Do not purge the cache on file open
42
43 worm Mount the filesystem in 'worm' mode
44
45 aux-gfid-mount
46 Enable access to filesystem through gfid directly
47
48 ro Mount the filesystem read-only
49
50 enable-ino32=BOOL
51 Use 32-bit inodes when mounting to workaround broken
52 applications that don't support 64-bit inodes
53
54 mem-accounting
55 Enable internal memory accounting
56
57 capability
58 Enable file capability setting and retrival
59
60
61 Advanced options
62 attribute-timeout=SECONDS
63 Set attribute timeout to SECONDS for inodes in fuse ker‐
64 nel module [default: 1]
65
66 entry-timeout=SECONDS
67 Set entry timeout to SECONDS in fuse kernel module
68 [default: 1]
69
70 background-qlen=N
71 Set fuse module's background queue length to N [default:
72 64]
73
74 gid-timeout=SECONDS
75 Set auxiliary group list timeout to SECONDS for fuse
76 translator [default: 0]
77
78 negative-timeout=SECONDS
79 Set negative timeout to SECONDS in fuse kernel module
80 [default: 0]
81
82 volume-name=VOLUME-NAME
83 Volume name to be used for MOUNT-POINT [default: top most
84 volume in VOLUME-FILE]
85
86 direct-io-mode=disable
87 Disable direct I/O mode in fuse kernel module
88
89 congestion-threshold=N
90 Set fuse module's congestion threshold to N [default: 48]
91
92 ubdir-mount=N
93 Set the subdirectory mount option [default: NULL, ie, no
94 subdirectory mount]
95
96
97 backup-volfile-servers=SERVERLIST
98 Provide list of backup volfile servers in the fol‐
99 lowing format [default: None]
100
101 $ mount -t glusterfs
102 -obackup-volfile-servers=<server2>:
103 <server3>:...:<serverN> <server1>:/<vol‐
104 name> <mount_point>
105
106
107
108 backupvolfile-server=SERVER
109 Provide list of backup volfile servers in
110 the following format [default: None]
111
112 $ mount -t glusterfs -oback‐
113 upvolfile-server=<server2>
114 <server1>:/<volname> <mount_point>
115
116
117
118 fetch-attempts=N
119 Deprecated option - placed here for
120 backward compatibility [default: 1]
121
122
123 background-qlen=N
124 Set fuse module's background
125 queue length to N [default:
126 64]
127
128 no-root-squash=BOOL
129 disable root squashing for
130 the trusted client [default:
131 off]
132
133 root-squash=BOOL
134 enable root squashing for the
135 trusted client [default: on]
136
137 dump-fuse=PATH
138 Dump fuse traffic to PATH
139
140 use-readdirp=BOOL
141 Use readdirp() mode in fuse
142 kernel module [default: on]
143
145 /etc/fstab
146 A typical GlusterFS entry in
147 /etc/fstab looks like below
148
149 server1:/mirror /mnt/mirror
150 glusterfs log-
151 file=/var/log/mirror.log,acl
152 0 0
153
154
155 /proc/mounts
156 An example entry of a Glus‐
157 terFS mountpoint in
158 /proc/mounts looks like below
159
160 server1:/mirror /mnt/glus‐
161 terfs fuse.glusterfs
162 rw,allow_other,default_per‐
163 missions,max_read=131072 0 0
164
165
167 glusterfs(8), mount(8), gluster(8)
168
169
171 Copyright(c) 2006-2013 Red Hat,
172 Inc. <http://www.redhat.com>
173
174
175
17614 September 2013 Cluster Filesystem GlusterFS(8)