[olug] DRBD - Multiple Partitions / Devices

Curtis LaMasters curtislamasters at gmail.com
Thu Sep 3 15:22:32 UTC 2009


Does anyone know how to replicate multiple devices with DRBD?

My initial thought was to do this:

on server1 {
   device     /dev/drbd0
   disk        /dev/sda6
   address  192.168.100.1:7788
   meta-disk internal;
}
on server2 {
   device     /dev/drbd0
   disk        /dev/sda6
   address  192.168.100.2:7788
   meta-disk internal;
}
on server1 {
   device     /dev/drbd1
   disk        /dev/sdb1
   address  192.168.100.1:7788
   meta-disk internal;
}
on server2 {
   device     /dev/drbd1
   disk        /dev/sdb1
   address  192.168.100.2:7788
   meta-disk internal;
}

Do I leave the :PORT the same or does that need to change per DRBD device?

Curtis LaMasters
http://www.curtis-lamasters.com
http://www.builtnetworks.com



More information about the OLUG mailing list