Synchronizing Quotas - Red Hat ENTERPRISE LINUX 5 - GLOBAL FILE SYSTEM 2 Manual

Hide thumbs Also See for ENTERPRISE LINUX 5 - GLOBAL FILE SYSTEM 2:
Table of Contents

Advertisement

Chapter 3. Managing GFS2
user User: limit:LimitSize warn:WarnSize value:Value
group Group: limit:LimitSize warn:WarnSize value:Value
The LimitSize, WarnSize, and Value numbers (values) are in units of megabytes by default.
Adding the -k, -s, or -b flags to the command line change the units to kilobytes, sectors, or file
system blocks, respectively.
User
A user name or ID to which the data is associated.
Group
A group name or ID to which the data is associated.
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.
Comments
When displaying quota information, the gfs2_quota command does not resolve UIDs and GIDs into
names if the -n option is added to the command line.
Space allocated to GFS2'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
gfs2_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 /mygfs2.
gfs2_quota list -f /mygfs2
This example displays quota information in sectors for group users on file system /mygfs2.
gfs2_quota get -g users -f /mygfs2 -s

3.5.3. Synchronizing Quotas

GFS2 stores all quota information in its own internal file on disk. A GFS2 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, GFS2 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
gfs2_tool command. By default, the time period is 60 seconds. Also, the quota_quantum
18

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 5 - GLOBAL FILE SYSTEM 2 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Global file system 2

Table of Contents