How to sync hard disk quota


2016-11-16 12:52:01 UTC


2017-08-16 16:32:27 UTC


Was this article helpful?

Have more questions?

Submit a request

How to sync hard disk quota

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux
  • Plesk 11.x for Linux
  • Plesk 12.0 for Linux


The hard disk quota in the Plesk does not match the one set on the server:

File system:

# quota -u examplecomsysuser
Disk quotas for user examplecomsysuser (uid 10000):
Filesystem blocks quota limit grace files quota limit grace
39032 0 1953125 1661 0 0

Plesk: Subscriptions > > Websites & Domains > Web Hosting Access or

# /usr/local/psa/bin/subscription -i |grep 'quota'
Hard disk quota: 500 MB

How to update hard quota setting the correct value?


Connect to the server using SSH and use the subscription utility

# /usr/local/psa/bin/subscription -u -hard_quota 200M

To set the hard quota value to the one specified in subscription properties please use the following command:

# subscription_name='';quota_val=$(mysql -uadmin -p$(cat /etc/psa/.psa.shadow) psa -sNe "select quota from sys_users join hosting on join domains on where ='$subscription_name'"); /usr/local/psa/bin/subscription -u $subscription_name -hard_quota $quota_val"B"

Have more questions? Submit a request
Please sign in to leave a comment.