Umarzuki Mochlis
2015-Mar-16 04:19 UTC
[Ocfs2-users] What do I need so ocfs2 logical volume mounted during boot
Ubuntu 14.04 amd64 Logical volume fc drive /dev/webvg/weblv mounted on /var/www on 2 nodes. When booting up on any nodes when one node oc2b status 'online', booting up node will stuck at "drive for /var/www is not ready yet or present, press S to continue..." If I pressed S, it will be mounted and o2cb status wil be 'online'. Reading oracle knowledgebase, asking on irc, & googling tells me that this is related to boot sequence. Which services that must be put in sequence? How to proceed?
Umarzuki Mochlis
2015-Mar-16 10:30 UTC
[Ocfs2-users] What do I need so ocfs2 logical volume mounted during boot
below are log messages during boot after I had removed related entry in fstab and tartup scripts in /etc/rcS.d/ for ocfs2 & o2cb then I put "service start ocfs2" and "service start o2cb" before "exit 0" in /etc/rc.local if it may help shed some light Mar 16 17:56:21 web1 kernel: [ 18.058664] IPv6: ADDRCONF(NETDEV_CHANGE): em3: link becomes ready Mar 16 17:56:21 web1 kernel: [ 18.124772] init: failsafe main process (2782) killed by TERM signal Mar 16 17:56:21 web1 acpid: starting up with netlink and the input layer Mar 16 17:56:21 web1 cron[3047]: (CRON) INFO (pidfile fd = 3) Mar 16 17:56:21 web1 cron[3095]: (CRON) STARTUP (fork ok) Mar 16 17:56:21 web1 acpid: 1 rule loaded Mar 16 17:56:21 web1 acpid: waiting for events: event logging is off Mar 16 17:56:21 web1 cron[3095]: (CRON) INFO (Running @reboot jobs) Mar 16 17:56:21 web1 kernel: [ 18.423006] multipathd (3137): /proc/3137/oom_adj is deprecated, please use /proc/3137/oom_score_adj instead. Mar 16 17:56:21 web1 multipathd: mpath1: event checker started Mar 16 17:56:21 web1 multipathd: path checkers start up Mar 16 17:56:22 web1 kernel: [ 19.238293] OCFS2 Node Manager 1.5.0 Mar 16 17:56:22 web1 kernel: [ 19.247210] OCFS2 DLM 1.5.0 Mar 16 17:56:22 web1 kernel: [ 19.253071] ocfs2: Registered cluster interface o2cb Mar 16 17:56:22 web1 kernel: [ 19.264815] OCFS2 DLMFS 1.5.0 Mar 16 17:56:22 web1 kernel: [ 19.264925] OCFS2 User DLM kernel interface loaded Mar 16 17:56:22 web1 kernel: [ 19.348116] init: plymouth-upstart-bridge main process ended, respawning Mar 16 17:56:58 web1 ntpdate[2230]: Can't find host ntp.ubuntu.com: Name or service not known (-2) Mar 16 17:56:58 web1 ntpdate[2230]: no servers can be used, exiting Mar 16 17:57:19 web1 ntpdate[3437]: no server suitable for synchronization found Mar 16 17:56:21 web1 kernel: [ 17.656826] systemd-udevd[2675]: failed to execute '/lib/udev/socket:/org/kernel/dm/multipath_event' 'socket:/org/kernel/dm/multipath_event': No such file or directory Mar 16 17:56:21 web1 kernel: [ 17.657857] systemd-udevd[2680]: failed to execute '/lib/udev/socket:/org/kernel/dm/multipath_event' 'socket:/org/kernel/dm/multipath_event': No such file or directory Mar 16 17:56:21 web1 kernel: [ 17.658205] systemd-udevd[2681]: failed to execute '/lib/udev/socket:/org/kernel/dm/multipath_event' 'socket:/org/kernel/dm/multipath_event': No such file or directory Mar 16 17:56:21 web1 kernel: [ 17.658590] systemd-udevd[2677]: failed to execute '/lib/udev/socket:/org/kernel/dm/multipath_event' 'socket:/org/kernel/dm/multipath_event': No such file or directory Mar 16 17:56:21 web1 kernel: [ 17.659434] systemd-udevd[2691]: failed to execute '/lib/udev/socket:/org/kernel/dm/multipath_event' 'socket:/org/kernel/dm/multipath_event': No such file or directory Mar 16 17:56:21 web1 kernel: [ 17.660233] systemd-udevd[2689]: failed to execute '/lib/udev/socket:/org/kernel/dm/multipath_event' 'socket:/org/kernel/dm/multipath_event': No such file or directory Mar 16 17:56:21 web1 failsafe: Failsafe of 120 seconds reached. Mar 16 17:56:21 web1 kernel: [ 18.058447] igb: em3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX Mar 16 17:56:21 web1 kernel: [ 18.058664] IPv6: ADDRCONF(NETDEV_CHANGE): em3: link becomes ready Mar 16 17:56:21 web1 kernel: [ 18.124772] init: failsafe main process (2782) killed by TERM signal Mar 16 17:56:21 web1 acpid: starting up with netlink and the input layer Mar 16 17:56:21 web1 cron[3047]: (CRON) INFO (pidfile fd = 3) Mar 16 17:56:21 web1 cron[3095]: (CRON) STARTUP (fork ok) Mar 16 17:56:21 web1 acpid: 1 rule loaded Mar 16 17:56:21 web1 acpid: waiting for events: event logging is off Mar 16 17:56:21 web1 cron[3095]: (CRON) INFO (Running @reboot jobs) Mar 16 17:56:21 web1 kernel: [ 18.423006] multipathd (3137): /proc/3137/oom_adj is deprecated, please use /proc/3137/oom_score_adj instead. Mar 16 17:56:21 web1 multipathd: mpath1: event checker started Mar 16 17:56:21 web1 multipathd: path checkers start up Mar 16 17:56:22 web1 kernel: [ 19.238293] OCFS2 Node Manager 1.5.0 Mar 16 17:56:22 web1 kernel: [ 19.247210] OCFS2 DLM 1.5.0 Mar 16 17:56:22 web1 kernel: [ 19.253071] ocfs2: Registered cluster interface o2cb Mar 16 17:56:22 web1 kernel: [ 19.264815] OCFS2 DLMFS 1.5.0 Mar 16 17:56:22 web1 kernel: [ 19.264925] OCFS2 User DLM kernel interface loaded Mar 16 17:56:22 web1 kernel: [ 19.348116] init: plymouth-upstart-bridge main process ended, respawning Mar 16 17:56:58 web1 ntpdate[2230]: Can't find host ntp.ubuntu.com: Name or service not known (-2) Mar 16 17:56:58 web1 ntpdate[2230]: no servers can be used, exiting Mar 16 17:57:19 web1 ntpdate[3437]: no server suitable for synchronization found 2015-03-16 12:19 GMT+08:00 Umarzuki Mochlis <umarzuki at gmail.com>:> Ubuntu 14.04 amd64 > > Logical volume fc drive /dev/webvg/weblv mounted on /var/www on 2 nodes. > > When booting up on any nodes when one node oc2b status 'online', > booting up node will stuck at "drive for /var/www is not ready yet or > present, press S to continue..." > > If I pressed S, it will be mounted and o2cb status wil be 'online'. > > Reading oracle knowledgebase, asking on irc, & googling tells me that > this is related to boot sequence. > > Which services that must be put in sequence? How to proceed?