[DRBD-user] problem with meta-disk on /dev/md1

Ralf Gross Ralf-Lists at ralfgross.de
Mon Dec 4 19:25:07 CET 2006

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


Hi,

I changed my config from internal to external meta-data. There is no
important data on the drbd device, so I'm not worried about old (meta)
data.

I created a raid 1 device /dev/md1 on both server. I couldn't find
anything about meta-data on a raid device, but I found some postings with
meta-data on lvm.

/proc/mdstat
md1 : active raid1 sda3[0] sdb3[1]
      1975872 blocks [2/2] [UU]


Afterwards I changed the drbd.conf file for all 3 resources on both server.

..
meta-disk /dev/md1 [0];
...
meta-disk /dev/md1 [1];
...
meta-disk /dev/md1 [2];


But now drbd does not start at all - no error messages.

# /etc/init.d/drbd start
Starting DRBD resources:    [ d0


/var/log/messages
kernel: [  685.217651] drbd: initialised. Version: 0.7.20 (api:79/proto:74)
kernel: [  685.217655] drbd: SVN Revision: 2260 build by root at ubuntu7600,
2006-12-04 17:58:59
kernel: [  685.217657] drbd: registered as block device major 147
kernel: [  686.304882] drbd0: resync bitmap: bits=366210812 words=5722044
kernel: [  686.304892] drbd0: size = 1396 GB (1464843248 KB)
-- MARK --


/dev/drbd*
brw-rw---- 1 root disk 147, 0 2006-12-04 18:59 /dev/drbd0
brw-rw---- 1 root disk 147, 1 2006-12-04 18:59 /dev/drbd1
brw-rw---- 1 root disk 147, 2 2006-12-04 18:59 /dev/drbd2
brw-rw---- 1 root disk 147, 3 2006-12-04 18:59 /dev/drbd3
brw-rw---- 1 root disk 147, 4 2006-12-04 18:59 /dev/drbd4


Is there something I have to do if I move the meta-data from internal to
external? I don't want  to keep the data,  I'm starting from scratch. Is
the md device a problem?

ralf





More information about the drbd-user mailing list