Symptoms
-
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 [1023]: 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.
OR:
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
Cause
Unconfigured disk quota on operating system level.
Resolution
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 ext4
and xfs
filesystems, while on another filesystem actions will differ.
For ext4
filesystem:
-
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/sda1'
System error 3: No such processOR
usermng: Userquota is not enabled on device: /dev/mapper/centos-root
then enable quota in the
/etc/fstab
file for the partitions on which Plesk stores data on, e.g. as follows:/dev/hda1 / ext4 defaults,usrquota 1 1
-
Remount the partition:
# mount -o remount /
-
Enable quota (use actual partition name, /dev/sda1 is an example):
# sudo tune2fs -O quota /dev/sda1
-
Create, check and…