Chapter 5. Managing GFS
39
Value
The actual amount of disk space used by the user or group.
5.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.
5.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
5.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 be-
tween its quota-file updates to prevent the limit from being exceeded. The normal time
period between quota synchronizations is a tunable parameter,
quota_quantum
, and can
be changed using the
gfs_tool
command. 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.
Содержание GFS 6.1 -
Страница 1: ...Red Hat GFS 6 1 Administrator s Guide ...
Страница 6: ......
Страница 14: ...viii Introduction ...
Страница 24: ...10 Chapter 1 GFS Overview ...
Страница 28: ...14 Chapter 2 System Requirements ...
Страница 40: ...26 Chapter 3 Installing GFS ...
Страница 72: ...58 Chapter 5 Managing GFS ...
Страница 80: ...66 Appendix A Upgrading GFS ...
Страница 84: ......