Can block storage be merged with the main storage drive?

If I attach a block storage to a server, can I then merge the block storage to the main hard drive in order to have a single large volume?

For instance, if I have a server with 80GB and I add a block storage of 100GB, can I then merge the two volumes to create a single volume with 180GB?


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
August 4, 2023
Accepted Answer

Hi there,

I am afraid that you can not merge the root volume with the additional block storage volumes that you’ve added.

The block storage and the main hard drive are two separate physical devices. Even though it might seem like they could just be combined into a single volume because they’re both storing data, the data is actually being stored on different hardware. This means that there’s no way to just merge the two together without moving the data from one device to another.

However, you can make the additional block storage available to the system by mounting it to a specific directory. When a storage device is mounted to a directory, the file system of the device becomes accessible at that directory path. This means you can use the additional storage just like you would use any other directory on your system.

So while you can’t merge the two volumes into a single volume, you can still use the additional storage in a way that’s seamless and transparent to your applications.

Hope that this helps!



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