Moving around LVM2 Partitions (and Changing their Size)

Recently I ran into an issue where the size of an existing disk images LVM2 partition didn’t fit. The latest hardware from our vendor didn’t contain a large enough SSD memory drive! Since I didn’t want to re-create the entire image I turned to the Internet for help.

My issues with pre-created images aren’t infrequent. While it’s not as much of a problem currently as it was in the past LVM2 does add a bit of a wrinkle (being a relatively new container format). Between G4L and GParted they solve most issues, just not this one.

While there were quite a few resources available, AskUbuntu was the most concise. In this post in particular. If you look down the second answer by Gilles sorts both problems nicely.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.