Re: Adding a disk to expand an existing logical volume

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

 



On Wed, May 19, 2010 at 12:09 PM, kevin <k@kevinkevin.com> wrote:
> One last thing I want to confirm is the lvextend command to 'grow' the
> logical volume :
>
>
> lvextend -L+144G /dev/VolGroup00/my_volume
>
> After all said steps in previous messages on this thread are complete, is
> the above command correct for my particular scenario? Do I want to 'extend'
> the volume size or 'grow' it?
>
> Not sure what the difference is.

Chiming in a little late here but I would suggest the following
(although I'm certainly not a LVM expert):

lvextend -l +100%FREE /dev/VolGroup00/my_volume (notice the lower case
l in -l, not upper)

This should make sure you add 100% of the extents of the new drive to
your logical volume. As I've said, I'm not an expert so I don't know
the innards of "lvextend" but I would be concerned that if you specify
the size of the expansion in gigabytes instead of as a percentage that
you might get some unallocated extents due to rounding.

Richard

_______________________________________________
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