Originally Posted by MensaWater
You can reduce the size of /home since it is unused and increase / on line:
***WARNING: SINCE THIS IS ROOT YOUR MUCKING WITH BE SURE YOU HAVE A GOOD BACKUP FIRST***
My notes show reduction of /home must be done offline (with filesystem unmounted)
Requires a filesystem check with e2fsck be done
Filesystem can then be reduced using resize2fs.
The LV can then be reduced using lvreduce.
df -h /home (to see current size)
esfsck -f /dev/mapper/vg_mail-lv_home
resize2fs /dev/mapper/vg_mail-lv_home <newsize you desire>
lvreduce -L <new size you desire> /dev/mapper/vg_mail-lv_home
mount /dev/mapper/vg_mail-lv_home /home
df -h /home (should now show new size)
You can then easily extend root by running:
lvextend -L <new size you desire greater than current size> /dev/mapper/vg_mail-lv_root
resize2fs -p /dev/mapper/vg_mail-lv_root
df -h / (to verify new size)
You can get more details on size specifications and/or other options for each of the commands by typing "man <command>"
i will try that after i prepare backup server this week.
this is online mail server so i have to shutdown it on holiday
and i will update this thread after that