Resize big filesystem on Centos 6

Resize + mass vps openvz stop and start examples

Good to have for the future… hamstering this here…

### Get the size from vgdisplay
lvextend -L16.20TB /dev/vg/vz
cd /usr/local/src
cd e2fsprogs
make install
for i in `vzlist -a | awk ‘{print $1}’` ; do vzctl stop $i ; done
service vz stop
umount /vz
/usr/local/src/e2fsprogs/./e2fsck/e2fsck -fy /dev/mapper/vg-vz
/usr/local/src/e2fsprogs/./resize/resize2fs -b /dev/mapper/vg-vz
/usr/local/src/e2fsprogs/./resize/resize2fs -p /dev/mapper/vg-vz
/usr/local/src/e2fsprogs/./e2fsck/./e2fsck -fy /dev/mapper/vg-vz
mount -a
service vz start
for i in `vzlist -a | grep stop | awk ‘{print $1}’` ; do vzctl start $i ; done