clvmd service failed with 'WARNING: Locking disabled. Be careful! This could corrupt your metadata' after OS upgrade.
Issue
- After OS upgrade from Red Hat Enterprise Linux 5u3 to Red Hat Enterprise Linux 5u5 , clvmd service failed with the following message.
$ service clvmd start
WARNING: Locking disabled. Be careful! This could corrupt your metadata.
1 logical volume(s) in volume group "vg1" now active
Starting clvmd: [ OK ]
Activating VGs: connect() failed on local socket: No such file or directory
WARNING: Falling back to local file-based locking.
Volume Groups with the clustered attribute will be inaccessible.
Skipping clustered volume group vg1
3 logical volume(s) in volume group "rootvg" now active
[FAILED]
- Verified that
locking_type = 3is set correctly in/etc/lvm/lvm.confas VolumeGroupvg1is formatted as GFS2 fs.
Environment
- Red Hat Enterprise Linux 5
- Red Hat Cluster suite
- lvm2-cluster-2.02.56-7.el5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
