
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.
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.
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.
[root@ask-07 ~]# gfs_quota list -f /gfs
user root: limit: 0.0 warn: 0.0 value: 0.2
user moe: limit: 1024.0 warn: 0.0 value: 0.0
group root: limit: 0.0 warn: 0.0 value: 0.2
group stooges: limit: 0.0 warn: 0.0 value: 0.0
This example displays quota information in sectors for group users on file system /gfs.
[root@ask-07 ~]# gfs_quota get -g users -f /gfs -s
group users: limit: 0 warn: 96 value: 0
5.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 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.)
To see the current values of the GFS tunable parameters, including quota_quantum, you can
use the gfs_tool gettune, as described in Section 4, “Displaying GFS Tunable Parameters”.
Synchronizing Quotas
21
Kommentare zu diesen Handbüchern