To remove a logical volume, you can use the command
lvremove /dev/vg-name/lv-name
Example
lvremove /dev/vg1/win10
This will remove logical volume with the name “win10” from volume group “vg1”.
[root@Alma-85-amd64-base ~]# lvremove vg1/data1 Do you really want to remove active logical volume vg1/data1? [y/n]: y Logical volume "data1" successfully removed. [root@Alma-85-amd64-base ~]#
back to LVM
Leave a Reply