Show Table of Contents
A.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
To mount a file system with quota enforcement disabled, mount the file system with the
quota=off option specified. This is the default setting.
mount -o quota=off BlockDevice MountPoint-o quota={on|off}- Specifies that quota enforcement is enabled or disabled when the file system is mounted.
BlockDevice- Specifies the block device where the GFS2 file system resides.
MountPoint- Specifies the directory where the GFS2 file system should be mounted.
Examples
In this example, the GFS2 file system on
/dev/vg01/lvol0 is mounted on the /mygfs2 directory with quota enforcement enabled.
# mount -o quota=on /dev/vg01/lvol0 /mygfs2
Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.