I cannot see max Disk Usage in cyberpanel on my vps

I am currently using Cyberpanel free version on my vps. My vps has been set

  • 300gb hard disk
  • 16gb Memory
  • and 8 core cpu

But when login on my VPS, it show

Current Server time : 2019-10-11 08:21:30.
Current Load average: 0.10, 0.17, 0.13
Current CPU usage : 0.372632%.
Current RAM usage : 642/15884MB (4.04%).
Current Disk usage : 5/50GB (11%).
System uptime : 1 days, 23 hours, 1 minutes.

Enjoy your accelerated Internet by CyberPanel.

-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory

I don’t know why current disk usage is 50gb. My hard disk set on vps is 300gb.

Try df -h command:

Filesystem Size Used Avail Use% Mounted on
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 41M 16G 1% /dev/shm
tmpfs 16G 138M 16G 1% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/mapper/centos-root 50G 5.1G 45G 11% /
/dev/sda1 1014M 188M 827M 19% /boot
/dev/loop0 1.5G 18M 1.4G 2% /tmp
/dev/mapper/centos-home 241G 3.0G 239G 2% /home
tmpfs 3.2G 0 3.2G 0% /run/user/0

Can anyone help me understand and fix this issue?

This will give you a breakdown of home
du -h /home/ | grep ^[0-9.]*G

Breakdown of everything
du -h / | grep ^[0-9.]*G

It’s confusing as there are multiple partitions and the /root partition shows its 50G in size but only 5.1G of that is used. “5/50GB (11%).” Most likely that is due to the core OS.

You still got tons of space it’s just across all those temp partitions and /home

The cyberpanel welcome thing is only reporting the disk space/use for the / root partition so it seems like its missing stuff but it’s all there :slight_smile:

Oh, thank you.
So I just need to leave it there and not need to do anything

yeah its all totally ok. It just looks confusing with your partition layout.

A lot of VPS servers have a single partition on / so they can autogrow the disk for upgrades. The script currently only checks the / partition maybe we can look into taking other partitions into account in the future.