The quotaoff command is used to turn off filesystem quotas on a specified mount point in Linux. Quotas are a system that allows you to limit the amount of disk space and/or inodes (files, directories, and other filesystem objects) that a user or group can use on a filesystem. When quotas are turned on, users who exceed their allocated quotas will be unable to write any more data to the filesystem until they either delete some of their existing files or are granted additional quota.
To turn off quotas for a specific filesystem, you can use the quotaoff command followed by the -a option to turn off quotas for all users, or the -u option followed by a username to turn off quotas for a specific user. For example:
# quotaoff -a /filesystem
This will turn off quotas for all users on the /filesystem filesystem.
You can also use the -g option followed by a group name to turn off quotas for a specific group. For example:
# quotaoff -g groupname /filesystem
This will turn off quotas for the groupname group on the /filesystem filesystem.
Note that you must have root privileges to use the quotaoff command.
quotaoff Command Examples
1. To turnoff the quota off on a file system:
# quotaoff /
2. To turnoff the quota off on all file system:
# quotaoff -a # quotaoff --all
3. To turnoff quota for a user:
# quotaoff -u mike / # quotaoff --user mike /
4. To turnoff the quota for a group:
# quotaoff -g SUPPORT / # quotaoff --group SUPPORT /
5. To get the quota state:
# quotaoff -p # quotaoff --print-state
6. To operate in specific quota format:
# quotaoff -F # quotaoff --format=formatname
7. To get the version:
# quotaoff -V # quotaoff --version
8. To run in verbose mode:
# quotaoff -v # quotaoff --verbose
9. To get the help for quotaoff:
# quotaoff --help