On Thu, Oct 22, 2009 at 4:21 PM, Lars Ellenberg <span dir="ltr"><<a href="mailto:lars.ellenberg@linbit.com">lars.ellenberg@linbit.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Thu, Oct 22, 2009 at 02:44:45PM -0400, Jean-Francois Chevrette wrote:<br>
> Hi Ian,<br>
><br>
> when creating a new resource which doesn't have any data that you want<br>
> to keep on either node, you can use the following:<br>
><br>
> # drbdadm -- --clear-bitmap new-current-uuid drbd0<br>
><br>
> You can see the documentation here and make sure this applies to your<br>
> situation:<br>
> <a href="http://www.drbd.org/users-guide/re-drbdadm.html" target="_blank">http://www.drbd.org/users-guide/re-drbdadm.html</a><br>
><br>
> Then, your second issue should not occur as both nodes will now have a<br>
> synchronized bitmap. It least that's how I understand it.<br>
<br>
</div>Right.<br>
The necessary procedure is best documented in the drbdsetup manpage,<br>
which is online as well:<br>
<a href="http://www.drbd.org/users-guide/re-drbdsetup.html" target="_blank">http://www.drbd.org/users-guide/re-drbdsetup.html</a><br>
<br></blockquote><div><br>Lars and others who replied --<br><br>This procedure was exactly what I was looking for. It was quick and painless. Following this (instead of the set-gi thing I had mentioned previously) also fixed the issue that I had been having with a full sync being required after reboot. Which is excellent!<br>
<br>For what it's worth, I would suggest that this documentation could possibly be made more prominent than it is at the moment. While it is in one of the man pages, I suspect that I am not the only person who is going to overlook it because we're used to using drbdadm as the interface to drbdsetup. I had looked through the drbdadm man page in detail, on top of Google and everything else, but hadn't found this because it never occured to me to look at the drbdsetup page.<br>
<br>Thanks again for the pointers!<br><br>- Ian<br></div></div>