[DRBD-user] Proxmox VE 4.2 and DRBD 9

Robert Altnoeder robert.altnoeder at linbit.com
Mon Sep 5 11:54:50 CEST 2016

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


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.altnoeder at linbit.com <mailto:robert.altnoeder at linbit.com>

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20160905/8483fe6b/attachment.htm>


More information about the drbd-user mailing list