Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
I forgot to make node1 primary!! Sorry. Ok. After changing node1 status to primary, I can see Nov 24 12:39:46 node1 kernel: drbd0: Secondary/Unknown --> Primary/Unknown then, I mount /dev/drbd0 (I have a line in /etc/fstab like: /dev/drbd0 /www auto defaults,noauto 0 0) and I supose when the HOWTO says <<edit some files, unmount it, make that node Secondary,>> it means that I have to make changes in /www (where I mount /dev/drbd0), isn't it?? That's what I do, and after unmounting /www I make node1 secondary with #drbdadm secondary all. Then I go to node2 and make it primary and mount /dev/drbd0 there (I got the same line in /etc/fstab). But I can't see any changes in /www at node2. Any idea of why not? Thanks in advance. Andrés. El Jueves, 24 de Noviembre de 2005 11:00, wrote: > Hi! I'm new in this list. I've read the documentation and tried to > configure drdb by my self but still having problems. > my drbd.con is: > ... > on node1 { > device /dev/drbd0; > disk /dev/hda2; > address 192.168.2.50:7788; > meta-disk internal; > > } > > on node2 { > device /dev/drbd0; > disk /dev/hda2; > address 192.168.2.51:7788; > meta-disk internal; > } > ... > > (on both nodes). > > When I type---> drbdadm up all, in node1, I see in /var/log/messages: > > root at node1:/dev Nov 24 11:56:35 node1 kernel: drbd0: resync bitmap: > bits=1431155 words=22362 > Nov 24 11:56:35 node1 kernel: drbd0: size = 5590 MB (5724620 KB) > Nov 24 11:56:35 node1 kernel: drbd0: 5590 MB marked out-of-sync by on disk > bit-map. > Nov 24 11:56:35 node1 kernel: drbd0: No usable activity log found. > Nov 24 11:56:35 node1 kernel: drbd0: drbdsetup [26479]: cstate Unconfigured > --> StandAlone > Nov 24 11:56:35 node1 kernel: drbd0: drbdsetup [26482]: cstate StandAlone > --> Unconnected > Nov 24 11:56:35 node1 kernel: drbd0: drbd0_receiver [26483]: cstate > Unconnected --> WFConnection > > and in node2 I see > > Nov 24 10:43:15 node2 kernel: drbd0: resync bitmap: bits=89727 words=1402 > Nov 24 10:43:15 node2 kernel: drbd0: size = 350 MB (358908 KB) > Nov 24 10:43:15 node2 kernel: drbd0: 350 MB marked out-of-sync by on disk > bit-map. > Nov 24 10:43:15 node2 kernel: drbd0: No usable activity log found. > Nov 24 10:43:15 node2 kernel: drbd0: drbdsetup [3582]: cstate Unconfigured > --> StandAlone > Nov 24 10:43:15 node2 kernel: drbd0: drbdsetup [3585]: cstate StandAlone > --> Unconnected > Nov 24 10:43:15 node2 kernel: drbd0: drbd0_receiver [3586]: cstate > Unconnected --> WFConnection > > Also, when I type cat /proc/drbd in node1 I see: > version: 0.7.14 (api:77/proto:74) > SVN Revision: 1989 build by root at ameiva, 2005-11-23 16:33:25 > 0: cs:WFConnection st:Secondary/Unknown ld:Inconsistent > ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 > 1: cs:Unconfigured > > and in node2: > version: 0.7.14 (api:77/proto:74) > SVN Revision: 1989 build by root at tupinambis, 2005-11-23 16:27:09 > 0: cs:WFConnection st:Secondary/Unknown ld:Inconsistent > ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 > 1: cs:Unconfigured > > > Please somebody help me, I'm spending too much time with the configuration! > thank you very much **NOTA DE CONFIDENCIALIDAD** Este correo electrónico, y en su caso los ficheros adjuntos, pueden contener información protegida para el uso exclusivo de su destinatario. Se prohíbe la distribución, reproducción o cualquier otro tipo de transmisión por parte de otra persona que no sea el destinatario. Si usted recibe por error este correo, se ruega comunicarlo al remitente y borrar el mensaje recibido. **CONFIDENTIALITY NOTICE** This email communication and any attachments may contain confidential and privileged information for the sole use of the designated recipient named above. Distribution, reproduction or any other use of this transmission by any party other than the intended recipient is prohibited. If you are not the intended recipient please contact the sender and delete all copies.