Question

how to expand root volume size

I have created a volume that is 10 GB. so now I want to merge this 10GB volume to my root volume. my root volume size is 25 GB so the storage accessible under root / how can I do that?

root@test:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            481M     0  481M   0% /dev
tmpfs            99M  592K   98M   1% /run
/dev/vda1        25G  989M   24G   5% /
tmpfs           493M     0  493M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           493M     0  493M   0% /sys/fs/cgroup
/dev/vda15      105M  3.6M  101M   4% /boot/efi
/dev/sda        9.8G   37M  9.3G   1% /mnt/volume_blr1_02
tmpfs            99M     0   99M   0% /run/user/0

As you can see the additional storage volume is added as separate mount point as:

/dev/sda 9.8G 37M 9.3G 1% /mnt/volume_blr1_02

What I want is, total 35GB storage accessible under root / how can I do that?

Show comments

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Did you get any solution??

Hello, @bittu

You can find more information about the process by following our tutorial: https://www.digitalocean.com/docs/volumes/how-to/expand-partitions/

Let me know if you have any questions about the process.

Regards, Alex