<div dir="ltr"><br><div><br></div><div><div>hi,</div><div>did try posting this before, but it looks like it didn&#39;t make it to the list. </div><div><br></div><div>i have two servers running drbd 8.3.11 on ubuntu 12.04</div>
<div><br></div><div>i have two resources on /dev/sdb  (sdb1 and sdb2)</div><div>and one resource on dev/sdc  (sdc1)</div><div><br></div><div>the metadata is kept on /dev/sda2</div><div><br></div><div>/dev/drbd0 uses sdb1  metadata is /dev/sda2[0]</div>
<div>/dev/drbd1 uses sdb2  metadata is /dev/sda2[1]</div><div>/dev/drbd2 uses sdc1  metadata is /dev/sda2[2]</div><div><br></div><div>drbd0 has a jfs filesystem containing iscsi config data</div><div>drbd1 is a blockio iscsitarget containing vm disk images</div>
<div>drbd2 is a fileio iscsitarget containing an ocfs2 partition</div><div><br></div><div>i need to move all these resources to larger disks, </div><div><br></div><div>if i leave the current resource disks attached, i can attach the new disks to one of the servers, currently unpartitioned, as /dev/sdd, and /dev/sde</div>
<div>on the other server, i can only attach one of the new disks without removing one of the current resource disks.</div><div><br></div><div>i&#39;ve looked at the documentation, and am still unsure of the best way forward.</div>
<div><br></div><div>having external metadata, it appears the new size should be recognized automatically, i can&#39;t do this online, since they are new disks, not just a resize. (plus i&#39;m not using LVM) doing it offline, it looks like i need to do both nodes at the same time, which gives me no way of moving the data over.</div>
<div><br></div><div>can i not replace the disks on the secondary node with the new disks, configured with the larger partitions, and let them do a full sync from the primary? then disconnect the primary, change the disks on that, and let that do another full re-sync from what was the secondary?</div>
<div><br></div><div><br></div><div>if not, what is the best way to get this done? downtime will not be an issue, this is currently in test, getting it ready for production, i cannot, however, afford to lose the data that is already on the drbd partitions. although if it can be done without downtime then good, i can get it procedure tested and documented in case it needs to be done in future when the systems are live.</div>
<div><br></div><div><br></div><div>thanks</div><div class=""><div id=":ue" class="" tabindex="0"><img class="" src="https://mail.google.com/mail/ca/u/0/images/cleardot.gif"></div></div><span class=""><font color="#888888"><div style="font-family:arial,sans-serif;font-size:13px">
lee.</div><div><br></div></font></span></div></div>