[CentOS] resize LVM (ext3)

Wed Oct 29 14:15:54 UTC 2008
Filipe Brandenburger <filbranden at gmail.com>

Hi,

On Wed, Oct 29, 2008 at 07:58, David Hláčik <david at hlacik.eu> wrote:
> How can i be sure that i will shrink ext3 to exact size 80GB and that the
> same will lvreduce do? I do not want to cut from ext3 filesystem if i will
> reduce logical volume too much

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.

HTH,
Filipe