1
.\" Copyright (c) 2008-2013 Red Hat, Inc. <http://www.redhat.com>
2
.\" This file is part of GlusterFS.
4
.\" This file is licensed to you under your choice of the GNU Lesser
5
.\" General Public License, version 3 or any later version (LGPLv3 or
6
.\" later), or the GNU General Public License, version 2 (GPLv2), in all
7
.\" cases as published by the Free Software Foundation.
11
.TH GlusterFS 8 "Cluster Filesystem" "14 September 2013" "Red Hat, Inc."
13
.B mount.glusterfs - script to mount native GlusterFS volume
15
.B mount -t glusterfs [-o <options>] <volumeserver>:/<volume>[/<subdir>]
18
.B mount -t glusterfs [-o <options>] <server1>,<server2>,
19
.B <server3>,..<serverN>:/<volname>[/<subdir>] <mount_point>
22
.B mount -t glusterfs [-o <options>] <path/to/volumefile> <mountpoint>
25
This tool is part of \fBglusterfs\fR(8) package, which is used to mount using
26
GlusterFS native binary.
28
\fBmount.glusterfs\fR is meant to be used by the mount(8) command for mounting
29
native GlusterFS client. This subcommand, however, can also be used as a
30
standalone command with limited functionality.
37
\fBlog\-file=\fRLOG-FILE
38
File to use for logging [default:/var/log/glusterfs/glusterfs.log]
40
\fBlog\-level=\fRLOG-LEVEL
41
Logging severity. Valid options are TRACE, DEBUG, WARNING, ERROR, CRITICAL
42
INFO and NONE [default: INFO]
45
Mount the filesystem with POSIX ACL support
47
\fBfopen\-keep\-cache[=BOOL]
48
Do not purge the cache on file open (default: false)
51
Mount the filesystem in 'worm' mode
54
Enable access to filesystem through gfid directly
57
Mount the filesystem read-only
59
\fBenable\-ino32=\fRBOOL
60
Use 32-bit inodes when mounting to workaround broken applications that don't
64
Enable internal memory accounting
67
Enable file capability setting and retrival
70
Enables thin mount and connects via gfproxyd daemon
73
Use local timestamps instead of UTC in mount log entries
79
\fBattribute\-timeout=\fRSECONDS
80
Set attribute timeout to SECONDS for inodes in fuse kernel module [default: 1]
82
\fBentry\-timeout=\fRSECONDS
83
Set entry timeout to SECONDS in fuse kernel module [default: 1]
85
\fBbackground\-qlen=\fRN
86
Set fuse module's background queue length to N [default: 64]
88
\fBgid\-timeout=\fRSECONDS
89
Set auxiliary group list timeout to SECONDS for fuse translator [default: 0]
91
\fBnegative\-timeout=\fRSECONDS
92
Set negative timeout to SECONDS in fuse kernel module [default: 0]
94
\fBvolume\-name=\fRVOLUME-NAME
95
Volume name to be used for MOUNT-POINT [default: top most volume in
98
\fBdirect\-io\-mode=\fRBOOL|auto
99
Specify fuse direct I/O strategy [default: auto]
101
\fBcongestion\-threshold=\fRN
102
Set fuse module's congestion threshold to N [default: 48]
105
Set the subdirectory mount option [default: NULL, ie, no subdirectory mount]
108
\fBbackup\-volfile\-servers=\fRSERVERLIST
109
Provide list of backup volfile servers in the following format [default: None]
110
If use IPv6 address in SERVERLIST, it is required to use '[' and ']' to surround IPv6 address.
112
\fB$ mount \-t glusterfs \-obackup\-volfile\-servers=<server2>:\fR
113
\fB <server3>:...:<serverN> <server1>:/<volname> <mount_point>\fR
114
\fB$ mount \-t glusterfs \-obackup\-volfile\-servers=<[ipv6_addr2]>:\fR
115
\fB <[ipv6_addr3]>:...:<[ipv6_addrN]> <ipv6_addr1>:/<volname> <mount_point>\fR
119
\fBbackupvolfile\-server=\fRSERVER
120
Provide list of backup volfile servers in the following format [default: None]
122
\fB $ mount \-t glusterfs \-obackupvolfile\-server=<server2>
123
\fB <server1>:/<volname> <mount_point>
127
\fBfetch-attempts=\fRN
128
\fBDeprecated\fR option - placed here for backward compatibility [default: 1]
132
Set fuse module's limit for number of inodes kept in LRU list to N [default: 65536]
135
\fBinode-table-size=\fRN
136
Set the inode hash table size to N - this must be a power of 2 greater than or
137
equal to 65536 and will be rounded up if not [default: 65536]
140
\fBinvalidate-limit=\fRN
141
Suspend fuse invalidations implied by 'lru-limit' if number of outstanding
142
invalidations reaches N
145
\fBbackground-qlen=\fRN
146
Set fuse module's background queue length to N [default: 64]
148
\fBno\-root\-squash=\fRBOOL
149
disable root squashing for the trusted client [default: off]
151
\fBroot\-squash=\fRBOOL
152
enable root squashing for the trusted client [default: on]
154
\fBuse\-readdirp=\fRBOOL
155
Use readdirp() mode in fuse kernel module [default: on]
158
Dump fuse traffic to PATH
160
\fBkernel\-writeback\-cache=\fRBOOL
161
Enable fuse in-kernel writeback cache [default: off]
163
\fBattr\-times\-granularity=\fRNS
164
Declare supported granularity of file attribute [default: 0]
166
\fBauto\-invalidation=\fRBOOL
167
controls whether fuse-kernel can auto-invalidate attribute, dentry and
168
page-cache. Disable this only if same files/directories are not
169
accessed across two different mounts concurrently [default: on]
174
A typical GlusterFS entry in /etc/fstab looks like below
176
\fBserver1:/mirror /mnt/mirror glusterfs log-file=/var/log/mirror.log,acl 0 0\fR
180
An example entry of a GlusterFS mountpoint in /proc/mounts looks like below
182
\fBserver1:/mirror /mnt/glusterfs fuse.glusterfs rw,allow_other,default_permissions,max_read=131072 0 0\fR
185
\fBglusterfs\fR(8), \fBmount\fR(8), \fBgluster\fR(8)
188
Copyright(c) 2006-2013 Red Hat, Inc. <http://www.redhat.com>