Bobcares

OCFS2 Partition fails to mount | Resolved

by | Jan 2, 2023

Wondering how to resolve OCFS2 Partition fails to mount ? Our server management services team is here to lend a hand with your queries and issues.

How to resolve OCFS2 Partition fails to mount ?

ocfs2(8) transparently appends this option during mount.

However, users mounting the volume via /etc/fstab must explicitly specify this mount option to delay the system from mounting the volume until after the network has been enabled.

Basically, 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

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 mount on the nodes again.

Today, let us see the methods followed by our Support techs to resolve OCFS2 Partition fails:

Method 1: Command line using fsck.ocfs2

1. Firstly, make sure the filesystem resource if offline.
2. Then, 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. Firstly, make sure the filesystem resource if offline.
2. Then, unmount the filesystem resource.
3. Next, run ocfs2console and highlight the file system resource.
4. Click on Tasks, then Repair.

[Need help with another issue? We’re available 24/7.]

Conclusion

The article provides a brief note from our Support team on how to resolve OCFS2 Partition fails to mount.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.