Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #186994
| From | Roman Serbski <r.serbski.groups@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: o2cb/ocfs2 : cluster is offline after reboot |
| Date | 2017-09-19 11:30 +0200 |
| Message-ID | <urn0S-2tM-11@gated-at.bofh.it> (permalink) |
| References | <ur3Oz-6q3-29@gated-at.bofh.it> <ur75L-b2-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Sep 18, 2017 at 6:18 PM, Sven Hartge <sven@svenhartge.de> wrote: > Roman Serbski <r.serbski.groups@gmail.com> wrote: > >> /etc/fstab > >> ### >> /dev/drbd0 /var/www ocfs2 noauto,noatime 0 0 >> ### > >> After the reboot, no /var/www is mounted. > > Missing "_netdev"? Thank you. Tried that -- no difference. >> The status of both o2cb and ocfs2 services is inactive (dead) with the >> ocfs2 cluster offline: > >> $ service o2cb status >> o2cb.service - LSB: Load O2CB cluster services at system boot. >> Loaded: loaded (/etc/init.d/o2cb; generated; vendor preset: enabled) >> Active: inactive (dead) >> Docs: man:systemd-sysv-generator(8) > >> $ service ocfs2 status >> ocfs2.service - LSB: Mount OCFS2 volumes at boot. >> Loaded: loaded (/etc/init.d/ocfs2; generated; vendor preset: enabled) >> Active: inactive (dead) >> Docs: man:systemd-sysv-generator(8) > > Maybe o2cb and ocfs2 need to be ordered after network-online.target? I thought about it too, but according to /etc/init.d/o2cb and /etc/init.d/ocfs2 they seem to start after $network: #!/bin/bash # init fragment for O2CB. # # chkconfig: 2345 24 19 # description: Load O2CB cluster services at system boot. # ### BEGIN INIT INFO # Provides: o2cb # Required-Start: $network $local_fs # Required-Stop: $network $local_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Load O2CB cluster services at system boot. # Description: Load O2CB cluster services at system boot. ### END INIT INFO #! /bin/bash # Copyright (c) 2005 Oracle # All rights reserved. # # chkconfig: 2345 25 18 # description: Mount OCFS2 volumes at boot. # ### BEGIN INIT INFO # Provides: ocfs2 # Required-Start: $local_fs $network o2cb # Required-Stop: $local_fs $network o2cb # Should-Start: drbd iscsi multipath-tools # Should-Stop: drbd iscsi multipath-tools # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Mount OCFS2 volumes at boot. # Description: Mount OCFS2 volumes at boot. ### END INIT INFO > Any output after a failed boot from "journalctl -b -u o2cb.service" or > "journalctl -b -u ocfs2.service"? Nothing there: $ journalctl -b -u o2cb.service -- Logs begin at Tue 2017-09-19 10:13:16 CEST, end at Tue 2017-09-19 11:17:01 CEST. -- -- No entries -- $ journalctl -b -u ocfs2.service -- Logs begin at Tue 2017-09-19 10:13:16 CEST, end at Tue 2017-09-19 11:17:01 CEST. -- -- No entries -- Thanks.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
o2cb/ocfs2 : cluster is offline after reboot Roman Serbski <r.serbski.groups@gmail.com> - 2017-09-18 15:00 +0200
Re: o2cb/ocfs2 : cluster is offline after reboot Sven Hartge <sven@svenhartge.de> - 2017-09-18 18:30 +0200
Re: o2cb/ocfs2 : cluster is offline after reboot Roman Serbski <r.serbski.groups@gmail.com> - 2017-09-19 11:30 +0200
Re: o2cb/ocfs2 : cluster is offline after reboot Roman Serbski <r.serbski.groups@gmail.com> - 2017-09-19 13:50 +0200
Re: o2cb/ocfs2 : cluster is offline after reboot Sven Hartge <sven@svenhartge.de> - 2017-09-19 15:00 +0200
csiph-web