[DRBD-user] Problems getting started with drbd-0.7.3-1

Thomas Böhme t.boehme at mc-wetter.de
Fri Sep 3 12:07:19 CEST 2004

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 build and installed drbd-0.7.3-1 with vanilla kernel 2.4.26 on Debian Woody. 
Modprobe loads the drbd module without errors. But when I 
run /etc/init.d/drbd start I get this error message:

eddy:~# /etc/init.d/drbd start
Starting DRBD resources:    ioctl(,SET_DISK_CONFIG,) failed: Invalid argument
Lower device / meta device / index combination invalid.
Command '/sbin/drbdsetup /dev/drbd0 disk /dev/sda6 /dev/sda6 0 
--on-io-error=detach' terminated with exit code 20
drbdadm aborting

 Failed setting up data1


/dev/sda6 is an ext3 formated not mounted device
/dev/drbd[0-15] exist



Here is my /etc/drbd.conf:

resource data1 {
  protocol C;
  startup { wfc-timeout 120; degr-wfc-timeout 120;  }
  disk { on-io-error   detach; }
  net { }
  syncer { rate 10M; group 1; }

  on eddy {
    device     /dev/drbd0;
    disk       /dev/sda6;
    address    192.168.0.1:7788;
    meta-disk  /dev/sda6[0];
  }

  on freddy {
    device    /dev/drbd0;
    disk      /dev/sda6;
    address   192.168.0.2:7788;
    meta-disk /dev/sda6[0];
  }
}


Has anyone an idea?

Tommy



More information about the drbd-user mailing list