[root@server1 ~]# drbdadm -- disconnect all
cs:WFConnection st:Primary/Unknown ds:UpToDate/DUnknown C r---
cs:StandAlone st:Secondary/Unknown ds:UpToDate/DUnknown r---
It can help to fix the "Unknown problem". The nodes will start to resynchronize, transferring data from the good-data node (will appears as SyncSource in /proc/drbd) to the bad-data node(SyncTarget).
[root@primary ~]# drbdsetup primary all
drbdadm -- --clear-bitmap new-current-uuid allIf you found : Secondary/Secondary and Inconsistent/Inconsistent, as any freshly initialized DRBD device.
[root@secondary ~]# drbdsetup secondary all
[root@primary ~]# drbdadm connect allConnect all drbd resource manually
You can use it if you have secondary server waiting to join.
Server is hosted by Alanstudio
Linux Operating System
Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.