Hi,
I have installed OEL 7.1 as guest OS within Oracle VM 3.3.3. I am facing issue to mount ocfs2 volume after reboot. the mount entry has been added to fstab and services are enabled during startup of OS, each time I have to start ocfs2 and then restart o2cb to mount ocfs volume.
The steps performed before reboot guest os
- systemctl enable ocfs2.service
- systemctl enable o2cb.service
- /dev/xvdc /mnt ocfs2 _netdev,datavolume,nointr 0 0
After reboot it doesn't mount the volume. if I try to start ocfs2 service using systemctl there is not output. (no fail/success)
[root@w1 ~]# systemctl start ocfs2.service
whereas the status displays for the service
[root@w1 ~]# systemctl status ocfs2.service
ocfs2.service - Load ocfs2 Modules
Loaded: loaded (/usr/lib/systemd/system/ocfs2.service; enabled)
Active: active (exited) since Sat 2015-12-12 08:16:29 AST; 18min ago
Main PID: 643 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/ocfs2.service
Dec 12 08:16:28 w1.pbad.sbg.com.sa service[643]: Starting Oracle Cluster File System (OCFS2) mount.ocfs2: Unable to access cluster service while trying initialize cluster
Dec 12 08:16:28 w1.pbad.sbg.com.sa service[643]: [ OK ]
Dec 12 08:16:29 w1.pbad.sbg.com.sa systemd[1]: Started Load ocfs2 Modules.
Dec 12 08:34:48 w1.pbad.sbg.com.sa systemd[1]: Started Load ocfs2 Modules.
To solve this problem I have to perform manually the following,
[root@w1 ~]# service ocfs2 start
Starting ocfs2 (via systemctl): [ OK ]
[root@w1 ~]# service o2cb restart
[root@w1 ~]# mount -a
Is there any way to solve this issue.
thanks,