Confirmation prompt is not displayed when removing cache-pool
Issue
- Confirmation prompt is not displayed when removing cache-pool
Linear removal prompts:
=======================
[root@localhost ~]# lvcreate --type linear -l 100%FREE vg1
Logical volume "lvol0" created.
[root@localhost ~]# lvremove vg1/lvol0
Do you really want to remove active logical volume vg1/lvol0? [y/n]: y
Logical volume "lvol0" successfully removed
Cache-pool removal does not:
============================
[root@localhost ~]# lvcreate --type cache-pool -l 100%FREE vg1
Logical volume "lvol1" created.
[root@localhost ~]# lvremove vg1/lvol1
Logical volume "lvol1" successfully removed
Environment
- Red Hat Enterprise Linux 8
- lvm2-2.03.02-2.el8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.