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?
Thanks!
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!
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.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
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!
Best,
Bobby