With the "vgdisplay -v" command a cluster locking error is shown on non cluster servers

This document (7014889) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 Service Pack 3 (SLES 11 SP3)

Situation

On a default installed SUSE Linux Enterprise Server with Service Pack 3 without High Availability cluster installed when executing "vgdisplay -v" the following is returned:

:~ # vgdisplay -v
    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.
    Finding all volume groups


Volume Group information is then still displayed as expected.

Resolution

The message is cosmetic and can be ignored, however should this behavior not be desirable it can be prevented by making the following change in "/etc/lvm/lvm.conf";

locking_type = 1

Cause

The default locking_type is set to 3 and the locking_type option is described as follows in "/etc/lvm/lvm.conf";

In SLES 11 the default is configured to cluster-based locking 3 to simplify the configuration in a cluster. When running in a non-clustered environment, the locking_type falls back to 1.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7014889
  • Creation Date: 10-Apr-2014
  • Modified Date:14-Oct-2022
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center