[DRBD-user] Adding Second Replicated Disk to DRBD 9.0

Bryan K. Walton bwalton+1539795345 at leepfrog.com
Tue Aug 24 19:54:08 CEST 2021


I have a working DRBD system, with DRBD 9.0 where a block device 
(/dev/sda5) is being replicated between two storage servers.
Now, I've added a second block device (/dev/sdb1) to each of these
storage servers.  In my r0.res, I have, amongst other configurations:

        on storage1 {
                disk /dev/sda5;
                address   192.168.0.2:7789;
        }

        on storage2 {
                disk /dev/sda5;
                address   192.168.0.3:7789;
        }


To add this second block device, should I change the above to this:

        on storage1 {
                disk /dev/sda5;
		disk /dev/sdb1;
                address   192.168.0.2:7789;
        }

        on storage2 {
                disk /dev/sda5;
		disk /dev/sdb1;
                address   192.168.0.3:7789;
        }


Or should I create a new resource file for just /dev/sdb1?

Thanks,
Bryan


More information about the drbd-user mailing list