80GB Linode only shows 2.4GB in df -h
I have a Linode running CentOS 7 on an 80GB storage plan, I have just tried to run some additional applications on it but got a Disk Space error message so ran df -h to see my disk space and it's only showing as 2.4GB partition, is there a simple way for the VM to see the full 80GB
[root@radius ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 2.4G 2.4G 0 100% /
devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 2.0G 210M 1.8G 11% /run
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs 393M 0 393M 0% /run/user/0
1 Reply
@caleycomsysadmin Sorry to hear that you're having trouble allocating your disk to use all of its storage. And we appreciate you sharing the output of df -h
. It is really helpful for the Community to have this information while troubleshooting with you.
I recommend checking to see if your Linode has any other disks housed on it as it sounds like you may have restored from a backup when you created your current disk. In which case, the disk size would automatically be set to the size of the disk space that was used at the time of the backup. You can remove any disks that are no longer needed. Please, keep in mind that this action is permanent.
After that, you should be able to resize your current disk to make use of all 80 GB! Let us know if this works for you, and have a great day.