Remove /home partition and expand / to full size of disk

umount /home

lvremove /dev/vg*/lv_home

Do you really want to remove active logical volume lv_home? [y/n]: y
Logical volume "lv_home" successfully removed

lvresize -l +100%FREE /dev/vg*/lv_root

  Size of logical volume vg_30/lv_root changed from 50.00 GiB (12800 extents) to 107.41 GiB (27496 extents).
  Logical volume lv_root successfully resized

resize2fs /dev/vg*/lv_root

 

resize2fs 1.41.12 (17-May-2010)
Filesystem at /dev/vg_30/lv_root is mounted on /; on-line resizing required
old desc_blocks = 4, new_desc_blocks = 7
Performing an on-line resize of /dev/vg_30/lv_root to 28155904 (4k) blocks.
The filesystem on /dev/vg_30/lv_root is now 28155904 blocks long.

Now delete the line containing the /home partition in /etc/fstab




Next: Dedicated Servers » Assign an IPv6 address to CentOS/Fedora
Previous: Dedicated Servers » Assign a range of IPs to CentOS/Fedora