Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Am 16.01.2011 23:25, schrieb Thomas Baumann: > Hi list, > I saw several approaches to get the resource get in sync again, but it > will not work: > > node1: > > version: 8.3.7 (api:88/proto:86-91) > GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by > phil at fat-tyre, 2010-01-13 17:17:27 > 0: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r---- > ns:264076 nr:0 dw:0 dr:264076 al:0 bm:64 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b > oos:0 > 1: cs:StandAlone ro:Primary/Unknown ds:UpToDate/DUnknown r---- > ns:0 nr:0 dw:0 dr:0 al:0 bm:1 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:4096 > > > node2: > > version: 8.3.7 (api:88/proto:86-91) > GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by > phil at fat-tyre, 2010-01-13 17:17:27 > 0: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r---- > ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0 > 1: cs:WFConnection ro:Secondary/Unknown ds:UpToDate/DUnknown C r---- > ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:8192 > > I tried following: > > node1$ drbdadm secondary r0 > node1$ cat /proc/drbd > version: 8.3.7 (api:88/proto:86-91) > GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by > phil at fat-tyre, 2010-01-13 17:17:27 > 0: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r---- > ns:264076 nr:0 dw:0 dr:264076 al:0 bm:64 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b > oos:0 > 1: cs:StandAlone ro:Secondary/Unknown ds:UpToDate/DUnknown r---- > ns:0 nr:0 dw:0 dr:0 al:0 bm:1 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:4096 > > node2$ cat /proc/drbd # remains as it seems not to be connected > version: 8.3.7 (api:88/proto:86-91) > GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by > phil at fat-tyre, 2010-01-13 17:17:27 > 0: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r---- > ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0 > 1: cs:WFConnection ro:Secondary/Unknown ds:UpToDate/DUnknown C r---- > ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:8192 > > node2$ drbdadm disconnect r0 > node2$ cat /proc/drbd # changes to StandAlone > version: 8.3.7 (api:88/proto:86-91) > GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by > phil at fat-tyre, 2010-01-13 17:17:27 > 0: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r---- > ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0 > 1: cs:StandAlone ro:Secondary/Unknown ds:UpToDate/DUnknown r---- > ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:8192 > node2$ drbdadm -- --discard-my-data connect r0 > node2$ cat /proc/drbd # changes to former status > version: 8.3.7 (api:88/proto:86-91) > GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by > phil at fat-tyre, 2010-01-13 17:17:27 > 0: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r---- > ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0 > 1: cs:WFConnection ro:Secondary/Unknown ds:UpToDate/DUnknown C r---- > ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:8192 > > node1$ drbdadm primary r0 > node1$ cat /proc/drbd > version: 8.3.7 (api:88/proto:86-91) > GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by > phil at fat-tyre, 2010-01-13 17:17:27 > 0: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r---- > ns:264076 nr:0 dw:0 dr:264076 al:0 bm:64 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b > oos:0 > 1: cs:StandAlone ro:Primary/Unknown ds:UpToDate/DUnknown r---- > ns:0 nr:0 dw:0 dr:0 al:0 bm:1 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:4096 > > So - nothing to get the resource r0 again in sync. > > What is missing? > Best regards and thanks for help. > > Thomas. OK, I got it: on node1 there was one little thing missing: node1$ drbdadm connect r0 node1$ cat /proc/drbd version: 8.3.7 (api:88/proto:86-91) GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by phil at fat-tyre, 2010-01-13 17:17:27 0: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r---- ns:264076 nr:0 dw:0 dr:264076 al:0 bm:64 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0 1: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C r---- ns:264024 nr:0 dw:0 dr:264024 al:0 bm:16 lo:1457 pe:440 ua:1457 ap:0 ep:1 wo:b oos:52164896 [>....................] sync'ed: 0.6% (50940/51196)M finish: 0:13:15 speed: 65,564 (65,564) K/sec Best wishes, Thomas.