Dears,
I use drbd in two machines connected


I
executed the comands in second node :
modprobe drbd
/sbin/drbdadm create-md
partition4
/sbin/drbdadm up partition4

In primary node i
executed : modprobe drbd
/sbin/drbdadm create-md
partition4
/sbin/drbdadm up partition4
/sbin/drbdadm --
--overwrite-data-of-peer primary partition4
mkfs /dev/drbd0

In
/var/log/syslog
The log show:


Executing '/sbin/drbdadm --
--overwrite-data-of-peer primary partition4'
kernel: [ 1351.610443] block
drbd4: Not fencing peer, I'm not even Consistent myself.
kernel: [ 1351.610447] block
drbd4: Forced into split brain situation!
kernel: [ 1351.610453] block
drbd4: role( Secondary -> Primary ) disk( Inconsistent ->
UpToDate ) pdsk( DUnknown -> Outdated )
kernel: [ 1351.611116] block
drbd4: Forced to consider local data as UpToDate!
kernel: [ 1351.611148] block
drbd4: new current UUID
C591FBC821A81D4B:0000000000000004:0000000000000000:0000000000000000

Anyone
seen this problem in the log? can you help me?



My global_common.conf :



global {

 usage-count yes;

}


common {

 protocol B;


 syncer {

   rate 100M;

   al-extents 3389;

 }


 handlers {

   outdate-peer
"/usr/lib/heartbeat/drbd-peer-outdater";

   split-brain
"/usr/lib/drbd/notify-split-brain.sh root";

 }


 disk {

   on-io-error detach;

   fencing resource-only;

 }


 net {

   after-sb-0pri
discard-zero-changes;

   after-sb-1pri discard-secondary;

   after-sb-2pri disconnect;

   max-buffers 8000;

   max-epoch-size 8000;

   sndbuf-size 0;

 }

}



Best reguards,
Marcelo Frota
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to