How to Remove a logical volume
To remove a logical volume, you can use the command
1 |
lvremove /dev/vg-name/lv-name |
Example
1 |
lvremove /dev/vg1/win10 |
This will remove logical volume with the name “win10” from volume group “vg1”.
1 2 3 4 |
[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