微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

我精确地遵循了这些说明(我使用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

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐