Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi, Normally, you would do your 'mkfs' after you initialized the drbd disks. Did the synchronisation run after your 'drbdadm -- --overwrite-data-of-peer primary' command? It should have, the log messages: 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! Are normal after a 'drbdadm -- --overwrite-data-of-peer primary'. Cheers, Dirk Op 20-4-2012 22:52, mensagens at marcelofrota.info schreef: > 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/ > > 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! > > 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 > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user -- <http://www.proactive.nl> T 023 - 5422299 F 023 - 5422728 www.proactive.nl <http://www.proactive.nl> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120421/1bacb5d3/attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.gif Type: image/gif Size: 3966 bytes Desc: not available URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120421/1bacb5d3/attachment.gif>