41
41
and non-GFS2 options may be intermingled after the \fB-o\fP, separated by
42
42
commas (but no spaces).
44
As an alternative to mount command line options, you may send mount
45
options to gfs2 using "gfs2_tool margs" (after loading the gfs2 kernel
46
module, but before mounting GFS2). For example, you may need to do
47
this when working from an initial ramdisk \fBinitrd\fP(4). The
48
options are restricted to the ones described on this man page (no
49
general \fBmount\fP(8) options will be recognized), must not be
50
preceded by -o, and must be separated by commas (no spaces). Example:
52
# gfs2_tool margs "lockproto=lock_nolock,ignore_local_fs"
54
Options loaded via "gfs2_tool margs" have a lifetime of only one GFS2
55
mount. If you wish to mount another GFS2 filesystem, you must set
56
another group of options with "gfs2_tool margs".
58
The options debug, acl, quota, suiddir, and data can be
44
The options debug, commit, discard, acl, quota, suiddir, and data can be
59
45
changed after mount using the "mount -o remount,option /mountpoint" command.
60
The options debug, acl, and suiddir support the "no"
46
The options debug, quota, discard, acl, and suiddir support the "no"
61
47
prefix. For example, "noacl" turns off what "acl" turns on.
63
49
If you have trouble mounting GFS2, check the syslog (e.g. /var/log/messages)
142
128
\fB-o upgrade\fP option. When upgrading, only one node may mount the GFS2
145
\fBnum_glockd=\fP\fINumber\fR
146
Tunes GFS2 to alleviate memory pressure when rapidly acquiring many locks (e.g.
147
several processes scanning through huge directory trees). GFS2' glockd kernel
148
daemon cleans up memory for no-longer-needed glocks. Multiple instances
149
of the daemon clean up faster than a single instance. The default value is
150
one daemon, with a maximum of 16. Since this option was introduced, other
151
methods of rapid cleanup have been developed within GFS2, so this option may go
155
132
Enables POSIX Access Control List \fBacl\fP(5) support within GFS2.
172
149
correctly maintained by the filesystem, limit and warn values are
173
150
ignored. The default value is "off".
153
Causes GFS2 to generate "discard" I/O requests for blocks which have
154
been freed. These can be used by suitable hardware to implement
155
thin-provisioning and similar schemes. This feature is supported
156
in kernel version 2.6.30 and above.
158
\fBcommit=\fP\fIsecs\fR
159
This is similar to the ext3 \fBcommit=\fP option in that it sets
160
the maximum number of seconds between journal commits if there is
161
dirty data in the journal. The default is 60 seconds. This option
162
is only provided in kernel versions 2.6.31 and above.
175
164
\fBdata=\fP\fI[ordered/writeback]\fR
176
165
When data=ordered is set, the user data modified by a transaction is
177
166
flushed to the disk before the transaction is committed to disk. This