我精确地按照这些说明(我已经从头开始使用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.
创build一个卷(两个版本)250GB卷,附加为/ dev / xvdm
这是我的configuration文件:
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的帮助,我做了一个search,发现这个,这是有效的。
$ sudo apt-get install linux-image-extra-virtual $ sudo depmod -a $ sudo modprobe drbd
引用: http : //www.mail-archive.com/[email protected]/msg00588.html