Question

Volume not sized properly

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

Subscribe
Share

Could be that the server needs a reboot to recognise the new volume


Submit an 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.

Any solution to this problem,

I am facing the same issue with a Kubernetes volumen and I can’t find any solution

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

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

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