Allocating Disk Space
Quotas
Disk space in H-Sphere is allocated to customers through quotas, which are set separately for:
- user's home directory on the web server
- each user mailbox
- each user database
Quotas are obligatory plan resources and can't be disabled.
Customers can't upload and store more MB than the resource quota allows
and will get an error message if they try to do so.
If end users need to upload more MB than their resource quota allows, they can
increase it.
To keep users from increasing resource quota, it can be
MAX restricted.
All files with the owner's ID including those outside
user's home directory (e.g. Transfer, Referrer, Agent and Error logs
that are used for user website statistics) are counted toward used disk space.
That's why quota usage may be different from the size of the user home directory.
Summary Disk Usage
Every 24 hours a cron script scans end user's FTP home directory, all mailboxes, and DBs
to summarize the disk space and make up summary disk usage for the last day.
The resulting amount makes up user's average summary disk usage.
Enabling/Disabling Summary Disk Usage
|
In a Certain Plan |
In All User/Reseller Plans |
Enable |
- Include
Summary Disk Usage in the plan.
- Log into each existing
user/reseller
account under this plan and in the
Control Area on the left (or Quick Access page,
the Account menu for the Left Menu design)
press the Add button next to Disk Usage.
|
- Log into the CP server as the
cpanel user.
- Execute the SummaryQuotaUpdate class:
java psoft.hsphere.converter.SummaryQuotasUpdate --enable
- Restart H-Sphere.
Summary Disk Usage free units will be set to equal Free
Disk Quota, its monthly and usage prices will be removed.
|
Disable |
Exclude
Summary Disk Usage from the plan.
|
- Log into the CP server as the
cpanel user.
- Execute the SummaryQuotaUpdate class:
java psoft.hsphere.converter.SummaryQuotasUpdate --disable
- Restart H-Sphere.
|
|