<div>hello all!</div><div><br></div><div>I have a two node primary/primary config.</div><div>My config is as follows:</div><div><br></div><div><div>resource r0 {</div><div> protocol C;</div><div> startup {</div><div> wfc-timeout 15; # non-zero wfc-timeout can be dangerous (<a href="http://forum.p">http://forum.p</a> <a href="http://roxmox.com/threads/3465-Is-it-safe-to-use-wfc-timeout-in-DRBD-configuration">roxmox.com/threads/3465-Is-it-safe-to-use-wfc-timeout-in-DRBD-configuration</a>)</div>
<div> degr-wfc-timeout 60;</div><div> become-primary-on both;</div><div> }</div><div> net {</div><div> cram-hmac-alg sha1;</div><div> shared-secret "password";</div><div> allow-two-primaries;</div>
<div> after-sb-0pri discard-zero-changes;</div><div> after-sb-1pri discard-secondary;</div><div> after-sb-2pri disconnect;</div><div> }</div><div>syncer {</div><div> rate 50M;</div><div> }</div><div>
<br></div><div> on node1 {</div><div> device /dev/drbd0;</div><div> disk /dev/sdb;</div><div> address <a href="http://172.16.35.2:7788">172.16.35.2:7788</a>;</div><div> meta-disk internal;</div><div> }</div>
<div> on node2 {</div><div> device /dev/drbd0;</div></div><div> disk /dev/sdb;</div><div> address <a href="http://172.16.35.1:7788">172.16.35.1:7788</a>;</div><div> meta-disk internal;</div><div> }</div><div>
}</div><div><br></div><div>The underlying block device (/dev/sdb) is a hardware raid-5 array on both nodes (total 500gb).</div><div>I tried to expand this device by adding additional hdd on each node (now 750gb).</div><div>
After that giving fdisk -l /dev/sdb I can see the new disk size on both nodes.</div><div>DRBD accesses directly the /dev/sdb device without underlying LV.</div><div><br></div><div>So after the expansion of the block device on both nodes I get:</div>
<div><br></div><div><div>cat /proc/drbd</div><div>version: 8.3.10 (api:88/proto:86-96)</div><div>GIT-hash: 5c0b0469666682443d4785d90a2c603378f9017b build by phil@fat-tyre, 2011-01-28 12:17:35</div><div> 0: cs:Unconfigured</div>
</div><div><br></div><div>drbdadm up r0:</div><div><br></div><div>Failure: (119) No valid meta-data signature found.</div><div><br></div><div> ==> Use 'drbdadm create-md res' to initialize meta-data area. <==</div>
<div><br></div><div>Command 'drbdsetup 0 disk /dev/sdb /dev/sdb internal --set-defaults --create-device' terminated with exit code 10</div><div><br></div><div>It seems like it can not see the meta data on both nodes on /dev/sdb?</div>
<div><br></div><div>Now giving:</div><div><br></div><div>drbdadm create-md r0:</div><div><br></div><div>pvs stderr: /dev/sdb: Skipping (regex)</div><div>pvs stderr: Failed to read physical volume "/dev/sdb"</div>
<div>pvs stderr: Unlocking /run/lock/lvm/P_global</div><div>pvs stderr: _undo_flock /run/lock/lvm/P_global</div><div><br></div><div>md_offset 75161923584</div><div>al_offset 75161890816</div><div>bm_offset 75159597056</div>
<div><br></div><div>Found LVM2 physical volume signature</div><div> 73398044 kB left usable by current configuration</div><div>Could not determine the size of the actually used data area.</div><div><br></div><div>Device size would be truncated, which</div>
<div>would corrupt data and result in</div><div>'access beyond end of device' errors.</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/sdb internal create-md' terminated with exit code 40</div><div>drbdadm create-md r0: exited with code 40</div>
<div><br></div><div>Any suggestions please?</div><div><br></div><div>Thank you <br><div><br></div></div><br>