[DRBD-user] Proxmox VE 4.2 and DRBD 9 other problem

Jean-Daniel TISSOT Jean-Daniel.Tissot at univ-fcomte.fr
Fri Sep 16 15:52:04 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.


After another reboot, some links disappears from /dev/drbd/by-disk/drbdpool and /dev/drbd/by-res.

For example i have 3 VM so /dev/drbd100, /dev/drbd101 and /dev/drbd102 correspond to theses VM raw disks.
But in /dev/drbd/by-disk/drbdpool i have no more the link for vm-101-disk-1_00 to /dev/drbd100
and no directory /dev/drbd/by-res/vm-101-disk-1 with a link in it named 0 to /dev/drbd100

Could anybody explain this ?


Le 16/09/2016 à 15:02, Jean-Daniel TISSOT a écrit :
>
> Hi,
>
> After testing a little bit more, I see that I must do drbdmanage export "*" and drbd adjust all for retrieving  my configuration and having my VM resources updated. 
>
> Why does it not done automatically ?
>
> Is there any way to do that automatically in the boot process and when ?
>
> Thanks.
>
> Regards. Jean-Daniel
>
> Le 05/09/2016 à 11:54, Robert Altnoeder a écrit :
>> 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.
>>
>>
>>
>> _______________________________________________
>> drbd-user mailing list
>> drbd-user at lists.linbit.com
>> http://lists.linbit.com/mailman/listinfo/drbd-user
>
> -- 
> Bien cordialement, Jean-Daniel TISSOT <http://chrono-environnement.univ-fcomte.fr/spip.php?article457>
> Administrateur Systèmes et Réseaux
> Tel: +33 3 81 666 440 Fax: +33 3 81 666 568
>
> Laboratoire Chrono-environnement <http://chrono-environnement.univ-fcomte.fr/>
> 16, Route de Gray
> 25030 BESANÇON Cédex
>
> Plan et Accès <https://mapsengine.google.com/map/viewer?mid=zjsxW4ZzZPLY.kp2qPHUBD45c>
>
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user

-- 
Bien cordialement, Jean-Daniel TISSOT <http://chrono-environnement.univ-fcomte.fr/spip.php?article457>
Administrateur Systèmes et Réseaux
Tel: +33 3 81 666 440 Fax: +33 3 81 666 568

Laboratoire Chrono-environnement <http://chrono-environnement.univ-fcomte.fr/>
16, Route de Gray
25030 BESANÇON Cédex

Plan et Accès <https://mapsengine.google.com/map/viewer?mid=zjsxW4ZzZPLY.kp2qPHUBD45c>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20160916/a6fff9bd/attachment.htm>


More information about the drbd-user mailing list