[DRBD-user] DRBD

Mailhebuau Christophe admins at nerim.net
Mon Feb 13 14:45:57 CET 2006

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


Hi,

I've installed drbd on too machine, master and slave.

i recompiled source and install and load module are ok

i've this configuration on master and slave  :

<drbd.conf>
resource drbd-resource-0 {
protocol C;
incon-degr-cmd "halt -f"; # killall heartbeat would be a good alternative :->

 disk {
  on-io-error detach;
}
   syncer {
   rate 10M; # Note: 'M' is MegaBytes, not MegaBits
  }
        on RESURA-SDB1 {
        device    /dev/drbd0;
        disk      /dev/sda2;
        address   192.168.1.40:7789;
        meta-disk  internal;
  }
        on RESURA-SDB2 {
        device    /dev/drbd0;
        disk      /dev/sda2;
        address 192.168.1.50:7789;
        meta-disk internal;
  }
}
</drbd.conf>

I've start drbd on master an slave, run sucessfully.
on master i do mke2fs -j /dev/drbd0 an is ok (i ve create filesystem)

after i mount on master /dev/drdb0 /opt, and is ok

i do the modifications in /opt directory on master, example i made a
directory (mkdir directorytest)

I don't understand why the new directory on master not replicate on
slave when partition is mount (/dev/sda2 /opt)

On slave, I don't understand, when i umount and remount partition the
replication is ok.

I must do umount and remount everytimes ?

Can you help me ?

Best regards

-- 
Cordialement,
Christophe Mailhebuau http://www.justlinux.org
GPG: 1024D/75B07F8D: BD18 2D01 D954 A339 E35B 9EA1 4240 0410 75B0 7F8D




More information about the drbd-user mailing list