[linux-lvm] Resizing underlying LVM partition after cloning to bigger disk
John Drescher
drescherjm at gmail.com
Fri Mar 4 22:05:48 UTC 2011
On Fri, Mar 4, 2011 at 4:49 PM, Koen Vermeer <koen at vermeer.tv> wrote:
> On 03/03/2011 06:25 AM, Scott Arthur wrote:
>> 1 32.3kB 296MB 296MB primary ext4 boot
>> 2 296MB 1000GB 1000GB extended
>> 5 296MB 1000GB 1000GB logical lvm
>> I'm obviously wanting to expand the LVM partition to fill the
>> remaining 1TB of space.
>
> I'm just a regular LVM user and maybe I'm misunderstanding you, but why
> not simply add partition #2 as a physical volume? I thought that was one
> of the advantages of LVM: not having to worry about that kind of thing.
>
LVM pvresize is safe. I have done this many times at work. Even with >
10TB physical volumes. There is one potential problem if your pv has 2
metadata areas however it will inform you and in this case it will
refuse to resize instead of causing breakage.
John
More information about the linux-lvm
mailing list