hi folks,<div><br></div><div>I tried to migrate a 0.7.11 DRDB cluster to a 8.3.1 but it fails.</div><div><br></div><div>I follow the procedure described in Florian's blog (<a href="http://fghaas.wordpress.com/2007/10/03/step-by-step-upgrade-from-drbd-07-to-drbd-8/">http://fghaas.wordpress.com/2007/10/03/step-by-step-upgrade-from-drbd-07-to-drbd-8/</a>).</div>
<div><br></div><div>But when I tried to migrate the metadata, I got some errors.</div><div><br></div><div>I have have 2 resources to migrate: vol0 and vol1. Each resource is configure exactly the same way (on local disk, metadata are in the first partition and the data on the second partition). Each resource has one dedicated physical drive.</div>
<div><br></div><div>Errors returned for each resource is different:</div><div><br></div><div><br></div><div>/* FIRST RESOURCE */</div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div>
[root@op0men07s ~]# drbdadm create-md vol0</div><div>md_offset 0</div><div>al_offset 4096</div><div>bm_offset 36864</div><div><br></div><div>Found ext3 filesystem</div><div>This would corrupt existing data.</div><div>If you want me to do this, you need to zero out the first part</div>
<div>of the device (destroy the content).</div><div>You should be very sure that you mean it.</div><div>Operation refused.</div><div><br></div><div>Command 'drbdmeta 0 v08 /dev/cciss/c0d1p1 0 create-md' terminated with exit code 40</div>
<div>drbdadm create-md vol0: exited with code 40</div><div><br></div><div><span class="Apple-style-span" style="border-collapse: separate; font-size: small;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-size: small;"><br>
</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: arial; font-size: small; ">/* SECOND RESOURCE */</span></div><div>[root@op0men07s ~]# drbdadm create-md vol1</div><div>md_offset 0</div>
<div>al_offset 4096</div><div>bm_offset 36864</div><div><br></div><div>Found some data</div><div> ==> This might destroy existing data! <==</div><div><br></div><div>Do you want to proceed?</div><div>[need to type 'yes' to confirm] ^C</div>
<div><br></div><div><br></div><div><br></div><div>Do you have any clue on what's going on and what to do to make it works.</div><div><br></div><div>Thx a lot.</div><div><br></div><div>++ Jerome</div></span></div>