<div dir="auto">I believe that there two different things that need to be done. First is to expand DRBD backing device and then after resize the volume at DRBD level. If the backing device is LVM, then use the steps required by that to expand the LV. Once the LVs have been expand on all nodes, then you can use "drbdadm resize" command to resize the DRBD volume. Consult drbdadm manpage and the DRBD user guide for further details.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 22 Jan 2024 at 16:06, Djerk Geurts <<a href="mailto:djerkg@gmail.com">djerkg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div style="line-break:after-white-space">Hi all,<div><br></div><div><font style="color:rgb(0,0,0)">What’s the best way to expand a DRBD volume by adding disks to the nodes? I know a second volume can be created, but this is inefficient and I’ll need a volume larger than the disks and would like to use multiple disks for better throughput and IOPS.</font></div><div><font style="color:rgb(0,0,0)"><span><br></span></font></div><div>Can one add extra disks directly to a volume or should one use LVM to add a new PV to a VG, to resize the LV resource of a DRBD volume? What would the process be, if at all possible, to do so live without risking the data?</div><div><br></div><div>I’m familiar with the LVM process of resizing disks, but how would DRBD be informed of the resized volume?</div><div><br></div><div>Thanks,</div><div><br></div><div><br></div></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>