Logical volume vmxxxx_img is used by another device - Error on LVM removal
Hi Folks,
I've faced error while trying to remove an LVM from the server.
The exact LVM error will be "Logical volume vmxxxx_img is used by another device" on executing the lvremove command.
Feel free to remove the following steps to remove the LVM from the server.
Note: Please remember to replace <id> with your VMID in the below section.
----------------------------------------------------------
I've faced error while trying to remove an LVM from the server.
The exact LVM error will be "Logical volume vmxxxx_img is used by another device" on executing the lvremove command.
Feel free to remove the following steps to remove the LVM from the server.
Note: Please remember to replace <id> with your VMID in the below section.
----------------------------------------------------------
dmsetup ls
dmsetup info -c xen-vm<id>_img
dmsetup remove xen-vm<id>_img
lvremove -f /dev/xen/vm<id>_img
----------------------------------------------------------
Comments
Post a Comment