Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On 12/04/2011 09:25 PM, Ivan Pavlenko wrote: > Hi ALL, > > Digimer, thank you again for your answer I'm really appreciate it! > Unfortunately, I've tried to fixes split brain manually several times. > It doesn't work. > > # drbdadm disconnect r0 > [root at infplsm017 ~]# drbdadm secondary r0 > 1: State change failed: (-12) Device is held open by someone > Command 'drbdsetup 1 secondary' terminated with exit code 11 > # drbdadm -- --discard-my-data connect r0 > 1: Failure: (123) --discard-my-data not allowed when primary. > Command 'drbdsetup 1 net 10.10.24.10:7789 10.10.24.11:7789 C > --set-defaults --create-device --ping-timeout=20 > --after-sb-2pri=disconnect --after-sb-1pri=discard-secondary > --after-sb-0pri=discard-zero-changes --allow-two-primaries > --discard-my-data' terminated with exit code 10 > # > > I guess I need to stop cluster daemons, don't I? > > Thank you again, > Ivan Something is, as the error indicates, still trying to use the DRBD resource. Find it, stop it, and then you can demote the resource. Look at the 'lsof' command, that will probably help you find the program still using it. -- Digimer E-Mail: digimer at alteeve.com Freenode handle: digimer Papers and Projects: http://alteeve.com Node Assassin: http://nodeassassin.org "omg my singularity battery is dead again. stupid hawking radiation." - epitron