By uter
I have a $5/Month Droplet, which has a 20 GB disk. Then I add a 10 GB block storage to it. Now my Droplet has 30 GB space. But these 30 GB are not continuous, when disk1 is full, system will not write data to disk2, instead, system throw a “No space left on device” error.
So I tried to merging disks. LVM seems to be a good choice, so I tried to convert root partition to lvm. I found some instruction on Google, but I just can’t make it work, I just keep crash the system since I am a noob.
Is there a detailed Instruction for convert root partition to lvm on Droplet? 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!
Hi Uter,
your question states my same exact problem. Did you find a solution in the meantime?
Thanks, khalid
Hi Uter,
I want to inform you that converting root partition is require a lot of effort and very complicated.What i can suggest you to move some of the bigger directory to some other new LVM partion like /var /home/ /opt. like which are the folder utilizing the most of the space and then move it to new partition.you can determine the space using below command. du -sh /var
Please format the partition as LVM and visit below post to mount any directory to new partition which utilizing most space.
http://blog.oshim.net/2011/10/how-to-move-var-folder-to-new-partition.html
If you want to go for converting root partition to LVM use below post.
http://thegeekdiary.com/centos-rhel-converting-an-existing-root-filesystem-to-lvm-partition/
Hope it will help.
I’m having the same issue as well. I wish to merge my root partition to my newly added volume block. When I run out of space on my first volume /dev/vda1 wont go over to /dev/sda1.
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.