SUSE Support

Here When You Need Us

OCFS2 File System Resource Fails in HA2 Cluster

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

Environment

SUSE Linux Enterprise Server 10
 

Situation

High Availability Release 2 (HA2) and Heartbeat

An OCFS2 file system is created as an HA2 cluster resource. However, the resource goes unmanaged and won't activate or mount the file system. The following errors were observed:

Filesystem[13751]: [13776]: INFO: 945791A78B0642C9B5AA7CE5FDBAD746: Activating node: nts123
lrmd: [3330]: info: RA output: (imgst:0:start:stderr) ln:
lrmd: [3330]: info: RA output: (imgst:0:start:stderr) creating symbolic link `/sys/kernel/config/cluster/ocfs2/heartbeat/945791A78B0642C9B5AA7CE5FDBAD746/nts123' to `/sys/kernel/config/cluster/ocfs2/node/nts123'
lrmd: [3330]: info: RA output: (imgst:0:start:stderr) : No such file or directory
lrmd: [3330]: info: RA output: (imgst:0:start:stderr)
Filesystem[13751]: [13778]: ERROR: /sys/kernel/config/cluster/ocfs2/node/nts123: failed to link

A directory listing shows the following:

# ls -l /sys/kernel/config/cluster/ocfs2/node/
total 0
drwxr-xr-x 2 root root 0 Aug 8 13:58 NTS123
drwxr-xr-x 2 root root 0 Aug 8 13:58 NTS124
drwxr-xr-x 2 root root 0 Aug 8 13:58 NTS126
 

Resolution

Change the node names to lowercase.

1. Edit /etc/ocfs2/cluster.conf on all nodes
2. Change the nodes names from mixed or uppercase to all lowercase
For example, change from

name = NTS123

to

name = nts123

3. Reboot all nodes

Additional Information

Heartbeat is looking for node names in lowercase. When creating an OCFS2 cluster with ocfs2console, you add nodes by typing in the node name. If you use upper or mixed case node names, it will cause this issue. Make sure you only use lowercase node names.

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:3243891
  • Creation Date: 08-Aug-2007
  • Modified Date:15-Mar-2021
    • SUSE Linux Enterprise Server

< 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.