Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
I am experimenting with drbd-8.0_pre6 under gentoo-2.6.18-r1 on an
amd64 system.
When I start drbd, it claims:
Failure: (119) No valid meta-data signature found.
and the log says:
Dec 1 19:01:07 [kernel] [ 192.645319] drbd0: disk( Diskless -> Attaching )
Dec 1 19:01:07 [kernel] [ 192.645418] drbd0: unexpected md_size:
262144 (expected 975872)
Dec 1 19:01:07 [kernel] [ 192.645422] drbd0: bitmap not locked in bm_unlock
Dec 1 19:01:07 [kernel] [ 192.645425] drbd0: disk( Attaching -> Diskless )
Dec 1 19:01:07 [kernel] [ 192.645751] drbd0: drbd_bm_resize called
with capacity == 0
--
So I execute drbdadm create-md all and it says :
Valid meta-data already in place, recreate new?
[need to type 'yes' to confirm] yes
Creating meta data...
initialising activity log
initialising bitmap (131036 KB)
100%
New drbd meta data block successfully created.
Ignoring additional arguments
This repeats for twice for the remaining two meta-data portions.
--
The init-script had started drbd, so I terminate it and it complains:
Failure: (127) MinorNotKnown
--
Then I restart it and it complains:
Failure: (114) Lower device is already mounted.
So I must reboot and when I start drbd, it complains as it did initially:
Failure: (119) No valid meta-data signature found.
--
The latest snapshot, 2609, seems to still have this problem.
----------------------------------------------------
Relevant portions of drbd.conf:
resource logs {
on kennedy1 {
address 192.168.1.13:7790;
disk /dev/sdc;
device /dev/drbd0;
meta-disk /dev/sdb[0];
}
on kennedy2 {
address 192.168.1.16:7790;
disk /dev/sdc;
device /dev/drbd0;
meta-disk /dev/sdb[0];
}
}
resource database {
on kennedy1 {
address 192.168.1.13:7791;
disk /dev/sdd;
device /dev/drbd1;
meta-disk /dev/sdb[1];
}
on kennedy2 {
address 192.168.1.16:7791;
disk /dev/sdd;
device /dev/drbd1;
meta-disk /dev/sdb[1];
}
}
resource homedrbd {
on kennedy1 {
address 192.168.1.13:7792;
disk /dev/sde;
device /dev/drbd2;
meta-disk /dev/sdb[2];
}
on kennedy2 {
address 192.168.1.16:7792;
disk /dev/sde;
device /dev/drbd2;
meta-disk /dev/sdb[2];
}
}
--
Maurice Volaski, mvolaski at aecom.yu.edu
Computing Support, Rose F. Kennedy Center
Albert Einstein College of Medicine of Yeshiva University