<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Edwige,<br>
<br>
What does "fdisk -l /dev/sda" reply on the failing node ?<br>
<br>
Weren't you using LVM before ?<br>
<br>
Best regards,<br>
<br>
Pascal.<br>
<br>
Le 23/08/2011 17:00, Edwige Odedele a écrit :
<blockquote cite="mid:000601cc61a5$708a1f20$519e5d60$@fr"
type="cite">
<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]-->
<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" style="width: 78.34%;"
align="left" border="0" cellpadding="0" cellspacing="0"
width="78%">
<tbody>
<tr>
<td style="width: 100%; padding: 7.5pt;" width="100%">
<table class="MsoNormalTable" style="width: 91.72%;"
border="0" cellpadding="0" cellspacing="0" width="91%">
<tbody>
<tr>
<td style="width: 100%; padding: 0cm;"
width="100%">
<p class="MsoNormal" style=""><b><span
style="font-size: 8pt; font-family:
"Verdana","sans-serif";"
lang="EN-US"> <o:p></o:p></span></b></p>
<p class="MsoNormal" style=""><b><span
style="font-size: 8pt; font-family:
"Verdana","sans-serif";"
lang="EN-US"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style=""><b><span
style="font-size: 8pt; font-family:
"Verdana","sans-serif";">Cordialement,<o:p></o:p></span></b></p>
<p class="MsoNormal" style=""><b><span
style="font-size: 8pt; font-family:
"Verdana","sans-serif";"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style=""><b><span
style="font-size: 8pt; font-family:
"Verdana","sans-serif";"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style=""><b><span
style="font-size: 8pt; font-family:
"Verdana","sans-serif";">Edwige
ODEDELE</span></b><span style="font-size:
8pt; font-family:
"Verdana","sans-serif";"><br>
Apprentie Réseaux et Sécurité </span><span
style="font-size: 8pt; font-family:
"Verdana","sans-serif";"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="width: 100%; padding: 0cm 0cm 7.5pt 33.75pt;"
width="100%"><br>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
drbd-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
</pre>
</blockquote>
<br>
</body>
</html>