Getting error such as " WARNING: Device mismatch detected for vg/lv which is accessing /dev/mapper/lun1 instead of /dev/mapper/lun2" after lvm migration.
Issue
-
Getting below error when executing
lvmcommands afterlvmmigration usingpvmove:WARNING: Device mismatch detected for vg/lv which is accessing /dev/mapper/lun1 instead of /dev/mapper/lun2 -
When running
lvscommand, it displays the following output:WARNING: Device mismatch detected for vg_name/lv_name which is accessing /dev/mapper/mpathap1 instead of (null). WARNING: Device mismatch detected for vg_name/lv_name which is accessing /dev/mapper/mpathbp1 instead of (null). WARNING: Device mismatch detected for vg_name/lv_name which is accessing /dev/mapper/mpathcp1 instead of (null). WARNING: Device mismatch detected for vg_name/lv_name which is accessing /dev/mapper/mpathdp1 instead of (null). [...] Refusing refresh of partial LV vg_name/lv_name. Use '--activationmode partial' to override. Refusing refresh of partial LV vg_name/lv_name. Use '--activationmode partial' to override. Refusing refresh of partial LV vg_name/lv_name. Use '--activationmode partial' to override. Refusing refresh of partial LV vg_name/lv_name. Use '--activationmode partial' to override. [...]
Environment
- Red Hat Enterprise Linux 6
- lvm2
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.
