Oracle LInux: LVM Commands Are Hanging After Changing The Root Volume Group Name
(Doc ID 2365696.1)
Last updated on MARCH 16, 2023
Applies to:
Oracle Cloud Infrastructure - Version N/A and laterLinux OS - Version Oracle Linux 6.2 and later
Linux x86-64
Symptoms
LVM commands are hanging on the server after running vgrename(8) command for the volume group which has main (already in use) root and swap volume.
When ps(1) output checked.
# ps auxwwf | awk '{ if(( $1 ~"USER") || ( $8~"D")) { print $0 }}'
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 3114 0.0 0.0 127432 4892 pts/2 D+ 11:50 0:00 | \_ vgs
root 3226 0.0 0.0 127432 4892 pts/3 D+ 11:52 0:00 | \_ vgs
root 3351 0.0 0.0 127432 4968 pts/4 D+ 11:54 0:00 | \_ vgdisplay --select vg_uuid=XXkxLA-IYHv-ZkSv-mSK2-bmx7-ICw8-hOlIxB
root 4416 0.0 0.0 127432 4880 pts/5 D+ 12:08 0:00 | \_ vgdisplay
root 15940 0.0 0.0 127432 4872 pts/6 D+ 12:23 0:00 | \_ pvs
Changes
There was two volume group named as vg_main with different UUIDs. We changed the vg_main volume group to vg_main_orig and for that operation we used below commands:
And detached the vg_main volume group's disk image.
And after that we tried to see the volume groups with LVM commands such as vgs(8), vgdisplay(8), pvs(8) and such.. however all of them are hanging. They are on Distate on ps(8) output.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |