Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

Cómo quitar el dispositivo 'dm' para un volumen lógico cuando LV real no está presente?

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.