Question

Volume not sized properly

Posted January 8, 2020 313 views
Block StorageDigitalOcean Accounts

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

1 comment

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.

×
2 answers

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

Submit an Answer