LVM commands print "Volume Groups with the clustered attribute will be inaccessible."
LVM commands print "Volume Groups with the clustered attribute will be inaccessible."
Issue:
- I am unable to activate clustered volume groups even though
clvmdis started
Error:
connect() failed on local socket: No such file or directory
Internal cluster locking initialisation failed.
WARNING: Falling back to local file-based locking.
Volume Groups with the clustered attribute will be inaccessible.
Skipping clustered volume group VGgfs00Resolution:
- Make sure that the
lvmandlvm-clusterpackages are compatible. - The correct value for the option
locking_typeis not correctly set in/etc/lvm/lvm.confcan lead to "Volume Groups with the clustered attribute will be inaccessible". - For
lvm-clusterto be properly configured ensure that the optionlocking_typeis set to3in the global section of/etc/lvm/lvm.confas noted in the article on HALVM. When using withGFS, orGFS2. Please note that if HALVM is used then the initrd image will need to be updated if the/etc/lvm/lvm.conffile changes.
# grep locking_type /etc/lvm/lvm.conf | grep -v "#"
locking_type = 1
# lvmconf --enable-cluster
# grep locking_type /etc/lvm/lvm.conf | grep -v "#"
locking_type = 3
# service clvmd restart
- Ensure that
clvmdhas been started properly after the cluster node has joined the cluster.
No comments