[问题描述]:部署DRBD分布式块设备存储服务器时,启动服务报错:Can not load the drbd module. [root@qibo-anck014-an23-g6r-1 ~]# systemctl status drbd ○ drbd.service - DRBD -- please disable. Unless you are NOT using a cluster manager. Loaded: loaded (/usr/lib/systemd/system/drbd.service; disabled; preset: disabled) Active: inactive (dead) [root@qibo-anck014-an23-g6r-1 ~]# systemctl start drbd Job for drbd.service failed because the control process exited with error code. See "systemctl status drbd.service" and "journalctl -xeu drbd.service" for details. [root@qibo-anck014-an23-g6r-1 ~]# lsmod | grep drbd [root@qibo-anck014-an23-g6r-1 ~]# yum list | grep drbd drbd.aarch64 drbd-udev.aarch64 drbd-utils.aarch64 collectd-drbd.aarch64 drbd-bash-completion.aarch64 drbd-pacemaker.aarch64 drbd-rgmanager.aarch64 drbdlinks.noarch [环境信息]: 机器类型:ECS [内核信息]: [root@qibo-anck014-an23-g6r-1 ~]# uname -r 5.10.134-14_rc2.1.an23.aarch64 [操作系统信息]: [root@qibo-anck014-an23-g6r-1 ~]# uname -r 5.10.134-14_rc2.1.an23.aarch64 [root@qibo-anck014-an23-g6r-1 ~]# cat /etc/os-release NAME="Anolis OS" VERSION="23" ID="anolis" VERSION_ID="23" PLATFORM_ID="platform:an23" PRETTY_NAME="Anolis OS 23" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" BUG_REPORT_URL="https://bugzilla.openanolis.cn/" [问题发生概率]:必现 [复现步骤]: 1、执行yum install drbd drbd-utils -y,安装drbd 2、执行systemctl restart drbd启动服务
[root@qibo-anck014-an23-g6r-1 ~]# journalctl -xeu drbd.service Mar 23 11:42:52 qibo-anck014-an23-g6r-1 systemd[1]: Starting drbd.service - DRBD -- please disable. Unless you are NOT using a cluster manager.... ░░ Subject: A start job for unit drbd.service has begun execution ░░ Defined-By: systemd ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ ░░ A start job for unit drbd.service has begun execution. ░░ ░░ The job identifier is 617946. Mar 23 11:42:52 qibo-anck014-an23-g6r-1 drbd[838635]: Can not load the drbd module. Mar 23 11:42:52 qibo-anck014-an23-g6r-1 systemd[1]: drbd.service: Main process exited, code=exited, status=5/NOTINSTALLED ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ ░░ An ExecStart= process belonging to unit drbd.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 5. Mar 23 11:42:52 qibo-anck014-an23-g6r-1 systemd[1]: drbd.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ ░░ The unit drbd.service has entered the 'failed' state with result 'exit-code'. Mar 23 11:42:52 qibo-anck014-an23-g6r-1 systemd[1]: Failed to start drbd.service - DRBD -- please disable. Unless you are NOT using a cluster manager.. ░░ Subject: A start job for unit drbd.service has failed ░░ Defined-By: systemd ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ ░░ A start job for unit drbd.service has finished with a failure. ░░ ░░ The job identifier is 617946 and the job result is failed.
Anolis OS 23还没有提供drbd,repo源上也没有组件。 这个测试场景使用的是什么源安装的包?
(In reply to xuchunmei from comment #2) > Anolis OS 23还没有提供drbd,repo源上也没有组件。 > 这个测试场景使用的是什么源安装的包? 前几天的时候build源是有drbd的包以及corosync、pacemaker、zookeeper等其他高可用服务包,现在好像被删除了。
暂不提供drbd组件。