Techyou labs
您正在查看:标签 vgremove 下的文章

Skipping clustered volume group
a local volume group has been incorrectly set up as clustered, and there isnot a cluster set up for the locking, when unset the cluster flag is attempted to be removed, vgchange will print out "Skipping cluster volume group."

In order to fix this, edit the /etc/lvm/lvm.conf file and set locking_type = 0. Then run the command vgchange -cn VolumeGroupName. After this, change the locking_type in the /etc/lvm/lvm.conf back to the original value.
vim /etc/lvm/lvm.conf
locking_type = 0
vgchange -cn vgname
vgrmove vgname