On 09/02/2016 06:05 PM, Jean-Daniel TISSOT wrote:
> Hi list,
>
> I remark i have a file /var/lib/drbd.d/drbdmanage_vm-100-disk-2.res [...]
> If i reboot a node, this file disappear on this node [...]
> [...] if i do drbdadm connect vm-100-disk-2 i receive :
> 'vm-100-disk-2' not defined in your config (for this host).
>
The DRBD resources on ProxMox with DRBD9 are managed by drbdmanage
instead of just by drbdadm.
You can run:
drbdmanage export vm-100-disk-2
which will recreate the configuration file in /var/lib/drbd.d for use
with drbdadm

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).

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)

-- 
Robert Altnoeder
DRBD - Corosync - Pacemaker
+43 (1) 817 82 92 - 0 <tel:43181782920>
robert.altnoe...@linbit.com <mailto:robert.altnoe...@linbit.com>

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.

_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to