出現了這個錯誤Skipping clustered volume group ,如何處理?

2013-10-06 04:02

 

However, 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.

 

解決辦法如下:

修改 /etc/lvm/lvm.conf檔,修改 locking_type的值為 0

然後用

vgchange -c n vg0

然後就可以使用此vg了。

 

activation/monitoring=0 is incompatible with clustered Volume Group “data_vg":
Skipping.

 

if I use “–monitor y" then the command works as expected.

# vgchange -a y –monitor y data_vg