Techyou labs
真正的爱应该超越生命的长度、心灵的宽度、 灵魂的深度
常用标签
您正在查看:标签 vgremove 下的文章

形界面创建,在LVM管理建vg沟选集群选项,删除此vg时提示:
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