[DRBD-user] Meta device too small in 8.3.2

Gianluca Cecchi gianluca.cecchi at gmail.com
Fri Jul 17 16:51:30 CEST 2009

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Fri, Jul 17, 2009 at 4:22 PM, Gianluca
Cecchi<gianluca.cecchi at gmail.com> wrote:
> drbd is 8.3.2 and O.S. is F11 x86_64 with kernel 2.6.29.5-191.fc11.x86_64
>
> I read in previous posts that an external meta device of about 4Mb is
> sufficient for about 100Gb od drbd device
> (http://lists.linbit.com/pipermail/drbd-user/2009-February/011404.html)
>
> In my case with 8.3.2 it seems that 8MB are not enough for 52Gb.
> I have:

Ok, perhaps it was my fault understanding man page.
It seems that when you use meta-disk you have to use index and in that
case you need at least 256MB????
Initially I used
meta-disk  /dev/cciss/c0d0p4;

but I got a syntax error about
expected [ instead of ;
so I assumed that it is mandatory to use the index.... but probably it
is not the case?

Anyway I configured flexible-meta-disk instead of meta-disk

flexible-meta-disk  /dev/cciss/c0d0p4;
instead of
meta-disk  /dev/cciss/c0d0p4[0];

And now I  'm able to run (after recreating meta device):
[root at virtfed ~]# drbdadm up r0
[root at virtfed ~]# echo $?
0
[root at virtfed ~]# cat /proc/drbd
version: 8.3.2 (api:88/proto:86-90)
GIT-hash: dd7985327f146f33b86d4bff5ca8c94234ce840e build by
root at virtfed.domainname.com, 2009-07-16 11:03:37
 0: cs:WFConnection ro:Secondary/Unknown ds:Inconsistent/DUnknown C r----
    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:54658688



More information about the drbd-user mailing list