- Shut the machine down
- Boot off a live CD or rescue disk
- Skip mounting your existing volumes
- Run
lvm vgchange -a y
- Ensure that the volume group and logical volumes are visible
- Run
e2fsck -f VOLUME
to ensure the existing data on the volume is intact and the file system is sane - Run
resize2fs -p VOLUME SIZE[M|G]
to resize the file system on the volume to the intended size - Run
lvm lvreduce -L VOLUME
to resize the logical volume to the preferred size - Run
resize2fs VOLUME
again to fill up the logical volume
Resizing an ext3 LVM2 volume
The process of resizing an LVM volume is pretty straightforward, but it’s important to take care in performing them — one false step and say goodbye to the data on that disk.