[linux-lvm] how to online resize pv?

Bryn M. Reeves bmr at redhat.com
Tue Jul 31 09:25:48 UTC 2012


On Tue, 2012-07-31 at 08:26 +0200, Stefan Priebe wrote:
> Am 31.07.2012 07:10, schrieb Fred van Zwieten:
> > Try this
> > <http://epsilon.eridani.nl/2012/06/11/hot-resize-lvm2-lv-in-vmware-linux-gues/>
> 
> this just guarantees / updates the disk size. THis is not my problem the 
> disk size is correct. I just can't change the partition table.

Reading between the lines in that post the user added a new partition on
the newly-allocated region of disk (this is fine - it's only in-use
partitions that are a problem) and then extended the VG onto the new
partition.

It's an OK workaround if you have no option but I normally prefer to
arrange some downtime and enlarge the existing partition rather than end
up with multiple PVs on the same disk (the tools work fine I just feel
it looks messy).

Bryn. 




More information about the linux-lvm mailing list