SUSE Support

Here When You Need Us

OCFS2 Partition Fails to Mount with No Free Slots Error

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

Environment

SUSE Linux Enterprise Server 11 (SLES11)
SUSE Linux Enterprise High Availability Extension 11 (HAE)
Oracle Cluster File System (OCFS2)

Situation

When trying to mount an OCFS2 partition, it will not mount properly. The /var/log/messages reports the following:

kernel: (6363,0):ocfs2_find_slot:496 ERROR: no free slots available!
kernel: (6363,0):ocfs2_mount_volume:1591 ERROR: status = -22

Resolution

The OCFS2 filesystem resource has been marked "dirty". A filesystem check using fsck.ocfs2 or ocfs2console will clean out the node flag in the filesystem journal, and allow the system to be mounted on the nodes again. There are two ways to perform a filesystem check.

Method 1: Command line using fsck.ocfs2

1. Make sure the filesystem resource if offline.
2. Unmount the filesystem resource.
3. Run fsck.ocfs2 to clean up the node flags.

HAE1:~ # fsck.ocfs2 /dev/sdb1

Checking OCFS2 filesystem in /dev/sdb1:
  label:              <NONE>
  uuid:               41 a4 d9 dc f7 b8 46 35 93 60 3a 9b 4b 25 52 ee
  number of blocks:   10482412
  bytes per block:    4096
  number of clusters: 10482412
  bytes per cluster:  4096
  max slots:          2

/dev/sdb1 is clean.  It will be checked after 20 additional mounts.
Slot 0's journal dirty flag removed
Slot 1's journal dirty flag removed

Method 2: Graphical using ocfs2console

1. Make sure the filesystem resource if offline.
2. Unmount the filesystem resource.
3. Run ocfs2console and highlight the file system resource.
4. Click on Tasks, then Repair.



Additional Information

If you have difficulties running a filesystem check, refer to TID7005238 - Cannot Perform a Filesystem Check on OCFS2

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:7005236
  • Creation Date: 27-Jan-2010
  • Modified Date:03-Mar-2020
    • 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.