Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Thu, May 24, 2012 at 1:25 PM, Tero Mäntyvaara <termant at gmail.com> wrote:
> I was reading document
> https://help.ubuntu.com/10.04/serverguide/drbd.html. Would the following
> configuration be correct with two disks?
>
> |/etc/drbd.conf|:
> resource r0 {
> volume 0 {
> device /dev/drbd1;
> disk /dev/sdb1;
> meta-disk internal;
> }
> volume 1 {
> device /dev/drbd2;
> disk /dev/sdb2;
> meta-disk internal;
> }
>
> on drbd01 {
> address 192.168.0.1:7788;
> }
> on drbd02 {
> address 192.168.0.2:7788;
> }
> }
That looks fine; take a look at
http://www.drbd.org/users-guide/s-configure-resource.html#s-drbdconf-example
in the example titled "Multi-volume DRBD resource configuration".
Do recall, however, that multiple volumes per resource are a DRBD 8.4
feature. So if you're actually trying to do this on Ubuntu lucid,
you'll have to make sure you install 8.4 before attempting this.
Cheers,
Florian
--
Need help with High Availability?
http://www.hastexo.com/now