-1

Restarting my server get stalled , apparently because of the only one error I see with journalctl -xb

...
-- The start-up result is RESULT.
may 22 11:21:56 node01.urbina.biz kernel: random: crng init done
may 22 11:22:36 node01.urbina.biz systemd[1]: dev-drbd1.device: Job dev-drbd1.device/start timed ou
may 22 11:22:36 node01.urbina.biz systemd[1]: Timed out waiting for device dev-drbd1.device.
-- Subject: Unit dev-drbd1.device has faile
...

However, when I enter the emergency system ("Enter root password or hit Ctrl-D to continue) I see that the module drbd is loaded, but for some reason, my /dev/drbd1 device times out :( :( :(

4

1 回答 1

0

kereczman,我在一个新的回复中回答,因为我不知道如何在评论中发布可读的代码。

我唯一的设备设置:

resource r1 {
    protocol B;
    startup {
        wfc-timeout  15;
        degr-wfc-timeout 60;
    }
    net {
        cram-hmac-alg sha1;
        shared-secret "***********";
        max-buffers 4096;
        max-epoch-size 4096;
    }
    handlers {
        split-brain "/usr/lib/drbd/notify-split-brain.sh soporte@mydom.es";
    }

        on node01.urbina.biz {
                device /dev/drbd1;
                disk /dev/vdb1;
                address x.y.z.w:7799;
                meta-disk internal;
        }

        on failover.urbina-solutions.net {
                device /dev/drbd1;
                disk /dev/vdb1;
                address w.z.y.x:7799;
                meta-disk internal;
        }
}

并且错误消息是关于无法挂载drbd,好像该模块尚未加载,但确实如此。

于 2018-05-25T07:32:34.513 回答