Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Thanks, I have solved the problem by doing : drbdadm disconnect data drbdadm detach data drbdadm attach data drbdadm connect data on the both nodes. So the state become Connected on them. But I still get error when trying to change the role of the primary to be the secondary. root1:~# cd /tmp root1:/tmp# secondary-me brings this error: LV data/confwebmin in use: not deactivating LV data/mysql in use: not deactivating LV data/www in use: not deactivating 0: State change failed: (-12) Device is held open by someone Command 'drbdsetup 0 secondary' terminated with exit code 11 Can somebody help me? Regards, Edwige ODEDELE Apprentie Réseaux et Sécurité Work: +33 1 80 90 50 80 Direct: +33 1 80 90 50 88 Email: <mailto:odedele at popsicube.fr> odedele at popsicube.fr Fax: +33 1 80 90 50 89 Description : popsicube_sign <http://www.popsicube.fr/> POPSI CUBE <http://maps.google.com/maps?q=12+avenue+des+pr%E9s%2C78059+St+Quentin+en+Yv elines+cedex%2CFRANCE&hl=en> 6 rue Jean-Pierre Timbaud A1 Sud 78180 Montigny le Bretonneux FRANCE De : Edwige Odedele [mailto:odedele at popsicube.fr] Envoyé : mardi 17 mai 2011 16:04 À : 'nico.gal at 1und1.de' Cc : 'drbd-user at lists.linbit.com' Objet : RE: [DRBD-user] after "service drbd restart " drbd become cs:WFConnection ro:Primary/Unknown ds:UpToDate/DUnknown C r---- Thanks, I have done like you wrote but de state didnt change Cordialement, Edwige ODEDELE Apprentie Réseaux et Sécurité Work: +33 1 80 90 50 80 Direct: +33 1 80 90 50 88 Email: odedele at popsicube.fr Fax: +33 1 80 90 50 89 Description : popsicube_sign <http://www.popsicube.fr/> POPSI CUBE 6 rue Jean-Pierre Timbaud <http://maps.google.com/maps?q=12+avenue+des+pr%E9s%2C78059+St+Quentin+en+Yv elines+cedex%2CFRANCE&hl=en> A1 Sud 78180 Montigny le Bretonneux FRANCE De : Nico Gál [mailto:nico.gal at 1und1.de] Envoyé : mardi 17 mai 2011 15:36 À : Edwige Odedele Cc : drbd-user at lists.linbit.com Objet : Re: [DRBD-user] after "service drbd restart " drbd become cs:WFConnection ro:Primary/Unknown ds:UpToDate/DUnknown C r---- Hi, have you tried on the second node: drbdadm disconnect data drbdadm detach data drbdadm attach data drbdadm connect data "Unconnected" is a temporary state, prior to attempt a connection. Normaly this state should change to WFConnection or WfReportParams etc. http://www.drbd.org/users-guide-emb/ch-admin.html#s-connection-states Is the connection between both nodes up and running? nico On 05/17/2011 02:24 PM, Edwige Odedele wrote: Hello! I have been searching why my LVM can't deactivating but no success. I have tried many things then I lost my DRBD connection between the both nodes. I just made " service drbd restart " on the second node. After this my second node (Slave) show this: Root2:~# cat /proc/drbd version: 8.3.7 (api:88/proto:86-91) GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by root2, 2011- 05-04 10:47:00 0: cs:Unconnected 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:0 and the first node (master) : Root1:~# cat /proc/drbd version: 8.3.7 (api:88/proto:86-91) GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by root1, 2011- 05-03 16:52:00 0: cs:WFConnection ro:Primary/Unknown ds:UpToDate/DUnknown C r---- ns:1816337748 nr:0 dw:3896420 dr:1812482849 al:1256 bm:110821 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:92 I have done: drbdadm attach data drbdadm syncer data drbdadm connect data , but no success. Please,I need your help. Cordialement, Edwige ODEDELE Apprentie Réseaux et Sécurité Work: +33 1 80 90 50 80 Direct: +33 1 80 90 50 88 Email: odedele at popsicube.fr Fax: +33 1 80 90 50 89 Description : popsicube_sign <http://www.popsicube.fr/> POPSI CUBE 6 rue Jean-Pierre Timbaud <http://maps.google.com/maps?q=12+avenue+des+pr%E9s%2C78059+St+Quentin+en+Yv elines+cedex%2CFRANCE&hl=en> A1 Sud 78180 Montigny le Bretonneux FRANCE _______________________________________________ drbd-user mailing list drbd-user at lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20110517/509d5273/attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 2139 bytes Desc: not available URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20110517/509d5273/attachment.gif>