hosting review, Hosting, web hosting, hosting company, shared hosting

Resolve Disk Quota issue

Sometimes, customer complains that his control panel says: "Disk quota Used 90 MB of 120 MB limit", but the actually used disk space is only 55 MB.

To resolve this issue, we first of all need to understand that the Control Panel calculates disk quota usage based on file ownership, not user's home directory content. When an account deleted, its UID is assigned to a new user. This new user becomes the owner of the old user's files if they weren't deleted with the account.

To find out the UID of this user, we need to execute the following commands:
# id unixtest

We will get something similar to the following:
uid=1975(username) gid=1972(username) groups=1972(username)

Then you can get the list of files that belong to this UID:
# find /local/home -uid 1975 -print

You can remove the files that are located outside this user's home directory or chown them to root.
Compnay Name Price Visit Now
cpwebhosting "Best Web Hosting"
$2.75 /mo.
Visit Site
a2hosting "Best Shared Hosting"
$3.92/mo.
Visit Site
servermania "Hybrid Smart Servers"
$29 /mo.
Visit Site
liquidweb "Managed Wordpress Hosting"
$99 /mo.
Visit Site
247-host "Best Windows VPS Hosting"
$29.99 /mo.
Visit Now
siteground "Best Affordable Hosting"
$3.95 /mo.
Visit Site
uk2.net "Best Business Hosting"
£3.57 /mo.
Visit Site
iPage "Cheapest WebHosting"
$1.99 /mo.
Visit Site