Unable to delete a LV after migration to AWS EC2 instance
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.