Disabling/Enabling Quota Accounting; Disabling/Enabling Quota Accounting - Red Hat GLOBAL FILE SYSTEM 5.1 Manual

Hide thumbs Also See for GLOBAL FILE SYSTEM 5.1:
Table of Contents

Advertisement

Chapter 4. Managing GFS
Usage
gfs_tool settune MountPoint quota_enforce {0|1}
MountPoint
Specifies the GFS file system to which the actions apply.
quota_enforce {0|1}
0 = disabled
1 = enabled
Comments
A value of 0 disables enforcement. Enforcement can be enabled by running the command with
a value of 1 (instead of 0) as the final command line parameter. Even when GFS is not
enforcing quotas, it still keeps track of the file-system usage for all users and groups so that
quota-usage information does not require rebuilding after re-enabling quotas.
Examples
This example disables quota enforcement on file system
gfs_tool settune /gfs quota_enforce 0
This example enables quota enforcement on file system
gfs_tool settune /gfs quota_enforce 1

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}
26
.
/gfs
.
/gfs

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GLOBAL FILE SYSTEM 5.1 and is the answer not in the manual?

Questions and answers

Table of Contents