90
Chapter 9. Managing GFS
LimitSize
The hard limit set for the user or group. This value is zero if no limit has been set.
Value
The actual amount of disk space used by the user or group.
9.4.2.3. Comments
When displaying quota information, the
gfs_quota
command does not resolve UIDs and GIDs into
names if the
-n
option is added to the command line.
Space allocated to GFS’s hidden files can be left out of displayed values for the root UID and GID
by adding the
-d
option to the command line. This is useful when trying to match the numbers from
gfs_quota
with the results of a
du
command.
9.4.2.4. Examples
This example displays quota information for all users and groups that have a limit set or are using any
disk space on file system
/gfs
.
gfs_quota list -f /gfs
This example displays quota information in sectors for group
users
on file system
/gfs
.
gfs_quota get -g users -f /gfs -s
9.4.3. Synchronizing Quotas
GFS stores all quota information in its own internal file on disk. A GFS node does not update this
quota file for every file-system write; rather, it updates the quota file once every 60 seconds. This is
necessary to avoid contention among nodes writing to the quota file, which would cause a slowdown
in performance.
As a user or group approaches their quota limit, GFS dynamically reduces the time between its quota-
file updates to prevent the limit from being exceeded. The normal time period between quota synchro-
nizations is a tunable parameter,
quota_quantum
, and can be changed using the
gfs_tool
com-
mand. By default, the time period is 60 seconds. Also, the
quota_quantum
parameter must be set on
each node and each time the file system is mounted. (Changes to the
quota_quantum
parameter are
not persistent across unmounts.)
You can use the
gfs_quota sync
command to synchronize the quota information from a node to
the on-disk quota file between the automatic updates performed by GFS.
9.4.3.1. Usage
Synchronizing Quota Information
gfs_quota sync -f
MountPoint
Summary of Contents for GFS 5.2.1 -
Page 1: ...Red Hat GFS 5 2 1 Administrator s Guide...
Page 8: ......
Page 14: ...vi Introduction...
Page 24: ...10 Chapter 1 GFS Overview...
Page 36: ...22 Chapter 4 Initial Configuration...
Page 84: ...70 Chapter 6 Creating the Cluster Configuration System Files...
Page 96: ...82 Chapter 8 Using Clustering and Locking Systems...
Page 126: ...112 Chapter 10 Using the Fencing System...
Page 132: ...118 Chapter 11 Using GNBD...
Page 144: ...130 Appendix A Upgrading GFS...
Page 184: ...170 Appendix B Basic GFS Examples...
Page 190: ......
Page 192: ...178...