SUSE Support

Here When You Need Us

OCFS2 File System Hanging or Mounting Read Only

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

Environment

SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 10
SUSE Linux Enterprise High Availability Extension (HAE)

Situation

The OCFS2 file system hangs on each member of the HAE cluster. The following error has been recorded in the /var/log/messages system log file.

kernel BUG at /usr/src/packages/BUILD/ocfs2-1.4/default/ocfs2/heartbeat.c:67

Checking OCFS2 meta data shows a checksum error.

# debugfs.ocfs2 -n -R "stats" /dev/ocfs2_device

        CRC32: fafec4ec   ECC: 09e7
        **FAILED CHECKSUM** Computed CRC32: b19eb0fb   ECC: 0d4e

The file system mounts read only, when it is expected to mount read/write.


Resolution

The OCFS2 file system is damaged and requires a file system check. The file system will need to be unmounted before a successful file system check can be performed. Do the following to check the file system:

1. Back up all your file system data if you can.
2. Unmount the OCFS2 file system by stopping the HAE resource associated with the OCFS2 file system. If the file system is not a part an HAE cluster, then simply umount the device. You CANNOT run a fsck.ocfs2 on a mounted OCFS2 file system. It will damage it.
3. Run a file system check.

# fsck.ocfs2 -f /dev/ocfs2_device

4. If the fsck.ocfs2 command reports errors, repeat the file system check until there are no errors.
5. Start the cluster file system resource to mount the OCFS2 file system, and retest.
* The file system should mount read/write
* The debugfs.ocfs2 command should not have any **FAILED CHECKSUM** errors

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:7008776
  • Creation Date: 09-Jun-2011
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server
    • SUSE Linux Enterprise Real Time Extension

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