My Oracle Support Banner

OCFS2 Volume Mount Error From Systemd During Boot, Yet Partition Gets Mounted (Doc ID 2400390.1)

Last updated on AUGUST 04, 2018

Applies to:

Linux OS - Version Oracle Linux 7.0 and later
Linux x86-64

Symptoms

The /var/log/messages recorded following OCFS2 volume mount errors during Linux booting process.

The detailed error messages include:

- systemd: Failed to mount xxx
- Dependency failed for Remote File Systems
- systemd: Job remote-fs.target/start failed with result 'dependency'."

 

# cat /var/log/messages
Mar 22 18:44:16 localhost xinetd[1119]: Started working: 1 available service
Mar 22 18:44:16 localhost kernel: OCFS2 DLM 1.8.0
Mar 22 18:44:16 localhost o2cb.init: Loading stack plugin "o2cb": OK
Mar 22 18:44:16 localhost kernel: ocfs2: Registered cluster interface o2cb
Mar 22 18:44:16 localhost o2cb.init: Loading filesystem "ocfs2_dlmfs": OK
Mar 22 18:44:16 localhost kernel: OCFS2 DLMFS 1.8.0
Mar 22 18:44:16 localhost kernel: OCFS2 User DLM kernel interface loaded
Mar 22 18:44:16 localhost o2cb.init: Mounting ocfs2_dlmfs filesystem at /dlm: OK
Mar 22 18:44:16 localhost o2cb.init: Setting cluster stack "o2cb": OK
Mar 22 18:44:16 localhost kernel: OCFS2 1.8.0
Mar 22 18:44:16 localhost mount: mount.ocfs2: Cluster name is invalid while trying to join the group
Mar 22 18:44:16 localhost systemd: shared.mount mount process exited, code=exited status=1
Mar 22 18:44:16 localhost systemd: Failed to mount /shared.
Mar 22 18:44:16 localhost systemd: Dependency failed for Remote File Systems.
Mar 22 18:44:16 localhost systemd: Job remote-fs.target/start failed with result 'dependency'.
Mar 22 18:44:16 localhost systemd: Unit shared.mount entered failed state.
Mar 22 18:44:16 localhost systemd: Starting LSB: Starts the Spacewalk Daemon...
Mar 22 18:44:16 localhost systemd: Starting Permit User Sessions...
Mar 22 18:44:16 localhost systemd: Starting Crash recovery kernel arming...
Mar 22 18:44:16 localhost systemd: Started Permit User Sessions.
Mar 22 18:44:16 localhost systemd: Starting Wait for Plymouth Boot Screen to Quit...
Mar 22 18:44:16 localhost o2cb.init: Registering O2CB cluster "slice12test": OK
Mar 22 18:44:16 localhost kernel: o2hb: Heartbeat mode set to local
Mar 22 18:44:16 localhost o2cb.init: Setting O2CB cluster timeouts : OK
Mar 22 18:44:16 localhost systemd: Started Command Scheduler.
Mar 22 18:44:16 localhost rhnsd: Starting Spacewalk Daemon: [ OK ]
Mar 22 18:44:16 localhost systemd: Starting Command Scheduler...
Mar 22 18:44:16 localhost systemd: Starting Terminate Plymouth Boot Screen...
Mar 22 18:44:16 localhost rhnsd[1225]: Spacewalk Services Daemon starting up, check in interval 240 minutes.
Mar 22 18:44:16 localhost o2hbmonitor: Starting
Mar 22 18:44:16 localhost systemd: Started Job spooling tools.
Mar 22 18:44:16 localhost systemd: Starting Job spooling tools...
Mar 22 18:44:16 localhost systemd: Received SIGRTMIN+21 from PID 242 (plymouthd).
Mar 22 18:44:16 localhost systemd: Started Load o2cb Modules.
Mar 22 18:44:16 localhost systemd: Started LSB: Starts the Spacewalk Daemon.
Mar 22 18:44:16 localhost systemd: Started Wait for Plymouth Boot Screen to Quit.
Mar 22 18:44:16 localhost systemd: Started Terminate Plymouth Boot Screen.
Mar 22 18:44:16 localhost systemd: Reloading.
Mar 22 18:44:16 localhost systemd: Started Getty on tty1.
Mar 22 18:44:16 localhost systemd: Starting Getty on tty1...
Mar 22 18:44:16 localhost systemd: Reached target Login Prompts.
Mar 22 18:44:16 localhost systemd: Starting Login Prompts.
Mar 22 18:44:16 localhost systemd: Starting Load ocfs2 Modules...

 

However, the OCFS2 volume was successfully mounted. The above error messages are confusing.

# mount
/dev/sdg1 on /shared type ocfs2 (rw,relatime,_netdev,heartbeat=local,nointr,data=ordered,errors=remount-ro,atime_quantum=60,coherency=buffered,user_xattr,acl) [ocfs2_share]

 

# cat /etc/fstab
LABEL=ocfs2_share /shared ocfs2 _netdev 0 0

 

Also checked the ocfs2-tool version.

# cat installed-rpms |grep ocfs
ocfs2-tools-1.8.6-9.el7.x86_64 Fri Mar 16 12:08:18 2018

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.