[DRBD-user] Proxmox:Linstore, new third node, all volumes diskless, why?

Dr. Volker Jaenisch volker.jaenisch at inqbus.de
Sun Dec 6 21:52:05 CET 2020


Dear Gábor!

Thank you so much!

This was exactly what I was looking for:

linstor resource toggle-disk hydra1 vm-118-disk-1 -s pool_drbd

Works like a charm.

Cheers,

Volker


On 03.12.20 07:32, Gábor Hernádi wrote:
> Hi,
>
> > But all the volumes are now and remain in diskless state on Hydra1?
>
> when you added the third node, the command `node create Hydra1`
> triggered Linstor's auto-tiebreaker feature. DRBD can use quorum[1]
> (useful if your cluster gets split), but needs 3 peers for that (so
> there can be a majority of still connected nodes, which is kinda
> difficult with only 2 peers). That is the reason why Linstor
> automatically deploys all resources where you already had 2 diskful
> replicas to the third as diskless peer. You can also check the .res
> files to see that quorum is now active on all your DRBD-resources.
>
> A Linstor-managed tiebreaking resource is by default hidden/filtered
> in the `resource list`. You can still show them with `resource list
> --all`.
>
> > But in the end the DRBD-Device is still diskless on Hydra1
>
> That will also stay this way until you tell Linstor to do something
> differently.
>
> > How do I get the volumes also DRBD-replicated onto the third node?
>
> Usually Linstor complains if you try to create a resource while the
> resource is already deployed on the given node ("resource already
> exists" or something like that).
> However, Linstor's tiebreaker is different as that one allows you to
> either `resource create Hydra1 $resource -s ...` or do a `resource
> toggle-disk Hydra1 $resource -s ...`, whereas for the special case of
> Linstor tiebreakers, the first method will internally be mapped to the
> second one :)
>
> For me everything looks normal / as expected.
>
> Best regards,
> Gabor
>
>
> [1]
> https://www.linbit.com/drbd-user-guide/drbd-guide-9_0-en/#s-feature-quorum
> <https://www.linbit.com/drbd-user-guide/drbd-guide-9_0-en/#s-feature-quorum>

-- 
=========================================================
   inqbus Scientific Computing    Dr.  Volker Jaenisch
   Hungerbichlweg 3               +49 (8860) 9222 7 92
   86977 Burggen                     https://inqbus.de
=========================================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20201206/86b95f3d/attachment.htm>


More information about the drbd-user mailing list