Unable to delete a LV after migration to AWS EC2 instance

Solution Unverified - Updated -

Issue

Unable to delete a LV after migration to AWS EC2 instance. It is reported as "in use" even when the file system is unmounted and no process is using LV.

[root@hostname ~]# dmsetup remove -f vg00-lvITM
device-mapper: remove ioctl on vg00-lvITM  failed: Device or resource busy
Command failed.

Environment

  • Red Hat Enterprise Linux 8
  • AWS EC2 instance

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