Sorry, I can not reproduce this report:
What I did:
tcube3:/var/lib/drbd# /etc/init.d/drbd start
Setting up drbd0...[ OK ]
Setting up drbd1...[ OK ]
Setting up drbd2...[ OK ]
Setting up drbd3...[ OK ]
Setting up drbd4...[ OK ]
Setting up drbd5...[ OK ]
Setting up drbd6...[ OK ]
Do you want to abort waiting for other server and make this one primary? no
tcube3:/var/lib/drbd# drbdsetup /dev/nb0 primary
tcube3:/var/lib/drbd# /home/phil/drbd/testing/read_gc.pl
device | Consistent | HumanCnt | ConnectedCnt | ArbitraryCnt | lastState
drbd0 1 1 2 1 primary
drbd1 1 1 1 1 secondary
drbd2 1 1 1 1 secondary
drbd3 1 1 1 1 secondary
drbd4 1 1 1 1 secondary
drbd5 1 1 1 1 secondary
drbd6 1 1 1 1 secondary
tcube3:/var/lib/drbd# cp drbd0 drbd0_
#### Since I do not want to reboot my machine by reset button pressing
I make a copy of the state file.
tcube3:/var/lib/drbd# rmmod drbd
tcube3:/var/lib/drbd# /home/phil/drbd/testing/read_gc.pl
device | Consistent | HumanCnt | ConnectedCnt | ArbitraryCnt | lastState
drbd0 1 1 2 1 secondary
drbd1 1 1 1 1 secondary
drbd2 1 1 1 1 secondary
drbd3 1 1 1 1 secondary
drbd4 1 1 1 1 secondary
drbd5 1 1 1 1 secondary
drbd6 1 1 1 1 secondary
tcube3:/var/lib/drbd# mv drbd0_ drbd0
#### You can see that module unloading changed the "lastState" field.
In case of a real crash the "lastState" field should still be primary,
therefore I move the drbd0_ into it's place.
tcube2:~# drbdsetup /dev/nb0 primary
#### On the other node, I am simulating heartbeat's action (switching
the device into primary state.
tcube3:/var/lib/drbd# /etc/init.d/drbd start
Setting up drbd0...[ OK ]
Setting up drbd1...[ OK ]
Setting up drbd2...[ OK ]
Setting up drbd3...[ OK ]
Setting up drbd4...[ OK ]
Setting up drbd5...[ OK ]
Setting up drbd6...[ OK ]
Do you want to abort waiting for other server and make this one primary?
Waiting until drbd0 is up to date (using SyncingAll) abort?
#### You can see here that drbd0 becomes a SyncAll from tcube2, exactly
what I expected.
-Philipp
* Jean-Yves Bouet - 78636 <jean-yves.bouet@example.com> [010926 09:09]:
> Hello,
>
> When the former master joins the cluster, it must be full synchronized,
> right?
> This is not the case with drbd 0.6.1-pre2. It worked with pre1.
>
> What i did:
> node1 ,node 2: rm /var/lib/drbd/*
> node 1: drbd start
> node 2: drbd start
> node 1: heartbeat start (becomes master, mount OK,services OK)
> node 2: heartbeat start
> node 1: reboot
> node 2: becomes master.
> node 1: comes back.
> node 1: drbd start :
> Setting up drbd0...
> Setting up drbd1...
> Do you want to abort waiting for other server and make this one primary?
> no
> -->Node 1 must starts here a full synch, no?
>
> Bye,
>
> --
> Jean-Yves BOUET
> EADS Defence and Security Networks
> jean-yves.bouet@example.com
>
>
>
>
> _______________________________________________
> DRBD-devel mailing list
> DRBD-devel@example.com
> https://lists.sourceforge.net/lists/listinfo/drbd-devel