[DRBD-user] drbd 0.7.6 can't open drbd0

Mixter mixter at gmail.com
Thu Dec 16 15:18:26 CET 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'm experiencing a drbd device that doesn't want to respond
on the initial drbsetup. Partition is not mounted, tool and module
of version 0.7.6 seems correctly installed, and my drbd.conf is
really a minimal configuration.

Strange thing is, that this is on two exactly systems, drbdsetup/drbdadm
succeeds on node 'h', but not 'antih' due to device error shown below.
I think I did really everything right - any ideas? I'd greatly
appreciate them...

Regards,

Mixter

on h {
    device   /dev/drbd0;
    disk     /dev/hda3;
    address  192.168.0.1:7788;
    meta-disk internal;
}

on antih {
    device   /dev/drbd0;
    disk     /dev/hda3;
    address  192.168.0.2:7788;
    meta-disk internal;
}

root at antih:~ # drbdsetup /dev/drbd0 disk /dev/hda3 internal -1
can not open /dev/drbd0: No such device or address
root at antih:~ # drbdsetup /dev/nbd0 disk /dev/hda3 internal -1
  | NOTE: we now have officially asigned device name and major number.
  | Please use /dev/drbd*; if neccessary create the device nodes first.
  | To do so: for i in `seq 0 15` ; do mknod -m 0660 /dev/drbd$i b 147 $i; done
ioctl(,GET_VERSION,) failed: Invalid argument
root at antih:~ # drbdsetup |grep Ver
Version: 0.7.6 (api:77)
root at antih:~ # lsmod
Module                  Size  Used by
drbd                  139712  - 
ehci_hcd               25500  - 
uhci_hcd               28232  - 
root at antih:~ # uname -a
Linux antih 2.6.7-patched #2 SMP i686 GNU/Linux
root at antih:~ # ls -la /dev/drbd0 /dev/nbd0 
brw-rw----    1 root     root     147,   0 2004-12-16 15:09 /dev/drbd0
brw-rw----    1 root     root      43,   0 2004-12-16 14:52 /dev/nbd0



More information about the drbd-user mailing list