Disk Space

(version 2.4 and higher)

 

Related Docs:   Introduction to Billing Creating and Editing Plans

 

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
  1. Include Summary Disk Usage in the plan.
  2. 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.
  1. Log into the CP server as the cpanel user.
  2. Execute the SummaryQuotaUpdate class:
    java psoft.hsphere.converter.SummaryQuotasUpdate --enable
  3. 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.
  1. Log into the CP server as the cpanel user.
  2. Execute the SummaryQuotaUpdate class:
    java psoft.hsphere.converter.SummaryQuotasUpdate --disable
  3. Restart H-Sphere.

Related Docs:   Introduction to Billing Creating and Editing Plans



Home   Products   Services   News
© Copyright. . PSOFT. All Rights Reserved. Terms | Site Map