[DRBD-user] DRBD and Raid1

thomas thomas at wi-inf.uni-essen.de
Tue Feb 17 15:08:38 CET 2004


I have 2 servers (Debian Woody) with scsi devices and I have a software
raid1 on the primary server.  
Now I got some problems while starting drbd on the primary server.
Here my drbd.conf file:

resource drbd0 {
          protocol=C
          fsckcmd=fsck.ext3 -p -y

          on gamma1 {
            device=/dev/nb0
            disk=/dev/mb0        <----- this is my raid1 device
            address=192.168.1.6
            port=7789
          }

          on gamma2 {
            device=/dev/nb0
            disk=/dev/sda6
            address=192.168.1.7
            port=7789
          }
        }
Now my error message:

gamma1:~/downloads# /etc/init.d/drbd start
drbd: pre-parsed needs update, parsing /etc/drbd.conf
............................................................
............................................................
............................................................
...........................

  last token read from </etc/drbd.conf> was
 207: disk=/dev/mb0
      ^^^^^^^^^^^^^
bad value 'disk=/dev/mb0',
        block device expected
  stopped at /etc/init.d/drbd (check_token_type) line 689.

  CVSID Id: drbd,v 1.44 2003/09/30 11:37:50 phil Exp
  BASH_VERSINFO (2 05a 0 1 release i386-pc-linux-gnu)

It seems, that DRBD have problems with raid1. Did somone solve 
this problem?


-- 
Thomas Kern                   E-mail:    thomas at wi-inf.uni-essen.de
-------------------------------------------------------------------
Wi.Informatik der Produktionsunternehmen | Tel.: +49 (0201) 1834059
Universitaet Duisburg-Essen              | Fax.: +49 (0201) 1834067
Universitaetsstrasse 9, D-45143 Essen



More information about the drbd-user mailing list