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

Igor Yu. Zhbanov bsg at uniyar.ac.ru
Fri Nov 17 20:10:04 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.


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

slave:~ # lsmod|grep drbd

web-master:~ # ls -al /dev/drbd
/bin/ls: /dev/drbd: No such file or directory

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

slave:~ # /sbin/drbdadm -d adjust all
can not open /dev/drbd0: No such file or directory
/sbin/drbdsetup /dev/drbd0 disk /dev/hdc2 /dev/hdc1 0 --on-io-error=panic
/sbin/drbdsetup /dev/drbd0 syncer --rate=120M --group=1 --al-extents=257
/sbin/drbdsetup /dev/drbd0 net 10.0.10.2:7788 10.0.10.1:7788 C --timeout=25 --connect-int=10 --ping-int=10 --max-buffers=2048 --on-disconnect=reconnect

Where to dig?

Thanks.




More information about the drbd-user mailing list