Cancel quota
After setting quotas, you can also cancel quotas.
Procedure
Log in to ECS.
Execute the following command to cancel the quota.
The format of the command to cancel the quota is:
sudo . / quota_tool cancel -- dir [DIR] [OPTION]
The following is an example of quota cancellation.
- If you set a quota for the/ mnt /data/directory, and now want to cancel the quota for users with a Uid of 100, execute the following command:
sudo ./quota_tool cancel --dir / mnt / data / --uid 100
- If you set the quota for the / mnt /data/directory and now want to cancel the full quota, execute the following command:
sudo ./quota_tool cancel --dir / mnt / data / --alluser