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.
mount -o quota=on
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
Specifies that quota enforcement is enabled or disabled when the file system is mounted.
Specifies the block device where the GFS2 file system resides.
Specifies the directory where the GFS2 file system should be mounted.
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