Enabling/Disabling Quota Enforcement - 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

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.)
You can use the gfs2_quota sync command to synchronize the quota information from a node to
the on-disk quota file between the automatic updates performed by GFS2.
Usage
Synchronizing Quota Information
gfs2_quota sync -f MountPoint
MountPoint
Specifies the GFS2 file system to which the actions apply.
Tuning the Time Between Synchronizations
gfs2_tool settune MountPoint quota_quantum Seconds
MountPoint
Specifies the GFS2 file system to which the actions apply.
Seconds
Specifies the new time period between regular quota-file synchronizations by GFS2. Smaller
values may increase contention and slow down performance.
Examples
This example synchronizes the quota information from the node it is run on to file system /mygfs2.
gfs2_quota sync -f /mygfs2
This example changes the default time period between regular quota-file updates to one hour (3600
seconds) for file system /mygfs2 on a single node.
gfs2_tool settune /mygfs2 quota_quantum 3600

3.5.4. Enabling/Disabling Quota Enforcement

In GFS2 file systems, quota enforcement is disabled by default. To enable quota enforcement for a file
system, mount the file system with the quota=on option specified.
Usage
mount -o quota=on BlockDevice MountPoint
Enabling/Disabling Quota Enforcement
19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Global file system 2

Table of Contents