No subject


Wed Oct 6 13:38:06 CEST 2010


ved.=20
=20
* Sat Apr 07 2007 21:32:39 +0200 Philipp Reisner <phil(at)linbit.com>
  - drbd (8.0.2-1)
   * Improved the robustness of the UUID based algorithm that decides about=
 the resync direction.

We would like to force sync in the rule 4 by doing the following=2C need yo=
ur help in this regard.
                case 0:
                      /* !self_pri && !peer_pri */
                      if (mdev->state.conn =3D=3D WFBitMapT) {
                        drbd_start_resync(mdev=2C SyncTarget)=3B
                      }
                      else if (mdev->state.conn =3D=3D WFBitMapS) {
                        drbd_start_resync(mdev=2C SyncSource)=3B
                      }
                      else if (mdev->state.conn =3D=3D SyncTarget) {
                         drbd_start_resync(mdev=2C SyncTarget)=3B
                      }
                      else if (mdev->state.conn =3D=3D SyncSource) {
                         drbd_start_resync(mdev=2C SyncSource)=3B
                      }
                      return 0=3B
=20
Testcase we are running:
Reset active board every 5 mins on a Redundant Setup.
=20
dmesg output:
11-02 22:10:23 unknown kernel drbd0: drbd_sync_handshake:
11-02 22:10:23 unknown kernel drbd0: self 52A974873622A8A8:0000000000000000=
:D1A184CD02C8EE0D:BD9572546D8C332D
11-02 22:10:23 unknown kernel drbd0: peer 77F8DC91C89BA0F9:52A974873622A8A8=
:D1A184CD02C8EE0C:BD9572546D8C332D
11-02 22:10:23 unknown kernel drbd0: uuid_compare()=3D-1 by rule 5
11-02 22:10:23 unknown kernel drbd0: peer( Unknown -> Primary ) conn( WFRep=
ortParams -> WFBitMapT ) pdsk( DUnknown -> UpToDate )=20
11-02 22:10:23 unknown kernel drbd0: conn( WFBitMapT -> WFSyncUUID )=20
11-02 22:10:23 unknown kernel drbd0: conn( WFSyncUUID -> SyncTarget ) disk(=
 UpToDate -> Inconsistent )=20
11-02 22:10:23 unknown kernel drbd0: Began resync as SyncTarget (will sync =
324 KB [81 bits set]).
11-02 22:10:23 unknown kernel drbd0: Resync done (total 1 sec=3B paused 0 s=
ec=3B 324 K/sec)
11-02 22:10:23 unknown kernel drbd0: conn( SyncTarget -> Connected ) disk( =
Inconsistent -> UpToDate )=20
11-02 22:10:24 unknown kernel drbd0: local disk flush failed with status -9=
5=2C disabling disk-flushes
11-02 22:14:13 unknown kernel drbd0: peer( Primary -> Secondary )=20
11-02 22:14:14 unknown kernel drbd0: role( Secondary -> Primary )=20
11-02 22:14:14 unknown kernel EXT3 FS on drbd0=2C internal journal
11-02 22:14:14 unknown kernel SELinux: initialized (dev drbd0=2C type ext3)=
=2C uses xattr
11-02 22:14:18 unknown kernel drbd0: peer( Secondary -> Unknown ) conn( Con=
nected -> TearDown ) pdsk( UpToDate -> DUnknown )=20
11-02 22:14:18 unknown kernel drbd0: Creating new current UUID
11-02 22:14:18 unknown kernel drbd0: meta connection shut down by peer.
11-02 22:14:18 unknown kernel drbd0: asender terminated
11-02 22:14:18 unknown kernel drbd0: Terminating asender thread
11-02 22:14:19 unknown kernel drbd0: Connection closed
11-02 22:14:19 unknown kernel drbd0: conn( TearDown -> Unconnected )=20
11-02 22:14:19 unknown kernel drbd0: receiver terminated
11-02 22:14:19 unknown kernel drbd0: Restarting receiver thread
11-02 22:14:19 unknown kernel drbd0: receiver (re)started
11-02 22:14:19 unknown kernel drbd0: conn( Unconnected -> WFConnection )=20
11-02 22:15:16 unknown kernel drbd0: Handshake successful: DRBD Network Pro=
tocol version 86
11-02 22:15:16 unknown kernel drbd0: conn( WFConnection -> WFReportParams )=
=20
11-02 22:15:16 unknown kernel drbd0: Starting asender thread (from drbd0_re=
ceiver [1495])
11-02 22:15:16 unknown kernel drbd0: Considerable difference in lower level=
 device sizes: 18768s vs. 32176s
11-02 22:15:16 unknown kernel drbd0: drbd_sync_handshake:
11-02 22:15:16 unknown kernel drbd0: self 77F8DC91C89BA0F9:77F8DC91C89BA0F9=
:A1454CD240FF75F4:52A974873622A8A8
11-02 22:15:16 unknown kernel drbd0: peer 77F8DC91C89BA0F8:0000000000000000=
:A1454CD240FF75F4:52A974873622A8A8
11-02 22:15:16 unknown kernel drbd0: uuid_compare()=3D0 by rule 4
11-02 22:15:16 unknown kernel drbd0: No resync=2C but 78 bits in bitmap!
11-02 22:15:16 unknown kernel drbd0: peer( Unknown -> Secondary ) conn( WFR=
eportParams -> Connected ) pdsk( DUnknown -> UpToDate )=20
11-02 22:19:20 unknown kernel drbd0: role( Primary -> Secondary )=20
11-02 22:19:20 unknown kernel drbd0: peer( Secondary -> Unknown ) conn( Con=
nected -> Disconnecting ) pdsk( UpToDate -> DUnknown )=20
=20

LAK=20




_______________________________________________ drbd-user mailing list drbd=
-user at lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user=20
_______________________________________________ drbd-user mailing list drbd=
-user at lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user 	=
	 	   		  =

--_9d7861bd-5531-45a8-b9a4-8021e30c6acb_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Tahoma
}
--></style>
</head>
<body class=3D'hmmessage'>
<BR>Hi<BR>
&nbsp=3B<BR>
Can someone please respond to my request.<BR>
&nbsp=3B<BR>
Appreciate&nbsp=3B your help=2C<BR>
thanks in advance=2C<BR>Lak.<BR>
<BR>&nbsp=3B<BR>

<HR id=3DstopSpelling>
From: putcha_laks at hotmail.com<BR>To: drbd-user at lists.linbit.com<BR>Date: Th=
u=2C 4 Nov 2010 12:25:31 +0000<BR>Subject: [DRBD-user] Need help=2C we want=
 invalidate if role=3DSecondary and uuid_compare rule=3D=3D4<BR><BR>
<META name=3DGenerator content=3D"Microsoft SafeHTML">
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px=3B}
.ExternalClass body.ecxhmmessage
{font-size:10pt=3Bfont-family:Tahoma=3B}

</STYLE>
Hi=2C<BR>&nbsp=3B<BR>We would like to force resync on standby if uuid_compa=
re rule=3D=3D4 ONLY. <BR>Why?? We are seeing DRBD files corrupted consisten=
tly and each time corruption is seen rule is 4. Mail chain below has full d=
etails. <BR>Yes this is a work around because we are on DRBD-8.0.16<BR>snmp=
d version upgrade is a strict NO=2C NO.<BR>&nbsp=3B<BR>Whenever we observed=
 the following two lines=2C we recreated metadata on secondary node and the=
re was not file corruption seen.<BR>File Corruption: Content of other files=
 are seen in snmpd.conf file. File corrupted is always snmpd.conf<BR>&nbsp=
=3B<BR>--&gt=3B uuid_compare()=3D0 by rule 4<BR>--&gt=3B No resync=2C but <=
FONT color=3D#ff0000><STRONG>78</STRONG> </FONT>bits in bitmap!&nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B &lt=3B&lt=3B&lt=3B&lt=3B Number of bits is variable. &gt=3B&gt=3B&=
gt=3B&gt=3B<BR><BR>invalidate and invalidate-remote options are available u=
nder drbdadm tool=2C but can only be invoked externally???<BR>We would like=
 to kick of sync only when we hit uuid_compare() by rule 4.<BR>&nbsp=3B<BR>=
Work around below needs tweaking:<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B case 0:<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B INFO("Lak: 0 by Rule 4=2C current =
state =3D %d current role =3D %d ! \n"=2C<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp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&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B&nbsp=3B drbd_start_resync(mdev=2C SyncTarget)=3B<BR>&=
nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B }<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&n=
bsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B return 0=3B<BR><BR><STRONG>dmes=
g output on Standby Controller:</STRONG><BR>drbd0: Lak: 0 by Rule 4=2C curr=
ent state =3D 9 current role =3D 2 ! <BR>drbd0: State change failed: Refusi=
ng to be inconsistent on both nodes<BR>drbd0:&nbsp=3B&nbsp=3B state =3D { c=
s:WFReportParams st:Secondary/Unknown ds:UpToDate/DUnknown r--- }<BR>drbd0:=
&nbsp=3B wanted =3D { cs:SyncTarget st:Secondary/Unknown ds:Inconsistent/DU=
nknown r--- }<BR><BR>LAK<BR>&nbsp=3B<BR>
<HR id=3DecxstopSpelling>
From: putcha_laks at hotmail.com<BR>To: drbd-user at lists.linbit.com<BR>Date: We=
d=2C 3 Nov 2010 06:50:46 +0000<BR>Subject: [DRBD-user] Issue with uuid_comp=
are by rule 4<BR><BR>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px=3B}
.ExternalClass body.ecxhmmessage
{font-size:10pt=3Bfont-family:Tahoma=3B}
</STYLE>
Hi=2C<BR><BR>DRBD -Version 8.0.16 (Code for uuid_compare by rule 4 is same =
in all DRBD-8.x.y versions)<BR>&nbsp=3B<BR>We are consistently seeing conte=
nt of snmpd.conf get corrupted -- sometimes it shows iptables and sometimes=
 it has some wierd binary data.<BR>&nbsp=3B<BR>In all the instances we have=
 seen corruption=2C Pattern observed from dmesg<BR>uuid_compare()=3D0 by ru=
le 4<BR>No resync=2C but <FONT color=3D#ff0000><STRONG>78</STRONG> </FONT>b=
its in bitmap!&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3B&lt=3B&lt=3B&lt=3B Number of bits is=
 variable. &gt=3B&gt=3B&gt=3B&gt=3B<BR>&nbsp=3B<BR>From drbd change log his=
tory we see that UUID_COMPARISON algorith was improved. <BR>&nbsp=3B<BR>* S=
at Apr 07 2007 21:32:39 +0200 Philipp Reisner &lt=3Bphil(at)linbit.com&gt=
=3B<BR>&nbsp=3B - drbd (8.0.2-1)<BR>&nbsp=3B&nbsp=3B * Improved the robustn=
ess of the UUID based algorithm that decides about the resync direction.<BR=
><BR>We would like to force sync in the rule 4 by doing the following=2C ne=
ed your help in this regard.<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B case 0:<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B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bsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B else if (mdev-&gt=3Bstate.conn =
=3D=3D SyncSource) {<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B drbd_st=
art_resync(mdev=2C SyncSource)=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B }<BR>&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B return 0=3B<BR>&nbsp=3B<BR>Testcase we are running:<BR>Reset active b=
oard every 5 mins on a Redundant Setup.<BR>&nbsp=3B<BR>dmesg output:<BR>11-=
02 22:10:23&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: drbd_sync_handshake:=
<BR>11-02 22:10:23&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: self 52A97487=
3622A8A8:0000000000000000:D1A184CD02C8EE0D:BD9572546D8C332D<BR>11-02 22:10:=
23&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: peer 77F8DC91C89BA0F9:52A9748=
73622A8A8:D1A184CD02C8EE0C:BD9572546D8C332D<BR>11-02 22:10:23&nbsp=3Bunknow=
n&nbsp=3Bkernel&nbsp=3Bdrbd0: uuid_compare()=3D-1 by rule 5<BR>11-02 22:10:=
23&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: peer( Unknown -&gt=3B Primary=
 ) conn( WFReportParams -&gt=3B WFBitMapT ) pdsk( DUnknown -&gt=3B UpToDate=
 ) <BR>11-02 22:10:23&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: conn( WFBi=
tMapT -&gt=3B WFSyncUUID ) <BR>11-02 22:10:23&nbsp=3Bunknown&nbsp=3Bkernel&=
nbsp=3Bdrbd0: conn( WFSyncUUID -&gt=3B SyncTarget ) disk( UpToDate -&gt=3B =
Inconsistent ) <BR>11-02 22:10:23&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0=
: Began resync as SyncTarget (will sync 324 KB [81 bits set]).<BR>11-02 22:=
10:23&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: Resync done (total 1 sec=
=3B paused 0 sec=3B 324 K/sec)<BR>11-02 22:10:23&nbsp=3Bunknown&nbsp=3Bkern=
el&nbsp=3Bdrbd0: conn( SyncTarget -&gt=3B Connected ) disk( Inconsistent -&=
gt=3B UpToDate ) <BR>11-02 22:10:24&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrb=
d0: local disk flush failed with status -95=2C disabling disk-flushes<BR>11=
-02 22:14:13&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: peer( Primary -&gt=
=3B Secondary ) <BR>11-02 22:14:14&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd=
0: role( Secondary -&gt=3B Primary ) <BR>11-02 22:14:14&nbsp=3Bunknown&nbsp=
=3Bkernel&nbsp=3BEXT3 FS on drbd0=2C internal journal<BR>11-02 22:14:14&nbs=
p=3Bunknown&nbsp=3Bkernel&nbsp=3BSELinux: initialized (dev drbd0=2C type ex=
t3)=2C uses xattr<BR>11-02 22:14:18&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrb=
d0: peer( Secondary -&gt=3B Unknown ) conn( Connected -&gt=3B TearDown ) pd=
sk( UpToDate -&gt=3B DUnknown ) <BR>11-02 22:14:18&nbsp=3Bunknown&nbsp=3Bke=
rnel&nbsp=3Bdrbd0: Creating new current UUID<BR>11-02 22:14:18&nbsp=3Bunkno=
wn&nbsp=3Bkernel&nbsp=3Bdrbd0: meta connection shut down by peer.<BR>11-02 =
22:14:18&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: asender terminated<BR>1=
1-02 22:14:18&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: Terminating asende=
r thread<BR>11-02 22:14:19&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: Conne=
ction closed<BR>11-02 22:14:19&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: c=
onn( TearDown -&gt=3B Unconnected ) <BR>11-02 22:14:19&nbsp=3Bunknown&nbsp=
=3Bkernel&nbsp=3Bdrbd0: receiver terminated<BR>11-02 22:14:19&nbsp=3Bunknow=
n&nbsp=3Bkernel&nbsp=3Bdrbd0: Restarting receiver thread<BR>11-02 22:14:19&=
nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: receiver (re)started<BR>11-02 22=
:14:19&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: conn( Unconnected -&gt=3B=
 WFConnection ) <BR>11-02 22:15:16&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd=
0: Handshake successful: DRBD Network Protocol version 86<BR>11-02 22:15:16=
&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: conn( WFConnection -&gt=3B WFRe=
portParams ) <BR>11-02 22:15:16&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: =
Starting asender thread (from drbd0_receiver [1495])<BR>11-02 22:15:16&nbsp=
=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: Considerable difference in lower lev=
el device sizes: 18768s vs. 32176s<BR>11-02 22:15:16&nbsp=3Bunknown&nbsp=3B=
kernel&nbsp=3Bdrbd0: drbd_sync_handshake:<BR>11-02 22:15:16&nbsp=3Bunknown&=
nbsp=3Bkernel&nbsp=3Bdrbd0: self 77F8DC91C89BA0F9:77F8DC91C89BA0F9:A1454CD2=
40FF75F4:52A974873622A8A8<BR>11-02 22:15:16&nbsp=3Bunknown&nbsp=3Bkernel&nb=
sp=3Bdrbd0: peer 77F8DC91C89BA0F8:0000000000000000:A1454CD240FF75F4:52A9748=
73622A8A8<BR>11-02 22:15:16&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: uuid=
_compare()=3D0 by rule 4<BR>11-02 22:15:16&nbsp=3Bunknown&nbsp=3Bkernel&nbs=
p=3Bdrbd0: No resync=2C but 78 bits in bitmap!<BR>11-02 22:15:16&nbsp=3Bunk=
nown&nbsp=3Bkernel&nbsp=3Bdrbd0: peer( Unknown -&gt=3B Secondary ) conn( WF=
ReportParams -&gt=3B Connected ) pdsk( DUnknown -&gt=3B UpToDate ) <BR>11-0=
2 22:19:20&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: role( Primary -&gt=3B=
 Secondary ) <BR>11-02 22:19:20&nbsp=3Bunknown&nbsp=3Bkernel&nbsp=3Bdrbd0: =
peer( Secondary -&gt=3B Unknown ) conn( Connected -&gt=3B Disconnecting ) p=
dsk( UpToDate -&gt=3B DUnknown ) <BR>&nbsp=3B<BR><BR>LAK&nbsp=3B<BR><BR><BR=
><BR><BR>_______________________________________________ drbd-user mailing =
list drbd-user at lists.linbit.com http://lists.linbit.com/mailman/listinfo/dr=
bd-user <BR>_______________________________________________ drbd-user maili=
ng list drbd-user at lists.linbit.com http://lists.linbit.com/mailman/listinfo=
/drbd-user 		 	   		  </body>
</html>=

--_9d7861bd-5531-45a8-b9a4-8021e30c6acb_--


More information about the drbd-user mailing list