加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – DRBD无法在Fresh AWS 64位Ubuntu 11.10上启动

发布时间:2020-12-14 03:05:08 所属栏目:Linux 来源:网络整理
导读:我精确地遵循了这些说明(我使用11.04和11.10从头开始使用AMI的相同结果) (使用11.04)社区AMI:ami-e016ca89 https://help.ubuntu.com/11.04/serverguide/C/drbd.html 和 (使用11.10)社区AMI:ami-baba68d3 https://help.ubuntu.com/11.10/serverguide/C/drbd
我精确地遵循了这些说明(我使用11.04和11.10从头开始使用AMI的相同结果)

(使用11.04)社区AMI:ami-e016ca89
https://help.ubuntu.com/11.04/serverguide/C/drbd.html

(使用11.10)社区AMI:ami-baba68d3
https://help.ubuntu.com/11.10/serverguide/C/drbd.html

启动过程时出现以下错误:

root@drbd01:~# sudo /etc/init.d/drbd start
 * Starting DRBD resources                                                                                            Can not load the drbd module.

创建了一个卷(在两个版本上)250gb卷,附加为/ dev / xvdm

这是我的配置文件:

global { usage-count no; }
common { syncer { rate 100M; } }
resource r0 {
        protocol C;
        startup {
                wfc-timeout  15;
                degr-wfc-timeout 60;
        }
        net {
                cram-hmac-alg sha1;
                shared-secret "secret";
        }
        on drbd01 {
                device /dev/drbd0;
                disk xvdm;
                address -MY AWS PUBLIC ELASTIC IP WAS HERE-:7788;
                meta-disk internal;
        }
        on drbd02 {
                device /dev/drbd0;
                disk /dev/xvdm;
                address -MY AWS PUBLIC ELASTIC IP WAS HERE-:7788;
                meta-disk internal;
        }
}

解决方法

在cyberx86的帮助下,我做了一个搜索并找到了这个,这是有效的.
$sudo apt-get install linux-image-extra-virtual
$sudo depmod -a
$sudo modprobe drbd

引用:http://www.mail-archive.com/ubuntu-cloud@lists.ubuntu.com/msg00588.html

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读