[DRBD-user] drbdsetup: can not open device

Thomas Gemperli tom at arch.ethz.ch
Tue Jan 20 16:48:29 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 all

I'm tying to set up drbd on two Linux boxes, want to test Linux HA.

Both boxes have a fresh Debian Woody and a homegrown 2.4.24 vanilla 
kernel on their Disk's. Installation of Heartbeat was more or less 
straightforward, it is up and running.

First I've tried the official drbd packages from the Debian unstable 
tree (0.6.1), now I'm trying  to get 0.6.10 working.

The kernel module loads perfectly:
# dmesg |tail -1
drbd: initialised. Version: 0.6.10+cvs (api:64/proto:62)
# lsmod  |head -2
Module                  Size  Used by    Not tainted
drbd                   38436   0  (unused)

I want to use the partition hda5:
# fdisk -l /dev/hda |grep hda5
/dev/hda5          1233      1840   4883728+  83  Linux

But:
# drbdsetup /dev/nb0 disk /dev/hda5
can not open device: No such file or directory
# drbdsetup
<snip>
Version: 0.6.10+cvs (api:64)

This seems to be a RTFM question, but I really read every manual that 
I've found, I asked google, no result. I think I've overlooked 
something trivial, but what?

Could someone of you please give me a little enlightenment? :)

Anyway, thanks for developing drbd and sorry for my english, I'm a 
native german speaker.

Greetings
Thomas Gemperli
-- 
Oh, wow!  Look at the moon!




More information about the drbd-user mailing list