[DRBD-user] Re: xenU + drbd 0.7.21 don't create /dev/drbd0 - SOLVED

Eriberto eriberto at eriberto.pro.br
Sun Aug 6 19:07:19 CEST 2006

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


I had an idea and it works fine.

Into XenU, I created the /dev/drbd(0|1) with mknod command. After this, 
I loaded drbd module. Into XenU, the commands sequence is:

To create devices:

# mknod /dev/drbd0 b 147 0
# mknod /dev/drbd1 b 147 1

To check:

# ls /dev/drbd* -l

To load drbd:

# modprobe drbd

To check:

# lsmod | grep drbd

To start drbd at the first time (don't forget to create /etc/drbd.conf 
before start):

# drbdadm up all
# drbdadm -- --do-what-I-say primary all

To check:

# cat /proc/drbd

It worked fine!

Regards,

Eriberto - Brazil
www.eriberto.pro.br


Eriberto escreveu:
> I have a XenU over Xen 3.0. I downloaded and compiled drbd 0.7.21 
> (tarball) into XenU. The module starts fine with modprobe command. 
> However, the /dev/drbd0 isn't created. I tested the drbd into xen0 and 
> /dev/drbd0 was created.




More information about the drbd-user mailing list