Chapter 5. Managing GFS
41
5.4.4.1. 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
5.4.4.2. 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.
5.4.4.3. Examples
This example
disables
quota enforcement on file system
/gfs
.
gfs_tool settune /gfs quota_enforce 0
This example
enables
quota enforcement on file system
/gfs
.
gfs_tool settune /gfs quota_enforce 1
5.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 unnec-
essary overhead if quotas are not used. You can disable quota accounting completely by
setting the
quota_account
tunable parameter to 0. This must be done on each node and
after each mount. (The 0 setting is not persistent across unmounts.) Quota accounting can
be enabled by setting the
quota_account
tunable parameter to 1.
Содержание 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: ......