How do I delete a LUKS device?
Issue
- How do I delete a LUKS device?
- I've created a LUKS device and would like to delete it.
- When attempting to remove a logical volume I receive the following error:
# lvremove /dev/mapper/VolGroup-lv_lukstest
Logical volume VolGroup/lv_lukstest is used by another device.
Environment
- Red Hat Enterprise Linux
- LUKS
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.