CLVM failed on local socket when configure

Latest response

Hi All,

I would like to setup CLVM + GFS2 on RHEL 7 and faced

~]# lvmconf --enable-cluster
~]# systemctl reboot

and after reboot, i see this...

~]# lvs
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.
LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert
root rhel -wi-ao---- 77.51g
swap rhel -wi-ao---- 2.00g

~]# pvs
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.
PV VG Fmt Attr PSize PFree
/dev/sda2 rhel lvm2 a-- 79.51g 0

This is bug or feature?

How i can fix it?

Responses

i faecd the same issue i want to know too

did anyone has the solution for this issue.

Hi,

Have you checked the solution in the article that was referred before ? Make sure that the clvmd service is up on all clustered member nodes..

The solution given not working. mine is rhel 7

[root@node2 ~]# pvs WARNING: Not using lvmetad because config setting use_lvmetad=0. WARNING: To avoid corruption, rescan devices to make changes visible (pvscan --cache). 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 cluster_vg PV VG Fmt Attr PSize PFree /dev/sda2 rhel_rhel74 lvm2 a-- <19.00g 0 /dev/sdb lvm2 --- 5.00g 5.00g

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.