[DRBD-user] Init-script fails with message: can not open /dev/drbd0: No such file or directory

Lars Ellenberg Lars.Ellenberg at linbit.com
Mon Nov 20 12:59:51 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.


/ 2006-11-17 22:10:04 +0300
\ Igor Yu. Zhbanov:
> Hello!
> 
> I can't start DRBD on 2.6.14.4-cp10. Init-script fails with message:
> can not open /dev/drbd0: No such file or directory
> 
> I have looked at it and have found that after loading drbd module there are
> no drbd devices in /dev.
> 
> I tried to run commands from init-script manually.
> 
> slave:~ # uname -a
> Linux slave 2.6.14.4-cp10 #16 Thu Dec 22 13:22:19 MSK 2005 x86_64 x86_64 x86_64 GNU/Linux

> web-master:~ # modprobe -s drbd minor_count=3
> 
> web-master:~ # cat /proc/drbd
> version: 0.7.21 (api:79/proto:74)
> SVN Revision: 2326 build by root at web-master, 2006-09-15 18:50:18
>  0: cs:Unconfigured
>  1: cs:Unconfigured
>  2: cs:Unconfigured
> 
> slave:~ # ls -al /dev/drbd*
> /bin/ls: /dev/drbd*: No such file or directory

> Where to dig?

the module does not create device nodes.
look into udev, or create the device nodes by hand.
(for i in 0 1 2 3 4 ; do mknod /dev/drbd$i b 147 $i ; done)

-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list