LV is already locked with incompatible mode

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

Environment

SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Availability Extension

Situation

When trying to modify Logical Volume or resizing it for example, the system print the following error: 
LV is already locked with incompatible mode
The Volume Group is being managed by cluster software "pacemaker" and has the following resource definition:
primitive vg-data LVM-activate \
        params vgname=vg-data vg_access_mode=lvmlockd activation_mode=shared
And the Logical Volume have the following resource definition:
primitive lv01 Filesystem \
	params device="/dev/vg-data/lv01" directory="/my-data" fstype=ext4 

Resolution

To fix the problem the right activation_mode should be used based on the LV's filesystem.
  • In case the FS is xfs or ext4 activation_mode should be exclusive 
  • In case gfs2 and ocfs2 activation_mode should be shared 
 Note: default value is exclusive. For more information check: crm ra info LVM-activate

Cause

Wrong activateion_mode used in LVM-activate resource definition. 

Additional Information

For more information check the HAE Administration Guide: 
 
SLE HA 15 SP1 - Administration Guide

See also :
Cluster Shared LVM limitation
 

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:000019660
  • Creation Date: 01-Feb-2021
  • Modified Date:01-Feb-2021
    • SUSE Linux Enterprise High Availability Extension

< 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