<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 12/02/16 12:34, Adam Goryachev
wrote:<br>
</div>
<blockquote cite="mid:56BD36B0.5040302@websitemanagers.com.au"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
Hi,<br>
<br>
Can anyone advise the steps needed to "prepare" my LV which is
currently on-disk format v08 so that I can upgrade it to v09 with
additional sync nodes?<br>
<br>
ie, <br>
lvextend -L+xx /dev/vg0/drbdspace<br>
How to calculate xx ?<br>
</blockquote>
<br>
Wow, after lots of searching, I ask the question, and two minutes
later, I found half the answer (sorry for that)<br>
So, I now see:
<a class="moz-txt-link-freetext" href="http://drbd.linbit.com/users-guide-9.0/ch-internals.html#s-metadata">http://drbd.linbit.com/users-guide-9.0/ch-internals.html#s-metadata</a><br>
Which shows a formula for calculating the metadata as:<br>
C / 2^18 X 8 X N + 72<br>
Where C is the device size in sectors and N is the number of peers.
<br>
<br>
However, I would guess some of that space is already reserved, for
the two peers I already have? Also, the rest of the questions still
apply, on how will DRBD find the old signature at a different offset
to normal, etc...<br>
<br>
<blockquote cite="mid:56BD36B0.5040302@websitemanagers.com.au"
type="cite">
<pre class="screen">drbdadm -v --max-peers=<N> create-md <resources></pre>
If the size of the device has changed, will drbdadm still "find"
the old v08 signature that it needs to update? I think the DRBD
signature is at the end of the device, but now the end of the
device has changed....<br>
<br>
Also, I wasn't able to find much (any) information on how to
migrate to drbdmanage. It almost seems like it would be a
completely manual process, managing the old style config files
manually, creating the new drbdmanage based device, then migrate
the data from the old to the new, etc... Ideally, there would be
some automated solution to import configs and devices/etc, and
have drbdmanage do the "conversion/migration" itself.<br>
<br>
Finally, just how "stable/reliable" is v9? How do you use it, what
issues have you seen? Is it faster/slower or more stable/less
stable etc than v8.4?<br>
<br>
Regards,<br>
Adam<br>
<div class="moz-signature">-- <br>
Adam Goryachev Website Managers <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="http://www.websitemanagers.com.au">www.websitemanagers.com.au</a></div>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
Adam Goryachev
Website Managers
<a class="moz-txt-link-abbreviated" href="http://www.websitemanagers.com.au">www.websitemanagers.com.au</a></div>
</body>
</html>