WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: xenU + drbd 0.7.21 don't create /dev/drbd0 - SOLVED
From: Eriberto <eriberto@xxxxxxxxxxxxxxx>
Date: Sun, 06 Aug 2006 14:07:47 -0300
Delivery-date: Sun, 06 Aug 2006 10:10:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <eb4578$svq$1@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <eb4578$svq$1@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)
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.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>