[CentOS] Consolidating LVM volumes..
wpilorz at bdk.pl
Fri Mar 23 13:18:08 UTC 2007
On Fri, 23 Mar 2007, Theo Band wrote:
> To my understanding sometimes it is possible to resize live ext3
> filesystems. (No experience myself). In that case you could simply do
> something like this:
> resize2fs /dev/VolGroup00/VarVol00 2G
> lvreduce -L2G /dev/VolGroup00/VarVol00
> I would still prefer to do this when the disk is unmounted and checked
> (e2fsck -f /dev/VolGroup00/VarVol00). But in that case you of course get
> rid of the partition VarVol00 anyhow.
Last time I tried reducing ext3 was only possible after
umount and e2fsck -f;
Enlarging ext3 was generally possible on mounted system, unless
you want to enlarge past some limit (depending on how fs was created); in that case
umount and e2fsck is also needed.
More information about the CentOS