[Debian-ha-maintainers] Bug#939395: Bug#939395: ocfs2-tools - FS can't mount at boot on drbd device

Valentin Vidić vvidic at valentin-vidic.from.hr
Wed Sep 4 18:42:46 BST 2019


On Wed, Sep 04, 2019 at 03:28:51PM +0200, Ervin Hegedüs wrote:
> Status of services after reboot:
> 
> # systemctl status drbd.mount
> ● drbd.mount - /drbd
>    Loaded: loaded (/etc/fstab; generated)
>    Active: failed (Result: exit-code) since Wed 2019-09-04 15:13:49 CEST; 16s ago
>     Where: /drbd
>      What: /dev/drbd0
>      Docs: man:fstab(5)
>            man:systemd-fstab-generator(8)
> 
> Sep t 04 15:13:49 t2app1 systemd[1]: Mounting /drbd...
> Sep t 04 15:13:49 t2app1 mount[720]: mount.ocfs2: I/O error on channel while opening device /dev/drbd0
> Sep t 04 15:13:49 t2app1 systemd[1]: drbd.mount: Mount process exited, code=exited, status=1/FAILURE
> Sep t 04 15:13:49 t2app1 systemd[1]: drbd.mount: Failed with result 'exit-code'.
> Sep t 04 15:13:49 t2app1 systemd[1]: Failed to mount /drbd.

You might want to try configuring systemd to start the
services sequentially (Requires+After):

1. drbd.service
2. o2cb.service
3. ocfs2.service or drbd.mount (they both try to mount).

-- 
Valentin



More information about the Debian-ha-maintainers mailing list