Skip to content

LVM Partitions

Removing LVM Partition and Merging In To / (root partition)

Find out the names of the partition with df


You need to unmount the partition before you can delete them and marge backup the data of the partition you would like to delete this exmaple will use "centos-home" as the partition that will be merged to the root partition.

unmount -a
lvremove /dev/mapper/centos-home
lvextend -l +100%FREE -r /dev/mapper/centos-root

After the merging and before mounting you should remove the partition from fastab

nano /etc/fstab
mount -a

Last update: September 2, 2021
Back to top