Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
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:
[root at virtfed ~]# fdisk -l /dev/cciss/c0d0
Disk /dev/cciss/c0d0: 73.3 GB, 73372631040 bytes
255 heads, 32 sectors/track, 17562 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes
Disk identifier: 0x0005fbbd
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 51 204799+ 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/cciss/c0d0p2 51 4163 16777216 8e Linux LVM
/dev/cciss/c0d0p3 4163 17559 54658688 8e Linux LVM
/dev/cciss/c0d0p4 17560 17562 12240 83 Linux
and in drbd.conf
on virtfed.domainname.com {
device /dev/drbd0;
disk /dev/cciss/c0d0p3;
address 192.168.20.1:7788;
meta-disk /dev/cciss/c0d0p4[0];
}
but when I run:
drbdadm up r0
I get this:
0: Failure: (112) Meta device too small.
Command 'drbdsetup 0 disk /dev/cciss/c0d0p3 /dev/cciss/c0d0p4 0
--set-defaults --create-device --on-io-error=detach' terminated with
exit code 10
the same happens with the first part of the three commands embedded
into the up above:
drbdadm attach r0
0: Failure: (112) Meta device too small.
Command 'drbdsetup 0 disk /dev/cciss/c0d0p3 /dev/cciss/c0d0p4 0
--set-defaults --create-device --on-io-error=detach' terminated with
exit code 10
Do I have to free up more space in 8.3.2 for meta data? Or I have not
understood the meaning of meta-data and its indexes...?
Gianluca