<div dir="auto">I'm not a developer, so I cannot comment on how difficult it is to acomplish this. I'm sure that there must be good reasons behind it, so I leave that to the experts. 😊</div><div dir="auto"><br></div><div dir="auto">What I would personally would like to have is an option to "rename" or "update" a resource while _not_ "InUse" (i.e while the resource is down cluster wide). This "should" impose less risk in my opinion, as there may be less chances for something to go terribly wrong.</div><div dir="auto">As the OP already mentioned, I would like to avoid having to clone the resource for something as simple (in my eyes) as renaming vm-101-disk-1 to vm-101-disk-2 while preserving the original resource data/metadata.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 20 May 2021 at 16:39, Dr. Volker Jaenisch <<a href="mailto:volker.jaenisch@inqbus.de">volker.jaenisch@inqbus.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif">Dear
Andreas!</font></font></p>
<blockquote type="cite">
<pre>@Volker the community will be very happy if you provide a consistent and
reliable patch.
</pre>
<p></p>
</blockquote>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif">Thank
you for your confidence in me. <br>
</font></font></p>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif">But,
sorry, I program in Python, Cython and VUE.JS, and not in
Java. I fixed some things in drbdmanage (</font></font><font size="+1"><font face="Helvetica, Arial, sans-serif"><font size="+1"><font face="Helvetica, Arial, sans-serif">which
was the Python</font></font> predecessor of linstor) and
the proxmox interface for our internal purpose but Java is
definitively not my domain.</font></font></p>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif">On the
other hand according to their GH post the problem is not the
code only, but the DB structure and the overall design. Such
things cannot be fixed by a simple patch from a user. Such bad
weeds hat to be rooted out, deeply.<br>
</font></font></p>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif">I have
never said that it will be easy to fix, I just stated, that it
seems to be a mess if it is not easy to fix. I still cannot
even grasp the reality that vm-X-disk-Y is in any way the
primary identifier in linstor. I still hope that the GH
statement was incorrect or misleading.<br>
</font></font></p>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif">Before
any patch could be thought of the linstor developers should
give the users at least a workaround how to fix this by hand.
</font></font><font size="+1"><font face="Helvetica, Arial,
sans-serif"><font size="+1"><font face="Helvetica, Arial,
sans-serif">In the 10 year doing clusters with DRBD it is
the first time that I have the need to rename a resource.
</font></font>It is truly a corner case but an IMHO
important one. The positive resonance here shows that I am not
the only one with this particular problem.<br>
</font></font></p>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif">Proxmox
for instance also states that </font></font><font size="+1"><font face="Helvetica, Arial, sans-serif"><font size="+1"><font face="Helvetica, Arial, sans-serif"> (swapping VM devices)
</font></font>this is a corner case, and that they do not
have a Button for it. But in the same instant they point to a
documented workaround where the problem can be solved by
editing some config files. This is IMHO really enough to deal
with a corner case. <br>
</font></font></p>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif">Even If
I had to shut down my VM to fix the resource name it would be
a doable workaround. If you take into account the time to do
the alternative which is copying a terabyte of email storage
from one resource to an other simply because you cannot change
the resource name, even shutting down a VM to rename a
resource by hand gets some appeal.<br>
</font></font></p>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif"><br>
</font></font></p>
<font size="+1"><font face="Helvetica, Arial, sans-serif">I am quite
disappointed by linbit in the last years. DRBD was and still is
a top notch performance, a really good and reliable product,
which I would miss tremendously if it would vanish. But after
the dumping of<br>
</font></font>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif">drbdmanage,
the DRBD-Proxmox struggle and the introduction of linstore,
working with DRBD9 has become a real pain.</font></font></p>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif">I never
thought I would, but I think I will have my eyes open in the
future to look for alternatives.</font></font></p></div><div>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif"><br>
</font></font></p>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif">Cheers,</font></font></p>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif">Volker</font></font></p>
<blockquote type="cite">
</blockquote>
<pre cols="72">--
=========================================================
inqbus Scientific Computing Dr. Volker Jaenisch
<a href="https://www.google.com/maps/search/Hungerbichlweg+3?entry=gmail&source=g">Hungerbichlweg 3</a> +49 (8860) 9222 7 92
86977 Burggen <a href="https://inqbus.de" target="_blank">https://inqbus.de</a>
=========================================================</pre>
</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></div>