4.5. Disabling/Enabling Quota Accounting
By default, quota accounting is enabled; therefore, GFS keeps track of disk usage for every
user and group even when no quota limits have been set. Quota accounting incurs unnecessary
overhead if quotas are not used. You can disable quota accounting completely by setting the
tunable parameter to 0. This must be done on each node and after each mount.
quota_account
(The 0 setting is not persistent across unmounts.) Quota accounting can be enabled by setting
the
tunable parameter to 1.
quota_account
Usage
fs_tool settune MountPoint quota_account {0|1}
MountPoint
Specifies the GFS file system to which the actions apply.
quota_account {0|1}
0 = disabled
1 = enabled
Comments
To enable quota accounting on a file system, the
to 1. Afterward, the GFS quota file must be initialized to account for all current disk usage for
users and groups on the file system. The quota file is initialized by running:
.
MountPoint
Note
Initializing the quota file requires scanning the entire file system and may take a
long time.
Examples
This example disables quota accounting on file system
gfs_tool settune /gfs quota_account 0
Disabling/Enabling Quota Accounting
parameter must be set back
quota_account
on a single node.
/gfs
gfs_quota init -f
27
Need help?
Do you have a question about the GLOBAL FILE SYSTEM 4.5 and is the answer not in the manual?
Questions and answers