Storage usage in cPanel account is 30GB, dev/sda2 listed as 294GB

DC27

Registered
Jun 8, 2020
4
1
3
Saudi Arabia
cPanel Access Level
Root Administrator
Good day!

I am confused about an issue I am having.

My cPanel account is listed as 30GB, yet my dev/sda2 folder is at 294GB. I only have 20% of storage left on my 400GB SSD and would like to know what the causes could be.

I am thinking that perhaps it has to do with the backups stored on the server? I am keeping 5 daily backups, 3 weekly and 3 monthly. This is probably an issue?

Please note I am still new to the whole cPanel and WHM, so apologies if this is a "noob" question. Appreciate any advice on what could be causing the dev/sda2 folder to fill up so quickly.

1591650530549.png

1591650560133.png
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,983
159
368
SLC
cPanel Access Level
DataCenter Provider
Your cpanel user account is separate from your server


your OS/cpanel install is on your /dev/sda2

if you want to know what folder is using what on your server run this from cli


du -sh /*
 
  • Like
Reactions: SamuelM and DC27

DC27

Registered
Jun 8, 2020
4
1
3
Saudi Arabia
cPanel Access Level
Root Administrator
Your cpanel user account is separate from your server


your OS/cpanel install is on your /dev/sda2

if you want to know what folder is using what on your server run this from cli


du -sh /*
Thank you so much for your reply, appreciate it! I will be doing this and see, I just find it strange that the VPS fills up so quickly.
 

SamuelM

Technical Analyst Team Lead
Nov 20, 2019
196
41
103
USA
cPanel Access Level
Root Administrator
Hello @DC27

It is certainly possible for your backups to be responsible for the majority of disk usage. I often find this to be the case. The default backup directory is /backup. If you have root access and are able to login to the server via SSH, you can find the size of the /backup directory and its subdirectories with the following command:

du -sch /backup/*

For a 400 GB disk, 20% of available space seems sufficient for most normal use cases. However, if you would like to automatically transfer your backups to a remote destination to save space on the local disk, you can configure that in the Additional Destinations section of the Backup Configuration page in WHM:

https://docs.cpanel.net/whm/backup/backup-configuration/#the-additional-destinations-tab

Please let us know if you have any questions. Best regards
 
  • Like
Reactions: DC27

ZenHostingTravis

Well-Known Member
PartnerNOC
May 22, 2020
273
92
28
Australia
cPanel Access Level
Root Administrator
You should transfer your backups to a remote destination.

If you make incremental backups using cPanel or software such as JetBackup, you could potentially save using a lot of disk space.

Something to think about.
 
  • Like
Reactions: DC27 and SamuelM

DC27

Registered
Jun 8, 2020
4
1
3
Saudi Arabia
cPanel Access Level
Root Administrator
Hello @DC27

It is certainly possible for your backups to be responsible for the majority of disk usage. I often find this to be the case. The default backup directory is /backup. If you have root access and are able to login to the server via SSH, you can find the size of the /backup directory and its subdirectories with the following command:

du -sch /backup/*

https://docs.cpanel.net/whm/backup/backup-configuration/#the-additional-destinations-tab

Please let us know if you have any questions. Best regards
Hi cPSamuel! Just want to say thank you for your reply. It was my backups which were taking too much space. I had two monthly backups and they were quite big and when I deleted them using SSH, I was able to retrieve some lost space.

Thanks for your support, it is appreciated.
 

DC27

Registered
Jun 8, 2020
4
1
3
Saudi Arabia
cPanel Access Level
Root Administrator
You should transfer your backups to a remote destination.

If you make incremental backups using cPanel or software such as JetBackup, you could potentially save using a lot of disk space.

Something to think about.
Hi ZenHostingTravis! Thanks for your feedback and suggestions! I have set up a remote FTP server where backups will be saved to using the additional destinations feature in WHM. Feeling a lot better now that my available storage space is back to 70%!
 
Last edited:
  • Like
Reactions: ZenHostingTravis

ZenHostingTravis

Well-Known Member
PartnerNOC
May 22, 2020
273
92
28
Australia
cPanel Access Level
Root Administrator
Hi ZenHostingTravis! Thanks for your feedback and suggestions! I have set up a remote FTP server where backups will be saved to using the additional destinations feature in WHM. Feeling a lot better now that my available storage space is back to 70%!
Glad to hear it.

Thanks for updating us!
 
  • Like
Reactions: DC27