I recently installed a VM version of Oracle Linux 6.3 and began installing applications for testing. I realized that the "/" mount is small and the "/home" mount is way oversized, See output below.
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_vvfishn1-lv_root 50G 16G 32G 33% /
tmpfs 7.8G 272K 7.8G 1% /dev/shm
/dev/xvdb1 485M 55M 405M 12% /boot
/dev/mapper/vg_vvfishn1-lv_home 195G 189M 185G 1% /home
Both root and "/home" are ext4 FS . How can i resize these mounts without having to reinstall the OS?
Thanks in advanced
umount /dev/mapper/vg_vvfishn1-lv_home e2fsck -fyv /dev/mapper/vg_vvfishn1-lv_home resize2fs /dev/mapper/vg_vvfishn1-lv_home <SIZE> lvreduce -L <SIZE> /dev/mapper/vg_vvfishn1-lv_home e2fsck -fyv /dev/mapper/vg_vvfishn1-lv_home lvextend -L +<size> /dev/mapper/vg_vvfishn1-lv_root resize2fs /dev/mapper/vg_vvfishn1-lv_root reboot