Can't find disk space in /home directory on the cPanel server.

Before transferring a website from one server to another, I checked disk space of website using df -h command and it says website is 84GB in size. Furthermore, du -sh /home/username/ showing 76GB but du -sh /home/username/* is showing only 5GB, where are the remaining 71GB website contents?

Solution :-

There are two possible solutions for this, let's discuss them :-

1) There must be hidden files/folders under your /home/username/ directory which you can check by below command - du -sch .[!.]* * |sort -h

2) There might be the case that files/folder present outside home directory at other locations of the server with username ownership, you can check those files/folders under backup directory or another partition like /home2.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to reset SSH port back to default port 22?

In some situations most of us may come across a problem that we are able to log into the WHM but...

How to setup the root login alert notification email?

Its very important to keep a check on your servers and who logs into the server, From security...

How to enable Open SSL on WHM?

Before enabling open SSL, you can check whether it is already enabled on your server. Please fire...

How to install mod_pagespeed on WHM?

'mod_pagespeed' is module of Apache which is nothing but plugin which is used for compressing the...

How to enable Hot Link Protection in cPanel?

To avoid other sites to use your website's bandwidth, you can enable the hot link protection....

Powered by WHMCompleteSolution