Page 1 of 1

Re: Clusty brian split

Posted: Mon Dec 08, 2025 7:29 am
by sysop
maiby succes the brian split an we have to syncronize a disk whit old data,
example if we stop a lot time the macine, chnage HD. etc


this script must be run in the computer with old data to syncronice

Code: Select all

#! /bin/bash 
killall sbbs 
sleep 1 
umount /Reply 
echo `date` 
drbdadm down clusty 
sleep 1 
drbdadm secondary clusty
sleep 1 
drbdadm invalidate clusty
sleep 1 
drbdadm outdate clusty
sleep 1 
drbdadm up clusty
sleep 1 
drbdadm connect clusty 
sleep 1 
drbdadm up clusty
sleep 1 
cat /proc/drbd 
echo el otro lado 

if not sinchronice in two times you are on a error

drbdadm connect all

sysop