Why doesn't the Volume I bought have the space I paid for?


I purchased a 500gb volume and followed the config instructions integrated into the user interface. Namely:

# Create a mount point for your volume:
$ mkdir -p /mnt/volume_nyc3_01

# Mount your volume at the newly-created mount point:
$ mount -o discard,defaults,noatime /dev/disk/by-id/scsi-0DO_Volume_volume-nyc3-01 /mnt/volume_nyc3_01

# Change fstab so the volume will be mounted after a reboot
$ echo '/dev/disk/by-id/scsi-0DO_Volume_volume-nyc3-01 /mnt/volume_nyc3_01 ext4 defaults,nofail,discard 0 0' | sudo tee -a /etc/fstab

The volume mounts but when using findmnt command we see that the mnt only have 300 megabytes:

root@ubuntu-s-2vcpu-4gb-120gb-intel-nyc3-01:~# findmnt -no size /mnt/volume_nyc3_01
root@ubuntu-s-2vcpu-4gb-120gb-intel-nyc3-01:~# findmnt  /mnt/volume_nyc3_01
/mnt/volume_nyc3_01 /dev/sda ext4   rw,noatime,discard

This is a fresh volume. I don’t think it should need to be resized. What is wrong? I need 500gb not 300mb!

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
December 19, 2023

Hi there,

Happy to hear that you’ve got it all working using the resize2fs.

For anyone who comes across this in the future, this should actually be available under the Expand the Filesystem section in this documentation guide here:

Hope that this helps!



Running resize2fs /dev/sda seems to have fixed it. Not sure why that wasn’t in the config instructions >:(

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel