DRBD resolve split brain scenario
On the node, which is the younger primary were you want to discard the changes type
node1 ~ # drbdadm secondary all
node1 ~ # drbdadm disconnect all
node1 ~ # drbdadm -- --discard-my-data connect all
Then go to the node with the correct primary data and connect it, too.
node2 ~ # drbdadm connect all
The orignal howto fom DRBD wont work for me, since there is no disconnect
mentioned.
Be careful! If you're are in doubt backup data or try a rsync with both filesystems mounted offline w/o DRBD. This will prevent impacts when syncing in the wrong direction.
Did it worked for you? Just drop a comment on it here.
node1 ~ # drbdadm secondary all
node1 ~ # drbdadm disconnect all
node1 ~ # drbdadm -- --discard-my-data connect all
Then go to the node with the correct primary data and connect it, too.
node2 ~ # drbdadm connect all
The orignal howto fom DRBD wont work for me, since there is no disconnect
mentioned.
Be careful! If you're are in doubt backup data or try a rsync with both filesystems mounted offline w/o DRBD. This will prevent impacts when syncing in the wrong direction.
Did it worked for you? Just drop a comment on it here.
Comments