The Hard quota on disk space is not available for editing at Domains > example.com > Web Hosting Access page:
Unlimited. Hard disk quota is not supported due to the configuration of the server file system
Migration of a subscription that uses hard disk quota fails:
Failed to synchronize subscription with plan
Migration tools tried to perform operation in 3 attempts: Plesk error : quota - Description: hard disk quota is not supported due to configuration of server file system. Requested: 1073741824. Allowed: 0
Subscription cannot be synchronized with the corresponding service plan due to the following error:
Syncing the subscription with its service plan failed because some of the services or resources defined in the plan cannot be actually provisioned with the subscription.
"Information: Properties of the subscription example.com were set to correspond with the actual system state, they are still unsynced with the plan"
Available value indicates the actual state of a resource or a service in the system.
Clicking OK will initiate setting the subscription values according to the available values.
ERR [panel] Unable to apply plan changes to domain. Error: The plan was not applied because of problems with the following functionality: hard disk quota is not supported due to configuration of server file system
Unconfigured disk quota on operating system level.
Warning: configuring of the disk quota on the operating system is an administrative task and is not supported by Plesk.
All actions below are the common steps and performed at own risk.
Note: hard disk quota setup depends on the filesystem. In the example below, the steps are performed for
xfs filesystems, while on another filesystem actions will differ.
Connect to the server via SSH.
Make sure that the quota is supported by the kernel. It should be compiled into the kernel or loaded as a module.
To check if the quota is configured properly use this command:
# /usr/local/psa/admin/sbin/usermng --isquotable
Normally, it should return the "0" value.
If the utility returns the following error message:
usermng: Unable to turn on user quota. User quota not supported on device '/dev/sda3'
System error 3: No such process
usermng: Userquota is not enabled on device: /dev/mapper/centos-root
then enable quota in the
/etc/fstabfile for the partitions on which Plesk stores data on, e.g. as follows:
/dev/hda1 / ext3 defaults,usrquota 1 1
Remount the partition:
# mount -o remount /
Create, check and repair quota files:
# /sbin/quotacheck -cfmvF vfsv0 /
Note: If the command is unknown, install
Update the user quota with this command line:
# quotaon /dev/hda1
Make sure that the
aquotaformat is used.
There should be an
aquota.userfile in the root of every partition where the quota is enabled.
If there is the
quota.userfile remove it and create correct one:
Note: change the "/dev/hda1" device in commands below to the correct one.
# rm -f quota.user
# touch aquota.user