Linux quotaon Command
The Linux quotaon command is used to enable disk space limits.
Executing the quotaon command enables disk space limits for users and groups. Each partition's filesystem root directory must have the quota.user and quota.group configuration files.
Syntax
quotaon [-aguv][filesystems...]
Parameter Description:
-a Enables space limits on partitions that have quota settings added in the /etc/fstab file.
-g Enables group disk space limits.
-u Enables user disk space limits.
-v Displays the command execution process.
For the entire filesystem:
quotaon -auvg
The quotaon -auvg
command only needs to be run when first starting the Quota service. On subsequent starts, the /etc/rc.d/rc.sysinit initialization script will automatically execute this command.
For a single partition:
quotaon -uvg /mnt/sdb
Enabling and disabling disk quota functionality on a filesystem:
quotaon /home # Enable
quotaoff /home # Disable