<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Tim,<br>
<br>
The error message is perfectly clear.<br>
<br>
Try sudo drbdadm create-md r0<br>
<br>
You've defined the resource as r0, so tell drdb to create r0...<br>
<br>
Dirk<br>
<br>
<br>
<div class="moz-cite-prefix">Tim Smith schreef op 12-8-2014 12:34:<br>
</div>
<blockquote
cite="mid:1407839680.26467.YahooMailNeo@web172802.mail.ir2.yahoo.com"
type="cite">
<pre wrap="">Hi,
I'm struggling with the totally incompressible and badly worded error messages in DRBD !
8.4.4-1ubuntu1 (as bundled with Ubuntu 14.04LTS)
I have tried a million different styles of config file writing and none of them work ! All of them generate the stupid error message above that doesn't tell me anything.
The nearest thing I've found to an answer on Google is a smug post in 2009 from someone who told someone else "Well, "resource" is not defined in your config, but "r0" is. Try that
instead :)" .... well that's a silly answer that doesn't tell me anything either !
So please, could someone tell me what I should be doing to make this work.
And yes, uname -n does return "XXX-vm02-bk01" and "XXX-vm02-bk01".
Thank you !
Tim
$ sudo drbdadm create-md resource
'resource' not defined in your config (for this host).
$ cat /etc/drbd.d/global_common.conf
global {
usage-count no;
}
common {
net {
protocol C;
cram-hmac-alg "sha512";
shared-secret "none_of_your_business";
}
}
$ cat r0.res
resource r0 {
device minor 1;
disk /dev/raidVolgrp/raidLv;
meta-disk internal;
floating 10.170.177.75:7789; # Note that I have also tried with these two lines
floating 10.170.177.77:7789; # disabled, and the below two stanzas enabled
#on XXX-vm02-bk01 {
# address 10.170.177.75:7789; # Note that I have also tried with
# device /dev/drbd1; # the device, disk and meta disk enabled here
# disk /dev/raidVolgrp/raidLv; # and disabled in the general section at the top
# meta-disk internal;
#}
#on XXX-vm01-bk01 {
# address 10.170.177.77:7789;
# device /dev/drbd1;
# disk /dev/raidVolgrp/raidLv;
# meta-disk internal;
#}
}
_______________________________________________
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>
<div class="moz-signature">-- <br>
<title>ProActive Software</title>
<link href="http://fonts.googleapis.com/css?family=Lato:400"
rel="stylesheet" type="text/css">
<style type="text/css">
html, body, table {
        font-family:                        Lato;
        font-size:                                12px;
}
a {
        color:                                        #25aae1;
        text-decoration:                none;
}
</style><a href="http://www.proactive.nl"><img alt=""
src="cid:part1.09060800.06090500@proactive.nl" width="170"
border="0" height="49"></a><br>
<br>
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td width="20"><b>T</b></td>
<td>023 - 5422299</td>
</tr>
<tr>
<td width="20"><b>W</b></td>
<td><a href="http://www.proactive.nl">www.proactive.nl</a></td>
</tr>
</tbody>
</table>
<br>
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td><a href="https://www.linkedin.com/in/dirkbonenkamp"><img
src="cid:part4.01030007.04060004@proactive.nl"
alt="LinkedIn" width="25" border="0" height="25"></a></td>
<td><a href="https://twitter.com/ProActive_nl"><img
src="cid:part6.03030508.09010209@proactive.nl"
alt="Twitter" width="25" border="0" height="25"></a></td>
<td><a href="http://www.youtube.com/user/ProActiveSoftware"><img
src="cid:part8.01050103.03000204@proactive.nl"
alt="YouTube" width="25" border="0" height="25"></a></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>