OCFS2 File System Hanging or Mounting Read Only
This document (7008776) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Server 10
SUSE Linux Enterprise High Availability Extension (HAE)
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.
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
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
For questions or concerns with the SUSE Knowledgebase please contact: firstname.lastname@example.org