mount.ocfs2: Cluster stack is invalid while trying to join the group
This document (7018352) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Availability Extension 12 SP1
SUSE Linux Enterprise High Availability Extension 12
SUSE Linux Enterprise Server 11 SP4
SUSE Linux Enterprise Server 11 SP3
SUSE Linux Enterprise High Availability Extension 11 SP4
SUSE Linux Enterprise High Availability Extension 11 SP3
Situation
mount.ocfs2: Cluster stack is invalid while trying to join the group
e.g. lrmd[65808]: notice: operation_finished: ocfs2-1_start_0:66483:stderr [ mount.ocfs2: Cluster stack is invalid while trying to join the group ]
Resolution
If it fails, then delete and recreate the ocfs2 filesystem instead.
If you can not keep the dlm and o2cb resources running because of a defined filesystem resource continually failing, then temporarily block the filesystem resource (e.g. set it to stopped) or temporarily remove the filesystem resource so that you can get the dlm and o2cb resources running.
Then while they are active recreate the ocfs2 filesystem and finally undo your temporary measures.
Afterwards the ocfs2 filesystem should mount.
For information on creating and managing ocfs2 resources, refer to the 'Storage and Data Replication - OCFS2' section of the 'High Availability Guide'.
Cause
Additional Information
In SLES 11 and later, ocfs2 functionality was moved under the High Availability Extension product (HAE) and as such can only be used once HAE is installed.
As it is often useful to be able to compare a problem cluster cib contents to a working example, here is the ocfs2 clone resource from a working cluster as seen in cib.xml (in this case it is ocfs2 over iSCSI):-
<clone id="base-clone">
<meta_attributes id="base-clone-meta_attributes">
<nvpair id="base-clone-meta_attributes-interleave" name="interleave" value="true"/>
<nvpair id="base-clone-meta_attributes-target-role" name="target-role" value="Started"/>
</meta_attributes>
<group id="base-group">
<primitive class="ocf" id="dlm" provider="pacemaker" type="controld">
<meta_attributes id="dlm-meta_attributes"/>
<operations id="dlm-operations">
<op id="dlm-op-monitor-10" interval="10" name="monitor" start-delay="0" timeout="20"/>
</operations>
</primitive>
<primitive class="ocf" id="o2cb" provider="ocfs2" type="o2cb">
<meta_attributes id="o2cb-meta_attributes"/>
<operations id="o2cb-operations">
<op id="o2cb-op-monitor-10" interval="10" name="monitor" timeout="20"/>
</operations>
</primitive>
<primitive class="ocf" id="ocfs2-1" provider="heartbeat" type="Filesystem">
<instance_attributes id="ocfs2-1-instance_attributes">
<nvpair id="ocfs2-1-instance_attributes-device" name="device" value="/dev/disk/by-path/ip-192.200.2.135:3260-iscsi-iqn.2016-12.com.suse:ocfs2vol-lun-0"/>
<nvpair id="ocfs2-1-instance_attributes-directory" name="directory" value="/mnt/ocfs2vol"/>
<nvpair id="ocfs2-1-instance_attributes-fstype" name="fstype" value="ocfs2"/>
<nvpair id="ocfs2-1-instance_attributes-options" name="options" value="acl"/>
</instance_attributes>
<operations>
<op id="ocfs2-1-monitor-20" interval="20" name="monitor" timeout="40"/>
</operations>
<meta_attributes id="ocfs2-1-meta_attributes"/>
</primitive>
<meta_attributes id="base-group-meta_attributes"/>
</group>
</clone>
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:7018352
- Creation Date: 03-Dec-2016
- Modified Date:17-Dec-2021
-
- SUSE Linux Enterprise High Availability Extension
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com