[CentOS] resize LVM (ext3)

Wed Oct 29 14:24:30 UTC 2008
William L. Maltby <CentOS4Bill at triad.rr.com>

On Wed, 2008-10-29 at 10:15 -0400, Filipe Brandenburger wrote:
> <snip>

> Reduce the filesystem to 78G or 79G with resize2fs, then reduce the LV
> to 80G, then grow the ext3 filesystem again to fill all the LV. This
> should make it safer when cutting the LV.

That's what I always do. It eliminates small chances of my math
disagreeing with resize2fs's math. Plus, IIRC, then the second re-size
doesn't need a size parameter. Resize2fs will automatically grow to the
maximum allowed by the partition/logvol.

> 
> HTH,
> Filipe
> <snip sig stuff>

HTH
-- 
Bill