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

Philipp Reisner philipp.reisner at linbit.com
Wed Dec 22 13:55:57 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.


On Thursday 16 December 2004 15:18, Mixter wrote:
> 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

What says "cat /proc/drbd"

-phil
-- 
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria    http://www.linbit.com :



More information about the drbd-user mailing list