Re: Resizing underlying LVM partition after cloning to bigger disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 4, 2011 at 5:05 PM, John Drescher <drescherjm@gmail.com> wrote:
> On Fri, Mar 4, 2011 at 4:49 PM, Koen Vermeer <koen@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.
>

BTW, I did not mention but the fix for this is in the works.

John

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/



[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux