SUSE Support

Here When You Need Us

mount.ocfs2: Protocol error while mounting /dev/sdX on /<mount point>

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

Environment

SUSE Linux Enterprise High Availability Extension 12
SUSE Linux Enterprise High Availability Extension 11

Situation

Mounting OCFS2 Filesystem in Pacemaker cluster results in a protocol error:

n2:~ # mount /dev/disk/by-id/scsi-14945540000000000842eccc38456bd80703d1bde3898ff85 /mnt
mount.ocfs2: Protocol error while mounting /dev/sdd on /mnt. Check 'dmesg' for more information on this error.

Resolution

On the cluster node with OCFS2 mount attempt you can see the following error messages:

n2:~ # dmesg | tail
[  695.679795] dlm: A4D561497BFB4029BE7A425D5E2D5C14: config mismatch: 64,0 nodeid 739277059: 32,0
[  695.682213] (mount.ocfs2,10900,0):ocfs2_dlm_init:3006 ERROR: status = -71
[  695.682315] (mount.ocfs2,10900,0):ocfs2_mount_volume:1862 ERROR: status = -71
[  695.682338] ocfs2: Unmounting device (8,48) on (node 0)
[  695.682343] (mount.ocfs2,10900,0):ocfs2_fill_super:1229 ERROR: status = -71

n2:~ # tail /var/log/messages
2016-05-31T09:29:11.598142+02:00 n2 kernel: [  695.675713] dlm: Using TCP for communications
2016-05-31T09:29:11.600574+02:00 n2 kernel: [  695.679361] dlm: connecting to 739277059
2016-05-31T09:29:11.600794+02:00 n2 kernel: [  695.679462] dlm: got connection from 739277059
2016-05-31T09:29:11.600797+02:00 n2 kernel: [  695.679795] dlm: A4D561497BFB4029BE7A425D5E2D5C14: config mismatch: 64,0 nodeid 739277059: 32,0
2016-05-31T09:29:11.601505+02:00 n2 dlm_controld[2301]: 695 cpg_dispatch error 9
2016-05-31T09:29:11.604413+02:00 n2 kernel: [  695.682213] (mount.ocfs2,10900,0):ocfs2_dlm_init:3006 ERROR: status = -71
2016-05-31T09:29:11.604430+02:00 n2 kernel: [  695.682315] (mount.ocfs2,10900,0):ocfs2_mount_volume:1862 ERROR: status = -71
2016-05-31T09:29:11.604431+02:00 n2 kernel: [  695.682338] ocfs2: Unmounting device (8,48) on (node 0)
2016-05-31T09:29:11.604432+02:00 n2 kernel: [  695.682343] (mount.ocfs2,10900,0):ocfs2_fill_super:1229 ERROR: status = -71


To resolve this problem open a terminal or ssh session to any other available cluster node and check if lock space exists:

n2:~ # dlm_tool ls
dlm lockspaces
name          A4D561497BFB4029BE7A425D5E2D5C14
id            0x8c84fe54
flags         0x00000000
change        member 2 joined 1 remove 0 failed 0 seq 1,1
members       739277059 739277060

Leave the lock manually:

n1:~ # dlm_tool leave A4D561497BFB4029BE7A425D5E2D5C14
Leaving lockspace "A4D561497BFB4029BE7A425D5E2D5C14"

Then mount the filesystem.

Cause

Aborted fsck.ocfs2 may result in a protocol error.

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:7017651
  • Creation Date: 31-May-2016
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise High Availability Extension

< Back to Support Search

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

tick icon

SUSE Support Forums

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

tick icon

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.

tick icon

Open an Incident

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