Confirmation prompt is not displayed when removing cache-pool

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content