<div dir="ltr">I think that dual primary option is disabled by default in linstor/drbd9. So, in order to activate it you will have to either activate it globally by using "--allow-two-primaries" option in "linstor controller" options (that's if you wish all current and future linstor resources to have that option enabled by default which usually it's not a good idea.), or explicitly enable it per resource definition by using "linstor rd sp <rd_name> DrbdOptions/Net/allow-two-primaries yes" .<div><br></div><div>Gianni</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 30 Sep 2019 at 06:36, Michael Roth <<a href="mailto:miroth70@gmail.com">miroth70@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br> Hi,
<br>
<br>i've a problem with drbd9 and auto-promote.
<br>
<br>I mount a device on Node #1 , everything is fine. But if I try to mount
the same device on Node # I got the following error.
<br>
<br>mount: /dev/drbd1000 is write-protected, mounting read-only
<br>mount: mount /dev/drbd1000 on /mnt failed: Wrong medium type
<br>
<br>In /var/log/messages I can see the following message
<br>
<br>Sep 27 08:27:21 drbd02 kernel: drbd testvolume: Auto-promote failed:
Multiple primaries not allowed by config
<br>
<br>I'm using a three node drbd 9 cluster with linstor for management.
<br>The strange thing about it is that the existing volumes are still
working with auto-promote, just new volumes have the problem.
<br>
<br>I build a new cluster for testing, with the same result.
<br>
<br>I guess that the upgrade to CentOS 7.7 could have something to do with
that behaviour, I'll check that in the next days.
<br>
<br>I'm thankful for every hint !
<br>
<br>Best regards,
<br>Michael
<br> <br></div>
_______________________________________________<br>
Star us on GITHUB: <a href="https://github.com/LINBIT" rel="noreferrer" target="_blank">https://github.com/LINBIT</a><br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
<a href="https://lists.linbit.com/mailman/listinfo/drbd-user" rel="noreferrer" target="_blank">https://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
</blockquote></div>