LVM commands or lvm2-monitor init script hang indefinitely when 4 or more volume group exist with the same name in RHEL 5
Issue
- LVM commands hang when there are 4 or more volume groups found with the same name
- LVM commands hang on a virtualization host
- When booting the system, it hangs at the lvm2-monitor script. Disabling the lvm2-monitor script allows the system to boot, but subsequent LVM commands hang.
- LVM commands such as vgs hang.
-
LVM commands like pvs, vgs, lvs, etc are hanging after printing warnings about Duplicate VG names.
# pvs WARNING: Duplicate VG name test: Existing ZkX5N8-s1v8-8tak-XgK5-cdEL-MlM4-EaGX9a (created here) takes precedence over bAFJc7-3s7V-SmOe-jEUx-LDg6-sQhL-f64VHD WARNING: Duplicate VG name test: Existing ZkX5N8-s1v8-8tak-XgK5-cdEL-MlM4-EaGX9a (created here) takes precedence over jcTgdH-UCbQ-rzQY-D560-yPrN-Jzgp-2zRDiY WARNING: Duplicate VG name test: Existing ZkX5N8-s1v8-8tak-XgK5-cdEL-MlM4-EaGX9a (created here) takes precedence over H5333B-rHRL-LlSy-tWm3-66QQ-THmw-zBoyt2 WARNING: Duplicate VG name test: Existing ZkX5N8-s1v8-8tak-XgK5-cdEL-MlM4-EaGX9a (created here) takes precedence over H5333B-rHRL-LlSy-tWm3-66QQ-THmw-zBoyt2 WARNING: Duplicate VG name test: Existing ZkX5N8-s1v8-8tak-XgK5-cdEL-MlM4-EaGX9a (created here) takes precedence over jcTgdH-UCbQ-rzQY-D560-yPrN-Jzgp-2zRDiY WARNING: Duplicate VG name test: Existing ZkX5N8-s1v8-8tak-XgK5-cdEL-MlM4-EaGX9a (created here) takes precedence over bAFJc7-3s7V-SmOe-jEUx-LDg6-sQhL-f64VHD
Environment
- Red Hat Enterprise Linux (RHEL) 5
-
lvm2 prior to release 2-2.02.84.6-.el5_7.2
-
4 or more independent physical volumes that each contain a volume group with the same name. The PVs are not duplicates, paths to the same storage device, or part of the same VG.
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.
