出现了这个错误Skipping clustered volume group ,如何处理

 这个是由于在建立vg的时候选择了集群vg而导致的,这样对vg操作的时候就会出现如题所示的信息

可参考权威解释:

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了。

你可能感兴趣的:(职场,vg,休闲,jarson2012)