<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=FR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hello,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=EN-US>I need your help.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I have drbd install on two servers then all
of them is working all right before I reboot the servers.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>After reboot I got this error when trying
to start drbd:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>rootx:~# cat /proc/drbd<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>version: 8.3.7 (api:88/proto:86-91)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>GIT-hash:
ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by rootx, 2011-<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>08-22 14:27:51<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> 0: cs:Unconfigured<o:p></o:p></span></p>
<p class=MsoNormal><b><span lang=EN-US>rootx:/tmp# pvscan<o:p></o:p></span></b></p>
<p class=MsoNormal><b><span lang=EN-US> No matching physical volumes found<o:p></o:p></span></b></p>
<p class=MsoNormal><b><span lang=EN-US>rootx:/tmp# vgscan<o:p></o:p></span></b></p>
<p class=MsoNormal><b><span lang=EN-US> Reading all physical volumes. This
may take a while...<o:p></o:p></span></b></p>
<p class=MsoNormal><b><span lang=EN-US>0: Failure: (114) Lower device is
already claimed. This usually means it is moun<o:p></o:p></span></b></p>
<p class=MsoNormal><b><span lang=EN-US>ted.<o:p></o:p></span></b></p>
<p class=MsoNormal><span lang=EN-US>Command 'drbdsetup 0 disk /dev/sda4
/dev/sda4 internal --set-defaults --create-d<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>evice' terminated with exit code 10<o:p></o:p></span></p>
<p class=MsoNormal><b><span lang=EN-US>rootx:/tmp# cat /proc/drbd<o:p></o:p></span></b></p>
<p class=MsoNormal><span lang=EN-US>version: 8.3.7 (api:88/proto:86-91)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917
build by rootx, 2011-<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>08-22 14:27:51<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> 0: <b>cs:WFConnection ro:Secondary/Unknown
ds:Diskless/DUnknown C r----</b><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> 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<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>rootx:/tmp#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><b><span lang=EN-US>rootx:/tmp# drbdadm --
--overwrite-data-of-peer primary data<o:p></o:p></span></b></p>
<p class=MsoNormal><b><span lang=EN-US>0: State change failed: (-2) Refusing to
be Primary without at least one UpToDat<o:p></o:p></span></b></p>
<p class=MsoNormal><b><span lang=EN-US>e disk<o:p></o:p></span></b></p>
<p class=MsoNormal><b><span lang=EN-US>Command 'drbdsetup 0 primary
--overwrite-data-of-peer' terminated with exit code<o:p></o:p></span></b></p>
<p class=MsoNormal><b><span lang=EN-US> 17<o:p></o:p></span></b></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I think that the problem come from de disk,
but I don’t know what to do.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>This is the contents of my resource:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>resource data {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>protocol C;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>startup {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># Wait for connection timeout.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># The init script blocks the boot process
until the resources<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># are connected. This is so when the
cluster manager starts later,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># it does not see a resource with internal
split-brain.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># In case you want to limit the wait time,
do it here.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># Default is 0, which means unlimited. Unit
is seconds.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># wfc-timeout 0;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># Wait for connection timeout if this node
was a degraded cluster.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># In case a degraded cluster (= cluster
with only one node left)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US># is rebooted, this timeout value is used.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>degr-wfc-timeout 120; # 2 minutes.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>on rootx {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>device /dev/drbd0;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>disk /dev/sda4;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>address 192.168.2.5:7780;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>meta-disk internal;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>on rooty {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>device /dev/drbd0;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>disk /dev/sda4;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>address 192.168.2.6:7780;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>meta-disk internal;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I really need your help!<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 align=left
width="78%" style='width:78.34%'>
<tr>
<td width="100%" style='width:100.0%;padding:7.5pt 7.5pt 7.5pt 7.5pt'>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="91%"
style='width:91.72%'>
<tr>
<td width="100%" style='width:100.0%;padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal style='mso-element:frame;mso-element-frame-hspace:2.25pt;
mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:
column;mso-height-rule:exactly'><b><span lang=EN-US style='font-size:8.0pt;
font-family:"Verdana","sans-serif"'> <o:p></o:p></span></b></p>
<p class=MsoNormal style='mso-element:frame;mso-element-frame-hspace:2.25pt;
mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:
column;mso-height-rule:exactly'><b><span lang=EN-US style='font-size:8.0pt;
font-family:"Verdana","sans-serif"'><o:p> </o:p></span></b></p>
<p class=MsoNormal style='mso-element:frame;mso-element-frame-hspace:2.25pt;
mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:
column;mso-height-rule:exactly'><b><span style='font-size:8.0pt;font-family:
"Verdana","sans-serif"'>Cordialement,<o:p></o:p></span></b></p>
<p class=MsoNormal style='mso-element:frame;mso-element-frame-hspace:2.25pt;
mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:
column;mso-height-rule:exactly'><b><span style='font-size:8.0pt;font-family:
"Verdana","sans-serif"'><o:p> </o:p></span></b></p>
<p class=MsoNormal style='mso-element:frame;mso-element-frame-hspace:2.25pt;
mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:
column;mso-height-rule:exactly'><b><span style='font-size:8.0pt;font-family:
"Verdana","sans-serif"'><o:p> </o:p></span></b></p>
<p class=MsoNormal style='mso-element:frame;mso-element-frame-hspace:2.25pt;
mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:
column;mso-height-rule:exactly'><b><span style='font-size:8.0pt;font-family:
"Verdana","sans-serif"'>Edwige ODEDELE</span></b><span style='font-size:
8.0pt;font-family:"Verdana","sans-serif"'><br>
Apprentie Réseaux et Sécurité </span><span style='font-size:8.0pt;
font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" style='width:100.0%;padding:0cm 0cm 7.5pt 33.75pt'></td>
</tr>
</table>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>