[linux-lvm] how to online resize pv?

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Tue Jul 31 09:50:24 UTC 2012


Am 31.07.2012 11:25, schrieb Bryn M. Reeves:
> 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).

OK that's right that's why i had the other idea to use the whole disk 
for LVM but then grub doesn't want to install ;-(

Stefan




More information about the linux-lvm mailing list