[RHEL4.7 RHEL5.3] "vgreduce --removemissing --force" does not work with metadata corrupted from missing PVs
Issue
- Unable to remove a volume group with missing PVs
- "vgreduce --removemissing --force" does not restore volume group to consistent state
- "vgremove" fails with errors similar to:
Couldn't find device with uuid 'hHoQcS-0PQe-00We-PoXm-qztu-H4RT-VaUhkn'. LV scratch3: segment 1 has inconsistent PV area 0 Couldn't read all logical volumes for volume group VolGroup01. Volume group "VolGroup01" not found
Environment
- Red Hat Enterprise Linux 4.7 or below
- lvm2 release prior to lvm2-2.02.42-11.el4
- Red Hat Enterprise Linux 5.3 or below
- lvm2 release prior to 2.02.46
- A volume group containing LVs with PVs missing
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.
