[DRBD-user] Re: drbd 0.6.10 + datadisk not switch (Nicola Percacciante - Digital Network s.n.c.)

Francis SOUYRI francis.souyri at apec.fr
Wed Jan 14 08:57:41 CET 2004

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hello Nicola,

    Please give the output of the syslog (for some linux distrib 
"/var/adm/messages") or if it is activated  the output off the heartbeat 
log ( default "/var/log/ha-log") and the file "/etc/ha.d/haresources".

Best regards.

Francis

drbd-user-request at nudlaug.linbit.com wrote:

>Send drbd-user mailing list submissions to
>	drbd-user at lists.linbit.com
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://lists.linbit.com/mailman/listinfo/drbd-user
>or, via email, send a message with subject or body 'help' to
>	drbd-user-request at lists.linbit.com
>
>You can reach the person managing the list at
>	drbd-user-admin at lists.linbit.com
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of drbd-user digest..."
>
>
>Today's Topics:
>
>   1. drbd 0.6.10 + datadisk not switch (Nicola Percacciante - Digital Network s.n.c.)
>
>--__--__--
>
>Message: 1
>From: "Nicola Percacciante - Digital Network s.n.c." <nicola at digital-network.it>
>To: "DRBD USER" <drbd-user at nudlaug.linbit.com>
>Date: Tue, 13 Jan 2004 10:31:32 +0100
>Subject: [DRBD-user] drbd 0.6.10 + datadisk not switch
>
>This is a multi-part message in MIME format.
>
>------=_NextPart_000_003D_01C3D9C0.6995F790
>Content-Type: text/plain;
>	charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
>hi
>
>i have 2 node with drbd installed and heartbeat installed
>df on node1:
>node1:~# df
>Filesystem           1k-blocks      Used Available Use% Mounted on
>/dev/sda1              4806904    519920   4042800  12% /
>/dev/nb0              64641348     67048  61290616   1% /cluster
>node1:~# cat /proc/drbd
>version: 0.6.10 (api:64/proto:62)
>0: cs:Connected st:Primary/Secondary ns:65674556 nr:65702392 dw:65704700 =
>dr:65691477 pe:0 ua:0
>
>node2:
>node2:~# df
>Filesystem           1k-blocks      Used Available Use% Mounted on
>/dev/sda1              4806904    520812   4041908  12% /
>node2:~# cat /proc/drbd
>cat /proc/drbd
>version: 0.6.10 (api:64/proto:62)
>0: cs:Connected st:Secondary/Primary ns:0 nr:65674556 dw:65674556 dr:0 =
>pe:0 ua:0
>
>All sonds good..and it worked until last week.
>Now if i do restart on heartbeat on node1
>node1:/etc# /etc/init.d/heartbeat stop
>Stopping High-Availability services:
>Done.
>node1:/etc# cat /proc/drbd
>version: 0.6.10 (api:64/proto:62)
>0: cs:Connected st:Primary/Secondary ns:65675020 nr:65702392 dw:65705164 =
>dr:65691477 pe:0 ua:0
>
>
>node2:~# df
>Filesystem           1k-blocks      Used Available Use% Mounted on
>/dev/sda1              4806904    520816   4041904  12% /
>node2:~# cat /proc/drbd
>version: 0.6.10 (api:64/proto:62)
>0: cs:Connected st:Secondary/Primary ns:0 nr:65675368 dw:65675368 dr:0 =
>pe:0 ua:0
>node2:~# ps aux |grep datadisk
>root       576  0.1  0.1  2444 1364 ?        S    14:35   0:00 /bin/bash =
>/etc/ha.d/resource.d/datadisk start
>
>The node1 not switch /dev/nb0 in secondary state and node1 cannot mount =
>/dev/nb0
>How i can resolve it?
>
>Tnx in advance=20
>Nicola
>
>
>------=_NextPart_000_003D_01C3D9C0.6995F790
>Content-Type: text/html;
>	charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
><HTML><HEAD>
><META http-equiv=3DContent-Type content=3D"text/html; =
>charset=3Diso-8859-1">
><META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
><STYLE></STYLE>
></HEAD>
><BODY bgColor=3D#ffffff>
><DIV><FONT face=3DArial size=3D2>
><DIV><FONT face=3DArial size=3D2>hi</FONT></DIV>
><DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT face=3DArial size=3D2>i have 2 node with drbd installed and =
>heartbeat=20
>installed</FONT></DIV>
><DIV><FONT face=3DArial size=3D2>df on node1:</FONT></DIV>
><DIV><FONT face=3DArial size=3D2>node1:~# df</FONT></DIV>
><DIV><FONT face=3DArial=20
>size=3D2>Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
>&nbsp;=20
>1k-blocks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used Available Use% Mounted=20
>on<BR>/dev/sda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
>p;&nbsp;&nbsp;&nbsp;=20
>4806904&nbsp;&nbsp;&nbsp; 519920&nbsp;&nbsp; 4042800&nbsp; 12%=20
>/<BR>/dev/nb0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
>&nbsp;&nbsp;&nbsp;=20
>64641348&nbsp;&nbsp;&nbsp;&nbsp; 67048&nbsp; 61290616&nbsp;&nbsp; 1%=20
>/cluster</FONT></DIV>
><DIV><FONT face=3DArial size=3D2>node1:~# cat /proc/drbd</FONT></DIV>
><DIV><FONT face=3DArial size=3D2>version: 0.6.10 =
>(api:64/proto:62)</FONT></DIV>
><DIV><FONT face=3DArial size=3D2>0: cs:Connected st:Primary/Secondary =
>ns:65674556=20
>nr:65702392 dw:65704700 dr:65691477 pe:0 ua:0</FONT></DIV>
><DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT face=3DArial size=3D2>node2:</FONT></DIV>
><DIV><FONT face=3DArial size=3D2>
><DIV><FONT face=3DArial size=3D2>node2:~# df</FONT></DIV></FONT></DIV>
><DIV><FONT face=3DArial=20
>size=3D2>Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
>&nbsp;=20
>1k-blocks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used Available Use% Mounted=20
>on<BR>/dev/sda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
>p;&nbsp;&nbsp;&nbsp;=20
>4806904&nbsp;&nbsp;&nbsp; 520812&nbsp;&nbsp; 4041908&nbsp; 12% =
>/</FONT></DIV>
><DIV><FONT face=3DArial size=3D2>node2:~# cat /proc/drbd</FONT><FONT =
>face=3DArial=20
>size=3D2><BR>cat /proc/drbd<BR>version: 0.6.10 =
>(api:64/proto:62)</FONT></DIV>
><DIV><FONT face=3DArial size=3D2>0: cs:Connected st:Secondary/Primary =
>ns:0=20
>nr:65674556 dw:65674556 dr:0 pe:0 ua:0<BR></FONT></DIV>
><DIV><FONT face=3DArial size=3D2>All sonds good..and it worked until =
>last=20
>week.</FONT></DIV>
><DIV><FONT face=3DArial size=3D2>Now if i do restart on heartbeat on=20
>node1</FONT></DIV>
><DIV><FONT face=3DArial size=3D2>node1:/etc# /etc/init.d/heartbeat =
>stop<BR>Stopping=20
>High-Availability services:<BR>Done.</FONT></DIV>
><DIV><FONT face=3DArial size=3D2>node1:/etc# cat /proc/drbd<BR>version: =
>0.6.10=20
>(api:64/proto:62)</FONT></DIV>
><DIV><FONT face=3DArial size=3D2>0: cs:Connected st:Primary/Secondary =
>ns:65675020=20
>nr:65702392 dw:65705164 dr:65691477 pe:0 ua:0<BR></DIV>
><DIV></FONT><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT face=3DArial size=3D2>node2:~#=20
>df<BR>Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
>sp;=20
>1k-blocks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used Available Use% Mounted=20
>on<BR>/dev/sda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
>p;&nbsp;&nbsp;&nbsp;=20
>4806904&nbsp;&nbsp;&nbsp; 520816&nbsp;&nbsp; 4041904&nbsp; 12% =
>/<BR>node2:~# cat=20
>/proc/drbd<BR>version: 0.6.10 (api:64/proto:62)</FONT></DIV>
><DIV><FONT face=3DArial size=3D2>0: cs:Connected st:Secondary/Primary =
>ns:0=20
>nr:65675368 dw:65675368 dr:0 pe:0 ua:0<BR>node2:~# ps aux |grep=20
>datadisk<BR>root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 576&nbsp; 0.1&nbsp; =
>
>0.1&nbsp; 2444 1364 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
>S&nbsp;&nbsp;&nbsp; 14:35&nbsp;&nbsp; 0:00 /bin/bash=20
>/etc/ha.d/resource.d/datadisk start<BR></FONT></DIV>
><DIV><FONT face=3DArial size=3D2>The node1 not switch /dev/nb0 in =
>secondary state=20
>and node1 cannot mount /dev/nb0</FONT></DIV>
><DIV><FONT face=3DArial size=3D2>How i can resolve it?</FONT></DIV>
><DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT face=3DArial size=3D2>Tnx in advance </FONT></DIV>
><DIV><FONT face=3DArial size=3D2>Nicola</DIV></FONT>
><DIV><FONT face=3DArial size=3D2>&nbsp;</DIV></FONT>
><DIV><FONT face=3DArial =
>size=3D2>&nbsp;</DIV></FONT></FONT></DIV></BODY></HTML>
>
>------=_NextPart_000_003D_01C3D9C0.6995F790--
>
>
>
>--__--__--
>
>_______________________________________________
>drbd-user mailing list
>drbd-user at lists.linbit.com
>http://lists.linbit.com/mailman/listinfo/drbd-user
>
>
>End of drbd-user Digest
>
>
>  
>




More information about the drbd-user mailing list