How do I resize LVM volume group?
I also wanted to resize an LVM partition, most sites said it was impossible, this is what I did:
Resized the logical volume with pvresize as WhatsHisName said. But the partition itself remained unaffected and parted didn't want to resize it.
So what I did was use WinHEX, which is an excellent program, to directly modify the partition table.
I changed “Sectors in partition” by dividing the number of bytes I wanted by 512 which gives sectors, this could be different for other users. I ignored other values.
As safeties I left a buffer zone between partitions. I then used gparted to create the 2 extra partitions I needed.
I'll report later how this works out. For the moment is seems to be working splendidly.
|