Cómo quitar el dispositivo 'dm' para un volumen lógico cuando LV real no está presente?
Issue
El Actual volúmen lógico * no está presente en el sistema, pero su correspondiente dm del dispositivo se ve presente con el comando dmsetup info-c.
También el dispositivo dm no se eliminan con el comando dmsetup remove o lvremove tambien falla, como el actual LV no está presente en el sistema ni el VG correspondiente, así como PV también se ha eliminado.
$cat dmsetup_info |grep -i lv
Name Maj Min Stat Open Targ Event UUID
vg-lv 253 19 L--w 0 1 0 LVM-11111111111
$lvs |grep lv
#dmsetup remove -f vg-lv
device-mapper: remove ioctl failed: Device or resource busy
Command failed
Environment
- Red Hat Enterprise Linux 5
- Device-Mapper
- LVM
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
