How do I enable/disable disk quotas in Linux?
-
You can disable quotas without setting them to 0.
To turn all user and group quotas off:# /sbin/quotaoff -vaug /dev/VolGroup00/LogVol02 [/home]: group quotas turned off /dev/VolGroup00/LogVol02 [/home]: user quotas turned off
If neither the -u or -g options are specified, only the user quotas are disabled.The -v option turns on verbose output.
To enable quotas on all filesystems:
# /sbin/quotaon -vaug /dev/VolGroup00/LogVol02 [/home]: group quotas turned on /dev/VolGroup00/LogVol02 [/home]: user quotas turned on
To disable/enable quotas on a specific filesystem:
# /sbin/quotaoff -vaug /home # /sbin/quotaon -vaug /home
© Lightnetics 2024