<html><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000"><span style="font-weight:
bold;">Phillpp</span>,<br>
<br>
Thanks. I managed get it backup, I just create a new resource and move
the data over. I still have the resource in place and want to play with
recovering it. Always good to practice getting out of such issues.
Have a few questions?<br>
<br>
<span>
</span> What command do I use to try to build the block device? I
would assume that is what needs to happen then sync from secondary.<br>
<br>
You said there is an online method to resizing a disk. I haven't see
anything on that. I am using LVM on top of DRBD9. Do you have a
resource or the command you can share. I am using lvresize, parted and
drbdadm resize. But can't be done online. I would love to be able to do
a resize online.<br>
<br>
Thanks again.<br>
<br>
<br>
<a moz-do-not-send="true" href="mailto:philipp.marek@linbit.com"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Philipp Marek</a>
<blockquote style="border: 0px none;"
cite="mid:20160811062821.diutdzoakkvsua7x@cacao.linbit" type="cite">
<div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="width:100%;border-top:1px solid #EDEEF0;padding-top:5px"> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
right;"> <font color="#9FA2A5"><span style="padding-left:6px">August
11, 2016 at 1:28 AM</span></font></div> </div></div>
<div style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody"><div>Hi Jason,<br><br></div><div><!---->This
sounds as if you did an offline resize, and you didn't have the old <br>size
stored in "/var/lib/drbd/drbd-minor-100.lkbd", so now the DRBD <br>metadata
can't be found anymore.<br><br>If you can find out the exact old size
(LVM backup files, logfiles, <br>monitoring, etc.), you can try to
create that file with a content like<br><br>
<size-in-bytes><tab>/dev/drbdpool/vm-105-disk-1_00 <br><br>and
then try a<br><br> drbdadm adjust all<br><br><br>Better use online
resize next time.<br></div></div>
<div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="width:100%;border-top:1px solid #EDEEF0;padding-top:5px"> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
        <a moz-do-not-send="true" href="mailto:jason@securityarsenal.com"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Jason<br>
</a></div> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
right;"> <font color="#9FA2A5"><span style="padding-left:6px">August
10, 2016 at 10:46 AM</span></font></div> </div></div>
<div style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody">I did a resize of a resource. I
have done many times before. This is
the first time on the DRBD9 9.0.3 release.
<br>
<br>I performed the resize. Everything came up fine. Then the primary
changed to diskless after starting the resource. The system is still up
and running. I tried to migrate to secondary but it fails to move with
no errors.
<br>
<br>So Primary is showing Diskless. Secondary is showing UpToDate.
<br>
<br>On Primary I get this when trying to adjust:
<br>
<br>drbdadm adjust vm-105-disk-1
<br>No valid meta data found Command 'drbdmeta 100 v09
/dev/drbdpool/vm-105-disk-1_00 internal apply-al' terminated with exit
code 255
<br>
<br>Any ideas? Is primary writing to the secondary? So to recover,
what
should I do? Force stop the VM by removing the fence and have the
primary disregard its data for that resource to fix the diskless state?
Does anyone know of another method to resolve this?
<br>
<br>
</div>
</blockquote>
<div class="moz-signature">
<br>
</div>
</body></html>