- Plesk for Linux
A hard quota is set at Plesk > Domains > example.com > Web Hosting Access, but a subscription user is able to occupy more disk space.
A hard quota specified in the Plesk system database is the same as in Web Hosting Access:
# plesk db "select login,round(quota/1024/1024) as 'quota(MB)' from sys_users where login='jdoe'"
| login | quota(MB) |
| jdoe | 2500 |
- where jdoe - a system user of a subscription
A hard quota on a system level is incorrect:
# repquota -as | grep jdoe
jdoe -- 12M 0K 5000M 31 0 0
Inconsistency between system and Plesk hard quotas.
Synchronize system and Plesk hard quotas:
Synchronizing via Plesk
In Plesk go to Subscriptions > example.com > Web Hosting Access and change the value of Hard quota on disk space by 1 MB.
Go back to Web Hosting Access and decrease the value of Hard quota on disk space by 1 MB.
Apply the changes.
Synchronizing via a command-line interface
Connect to a Plesk server via SSH.
Change a disk quota to another value with the command below:
# /usr/local/psa/bin/subscription -u example.com -hard_quota 2501M
Switch a disk quota back to the original value:
# /usr/local/psa/bin/subscription -u example.com -hard_quota 2500M