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

2016-09-16 Thread Roberto Resoli
Il 16/09/2016 15:52, Jean-Daniel TISSOT ha scritto:
> After another reboot, some links disappears from
> /dev/drbd/by-disk/drbdpool and /dev/drbd/by-res.
...
> 
> Could anybody explain this ?

Look at this thread:

http://lists.linbit.com/pipermail/drbd-user/2016-August/023164.html

Bye,
rob


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


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

2016-09-16 Thread Jean-Daniel TISSOT
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 
>> 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
>
> -- 
> Bien cordialement, Jean-Daniel TISSOT 
> 
> Administrateur Systèmes et Réseaux
> Tel: +33 3 81 666 440 Fax: +33 3 81 666 568
>
> Laboratoire Chrono-environnement 
> 16, Route de Gray
> 25030 BESANÇON Cédex
>
> Plan et Accès 
> 
>
>
> ___
> drbd-user mailing list
> drbd-user@lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user

-- 
Bien cordialement, Jean-Daniel TISSOT 

Administrateur Systèmes et Réseaux
Tel: +33 3 81 666 440 Fax: +33 3 81 666 568

Laboratoire Chrono-environnement 
16, Route de Gray
25030 BESANÇON Cédex

Plan et Accès 

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