My Favorites

Close

Please to see your favorites.

  • Bookmark
  • Email Document
  • Printer Friendly
  • Favorite
  • Rating:

OCFS2 File System Resource Fails in HA2 Cluster

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

Environment

Novell SUSE Linux Enterprise Server 10 (SLES)
High Availability Release 2 (HA2)
Heartbeat
Oracle Cluster File System Release 2 (OCFS2)

Situation

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 NetIQ/Novell/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-07
  • Modified Date:27-APR-12
    • SUSESUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback

< Back to Support Search

SUSE Support Forums

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

Join Our Community

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.


SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

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

Go to Customer Center