Report this

What is the reason for this report?

Volume not sized properly

Posted on January 8, 2020

I setup a 10GB block storage device. However after it mounted, it’s only been allocated 378MB. How can I fix that?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Really sorry for the issue! Can you provide us the output of the following command:

df -h

This could possibly be the issue of the mount point of the Volume. We will need to resize2fs the partition of the Volume created.

Refer to below link, which provides you the insights on how to achieve this:

https://www.digitalocean.com/docs/volumes/how-to/increase-size/#resizing-a-partitioned-volume

Here is the output of df -h with the volume.

Filesystem                           Size  Used Avail Use% Mounted on
/dev/sda                             380M  370M     0 100% /mnt/volume_nyc1_01

I have the same issue using a digitalocean Kubernetes, How do you fix it?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.