<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
If I have understood how the meta-data space is allocated then I
believe I have found a documentation bug in in
<a class="moz-txt-link-freetext" href="http://www.drbd.org/users-guide/re-drbdconf.html">http://www.drbd.org/users-guide/re-drbdconf.html</a>:<br>
<br>
<dl class="variablelist">
<dt><span class="term"><code class="option">meta-disk internal</code>,
</span><span class="term"><code class="option">meta-disk <em
class="replaceable"><code>device</code></em></code>, </span><span
class="term"><code class="option">meta-disk <em
class="replaceable"><code>device</code></em> [<em
class="replaceable"><code>index</code></em>]</code></span></dt>
<dd>
<p> Internal means that the last part of the backing device is
used to store the meta-data. The size of the meta-data is
computed based on the size of the device.</p>
<p>When a <em class="replaceable"><code>device</code></em> is
specified, either with or without an <em class="replaceable"><code>index</code></em>,
DRBD stores the meta-data on this device. Without <em
class="replaceable"><code>index</code></em>, the size of the
meta-data is determined by the size of the data device. This
is usually used with LVM, which allows to have many variable
sized block devices. The meta-data size is 36kB +
Backing-Storage-size / 32k, rounded up to the next 4kb
boundary. (Rule of the thumb: 32kByte per 1GByte of storage,
rounded up to the next MB.)</p>
<p>When an <em class="replaceable"><code>index</code></em> is
specified, each index number refers to a fixed slot of
meta-data of 128 MB, which allows a maximum data size of 4 GB.
This way, multiple DBRD devices can share the same meta-data
device. For example, if /dev/sde6[0] and /dev/sde6[1] are
used, /dev/sde6 must be at least 256 MB big. Because of the
hard size limit, use of meta-disk indexes is discouraged.</p>
</dd>
</dl>
<br>
For indexed meta-data slots should that be 4TB instead of 4GB? 128
MB contains 4096 32kB units, if each unit can back 1GB data then
this is 4TB.<br>
<br>
Thanks,<br>
James<o:p> <br>
</o:p>
<div class="moz-signature">
<div id="signature">
</div>
</div>
</body>
</html>