Cluster mount succeeds but resource shows as failed (OPENAIS, OCFS2, CLUSTER)
This document (7004243) is provided subject to the disclaimer at the end of this document.
shows that the resource was in fact mounted.
/dev/dm-0 on /var/lib/xen/images type ocfs2 (rw,_netdev,cluster_stack=pcmk)
In the /var/log/messages you could see a sequence similar to
start of Filesystem resource
RA output: (fs:1:start:stderr) 2009/08/18_14:10:53 INFO: Running start for /dev/disk/by-id/scsi-36005076b074b2b7f4a7d5f5700000009 on /etc/xen/images
Filesystem resource start succeeded
crmd: : info: process_lrm_event: LRM operation fs:1_start_0 (call=11, rc=0, cib-update=20, confirmed=true) complete ok
Monitor of Filesystem resource failure
crmd: : info: process_lrm_event: LRM operation fs:1_monitor_20000 (call=12, rc=-2, cib-update=0,
confirmed=true) Cancelled unknown exec error
It is also viable to see errors like that the Filesystem is mounted and that dmesg should be checked
lrmd: : info: RA output: (fs:1:start:stderr) Device or resource busy while mounting /dev/dm-0 on /etc/xen/images. Check 'dmesg' for more information on this error.
this is the case if you did a cleanup on the resource and is secondary to the above mentioned error.
ls -ld /etc/xen/images
lrwxrwxrwx 1 root root 12 Aug 15 03:53 /etc/xen/images -> /var/lib/xen/images
the directory attribute selected was
while the cluster mounts the device to the directory the Operating system follows the symlink, so in /etc/mtab is
Then after the mount, that succeeds and can be seen in the log files, the cluster does a monitor check which is configured by default. The monitor now checks /etc/mtab for the entry from the directory attribute, which is in this example /etc/xen/vm/images. But the Operating System followed the symlink so in /etc/mtab there is only /var/lib/xen/images. So the monitor fails.
/dev/dm-0 /var/lib/xen/images ocfs2 rw,_netdev,cluster_stack=pcmk 0 0
This can result in the node being fenced.
The solution to this is not to use any symlink in the Filesystem attributes.
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:7004243
- Creation Date: 20-Aug-2009
- Modified Date:28-Sep-2022
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com