All Cloned Filesystems Remount When One Node is Rebooted
This document (7011322) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 11
Filesystem Clone Resources
Situation
The filesystem clone resource configuration looks like:
<clone id="filesystem-clone-001">
<meta_attributes id="filesystem-clone-001-meta_attributes">
<nvpair id="filesystem-clone-001-meta_attributes-target-role" name="target-role" value="Started"/>
</meta_attributes>
<primitive class="ocf" id="ocfs2-filesystem" provider="heartbeat" type="Filesystem">
<operations id="ocfs2-filesystem-operations">
<op id="ocfs2-filesystem-op-monitor-20" interval="20" name="monitor" timeout="40"/>
</operations>
<instance_attributes id="ocfs2-filesystem-instance_attributes">
<nvpair id="ocfs2-filesystem-instance_attributes-device" name="device" value="/dev/disk/by-path/iqn.2012-11.lab:north1g-lun-5-part2"/>
<nvpair id="ocfs2-filesystem-instance_attributes-directory" name="directory" value="/clonefs"/>
<nvpair id="ocfs2-filesystem-instance_attributes-fstype" name="fstype" value="ocfs2"/>
</instance_attributes>
</primitive>
</clone>
or configured like:
<clone id="filesystem-clone-001">
<meta_attributes id="filesystem-clone-001-meta_attributes">
<nvpair id="filesystem-clone-001-meta_attributes-target-role" name="target-role" value="Started"/>
<nvpair id="filesystem-clone-001-meta_attributes-interleave" name="interleave" value="false"/>
</meta_attributes>
<snip/>
Resolution
crm_resource --resource filesystem-clone-001 --set-parameter interleave --meta --parameter-value true
Once you have set interleave to true, use cibadmin -Q to review the changes. Your clone resource metadata should look like:
<clone id="filesystem-clone-001">
<meta_attributes id="filesystem-clone-001-meta_attributes">
<nvpair id="filesystem-clone-001-meta_attributes-target-role" name="target-role" value="Started"/>
<nvpair id="filesystem-clone-001-meta_attributes-interleave" name="interleave" value="true"/>
</meta_attributes>
<primitive class="ocf" id="ocfs2-filesystem" provider="heartbeat" type="Filesystem">
<operations id="ocfs2-filesystem-operations">
<op id="ocfs2-filesystem-op-monitor-20" interval="20" name="monitor" timeout="40"/>
</operations>
<instance_attributes id="ocfs2-filesystem-instance_attributes">
<nvpair id="ocfs2-filesystem-instance_attributes-device" name="device" value="/dev/disk/by-path/iqn.2012-11.lab:north1g-lun-5-part2"/>
<nvpair id="ocfs2-filesystem-instance_attributes-directory" name="directory" value="/clonefs"/>
<nvpair id="ocfs2-filesystem-instance_attributes-fstype" name="fstype" value="ocfs2"/>
</instance_attributes>
</primitive>
</clone>
Cause
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:7011322
- Creation Date: 07-Nov-2012
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise High Availability Extension
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com