Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #187001

Re: o2cb/ocfs2 : cluster is offline after reboot

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 13:50 +0200
Message-ID <urpcm-4Vk-31@gated-at.bofh.it> (permalink)
References <ur3Oz-6q3-29@gated-at.bofh.it> <ur75L-b2-23@gated-at.bofh.it> <urn0S-2tM-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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!

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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