[DRBD-user] Newbie Question

Allen Chen allen.chen at csagroupllc.com
Thu Nov 6 15:44:05 CET 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


I am new to drbd, but it seems like something I'd like to use.

I'm not sure where I should have found info about this so I hope this is
the place...

>From the tutorial:

resource r0 { 
  on alice {
    device    /dev/drbd1;
    disk      /dev/sda7;
    meta-disk internal;

How do I decide what the disk is? Is this something I have to decide and set during 
partition and install of the OS? Right now I have two servers with 2 hard drives each.
I would like one server to be development server and one to be database server, each using
one hard disk. The remaining two hard disks would be the drbd 'backup' of the other, and 
cross the servers so the backups would be on different servers. Hence one server would be 
primary development/secondary database, while the other one is primary database/secondary development.
I am running Red Hat EL 5.2. While partitioning I set a partition /backup for the secondary disk,
with the intention that /backup is where the secondary drbd image goes. 

Did I do this right? Is it feasible to cross the servers, cause I could also just have one server
run primary for both development and database while the other one is only secondary. If I could
do this how do I set the disk during partition?

Sorry for the run of questions...I dont really ahve a good idea of how drbd works yet...


More information about the drbd-user mailing list