<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 09/02/2016 06:05 PM, Jean-Daniel
TISSOT wrote:<br>
</div>
<blockquote
cite="mid:6abf94e2-9c33-4654-2b56-e2910a555364@univ-fcomte.fr"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<font size="-1">Hi list,<br>
<br>
I remark i have a file
/var/lib/drbd.d/drbdmanage_vm-100-disk-2.res [...]<br>
If i reboot a node, this file disappear on this node [...]</font><font
size="-1"><br>
</font></blockquote>
<blockquote
cite="mid:6abf94e2-9c33-4654-2b56-e2910a555364@univ-fcomte.fr"
type="cite"><font size="-1">[...] if i do drbdadm connect
vm-100-disk-2 i receive :<br>
'vm-100-disk-2' not defined in your config (for this host).<br>
</font><br>
</blockquote>
The DRBD resources on ProxMox with DRBD9 are managed by drbdmanage
instead of just by drbdadm.<br>
You can run:<br>
drbdmanage export vm-100-disk-2<br>
which will recreate the configuration file in /var/lib/drbd.d for
use with drbdadm<br>
<br>
This command will also implicitly start the drbdmanage server if it
is not yet started (otherwise, drbdmanage startup can be used to
start the drbdmanage server, which also starts all resources managed
by drbdmanage).<br>
<br>
Apart from that, since the resource appears to be running, but is
marked as Outdated and StandAlone, there might also be something
wrong with the resource itself. If the resource does not
reconnect/resync after a 'drbdadm adjust' command, the system log
should be checked for messages regarding the state of that resource
(such as e.g. a split-brain alert)<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<title></title>
Robert Altnoeder<br>
DRBD - Corosync - Pacemaker<br>
<a href="tel:43181782920"
style="color:#000000;text-decoration:none;">+43 (1) 817 82 92 -
0</a><br>
<a href="mailto:robert.altnoeder@linbit.com"
style="color:#000000;text-decoration:none;">robert.altnoeder@linbit.com</a><br>
<p>DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.</p>
</div>
</body>
</html>