Authors: 2021-08-27 | Last update: 2022-08-02
| Created: LVM Partitions¶
Removing LVM Partition and Merging In To / (root partition)¶
Find out the names of the partition with df
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 example 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