Question

How to transfer root system volume /dev/vda1 to /dev/sda (LVM)

How to transfer root system volume /dev/vda1 to /dev/sda (LVM).

Im trying to increase my system. I use cpanel wehere I have many websites and I need more storage. I know it is not possible to merge vda and sda but it is possible to increase with LVM.

I use Centos 8.

Subscribe
Share

Submit an 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.

Hi @arendus,

Unfortunately, it is not possible to change the root partition from /dev/vda1 to /dev/sda1 there is a possibility of data corruption as both the disk have different file systems, additional volume is just like the external hard disk you attach to the system.

You can do droplet resize and increase the size of the root partition:

For information on droplet resize: https://docs.digitalocean.com/products/droplets/how-to/resize/

I hope this helps!

Regards, Rajkishore