Re: o2cb/ocfs2 : cluster is offline after reboot
On Tue, Sep 19, 2017 at 11:25 AM, Roman Serbski
<r.serbski.groups@gmail.com> wrote:
> On Mon, Sep 18, 2017 at 6:18 PM, Sven Hartge <sven@svenhartge.de> wrote:
>> Roman Serbski <r.serbski.groups@gmail.com> wrote:
>>
>> 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:
Nailed it!
update-rc.d -f o2cb remove
update-rc.d -f ocfs2 remove
update-rc.d o2cb defaults
update-rc.d ocfs2 defaults
did the trick. Perhaps this is a leftover from Jessie...
Before:
$ ls -al /etc/rc*.d/*o2cb
lrwxrwxrwx 1 root root 14 Sep 10 15:08 /etc/rc0.d/K02o2cb -> ../init.d/o2cb
lrwxrwxrwx 1 root root 14 Sep 10 15:08 /etc/rc6.d/K02o2cb -> ../init.d/o2cb
lrwxrwxrwx 1 root root 14 Sep 10 15:06 /etc/rcS.d/S13o2cb -> ../init.d/o2cb
$ ls -al /etc/rc*.d/*ocfs2
lrwxrwxrwx 1 root root 15 Sep 10 15:08 /etc/rc0.d/K01ocfs2 -> ../init.d/ocfs2
lrwxrwxrwx 1 root root 15 Sep 10 15:08 /etc/rc6.d/K01ocfs2 -> ../init.d/ocfs2
lrwxrwxrwx 1 root root 15 Sep 10 15:06 /etc/rcS.d/S14ocfs2 -> ../init.d/ocfs2
After:
$ ls -al /etc/rc*.d/*o2cb
lrwxrwxrwx 1 root root 14 Sep 19 12:53 /etc/rc0.d/K02o2cb -> ../init.d/o2cb
lrwxrwxrwx 1 root root 14 Sep 19 12:53 /etc/rc1.d/K02o2cb -> ../init.d/o2cb
lrwxrwxrwx 1 root root 14 Sep 19 12:53 /etc/rc2.d/S02o2cb -> ../init.d/o2cb
lrwxrwxrwx 1 root root 14 Sep 19 12:53 /etc/rc3.d/S02o2cb -> ../init.d/o2cb
lrwxrwxrwx 1 root root 14 Sep 19 12:53 /etc/rc4.d/S02o2cb -> ../init.d/o2cb
lrwxrwxrwx 1 root root 14 Sep 19 12:53 /etc/rc5.d/S02o2cb -> ../init.d/o2cb
lrwxrwxrwx 1 root root 14 Sep 19 12:53 /etc/rc6.d/K02o2cb -> ../init.d/o2cb
$ ls -al /etc/rc*.d/*ocfs2
lrwxrwxrwx 1 root root 15 Sep 19 12:55 /etc/rc0.d/K01ocfs2 -> ../init.d/ocfs2
lrwxrwxrwx 1 root root 15 Sep 19 12:55 /etc/rc1.d/K01ocfs2 -> ../init.d/ocfs2
lrwxrwxrwx 1 root root 15 Sep 19 12:55 /etc/rc2.d/S05ocfs2 -> ../init.d/ocfs2
lrwxrwxrwx 1 root root 15 Sep 19 12:55 /etc/rc3.d/S05ocfs2 -> ../init.d/ocfs2
lrwxrwxrwx 1 root root 15 Sep 19 12:55 /etc/rc4.d/S05ocfs2 -> ../init.d/ocfs2
lrwxrwxrwx 1 root root 15 Sep 19 12:55 /etc/rc5.d/S05ocfs2 -> ../init.d/ocfs2
lrwxrwxrwx 1 root root 15 Sep 19 12:55 /etc/rc6.d/K01ocfs2 -> ../init.d/ocfs2
Thanks for pointing out the right direction!
Reply to: