By data2j
I ran out of space on a droplet with 25GB on it. I added a 50GB volume block. When I attempt to add more data to the droplet it will not automatically go over to the next partition and tells me there is no space left. When I run the command. “fdisk -l” I have two partitions. /dev/vda1 & /dev/sda2. I select the auto-mount setting and set the format to XFS in the control panel. What can I do to expand the root partition to the volume block added to the droplet?
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!
Hello, @data2j
Block storage volumes are network-based block devices that provide additional data storage for Droplets. They’re usually used for adding additional storage for the default upload directory, to store backups to host personal file information and etc.
When you want to expand your droplet’s main partition you can follow this docs:
https://www.digitalocean.com/docs/droplets/how-to/resize/
You need to select an option for the upgrade from the control panel:
CPU and RAM only or Disk, CPU, and RAM resizing,
Once the server is started you can make sure everything is working fine and then you can continue with the resizing. The resize command will depend from the file system in question so you can check the documentation to make sure what to use, or just let me know if you have any questions regarding this step from the process.
Let me know how it goes.
Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.