<HTML>
<HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<font size="2"><font size="3">Hello all,
<br />
<br />I am new to DRBD, and have so far found it very easy to use. I am having an issue however with udev. Running CentOS 4.6 on 2.6.9-67.0.22 kernel - my /dev/drbd0 device is not being created. Everything else seems to be working correctly. Running DRBD 8.3.1 built from source. In looking at my /dev directory there are odd entires:</font>
<br />
<br />lrwxrwxrwx 1 root root 17 May 19 01:50 cd0 -> /dev/$env{DEVICE}
<br />lrwxrwxrwx 1 root root 12 May 18 21:50 cdrom -> $env{DEVICE}
<br />lrwxrwxrwx 1 root root 12 May 18 21:50 dvd -> $env{DEVICE}
<br />brw------- 1 root root 147, 0 May 19 02:05 $env{DEVICE}
<br />lrwxrwxrwx 1 root root 12 May 19 01:50 par0 -> $env{DEVICE}
<br />lrwxrwxrwx 1 root root 12 May 18 21:50 ram -> $env{DEVICE}
<br /><font size="3">
<br />I have configured hundreds of servers with CentOS 4.4-4.5 and never seen entries like this before. I was sure the $ was not a valid character to use in a device (or file) name. After some looking I found a co-incidence: this same odd-ball string exists in the udev script for drbd:</font>
<br />
<br /></font><meta content="text/html; charset=utf-8" http-equiv="Content-Type" /><meta content="BLOCKNOTE.NET" name="GENERATOR" /><title /><style>BODY { FONT-FAMILY:Tahoma; FONT-SIZE:10pt }
P { FONT-FAMILY:Tahoma; FONT-SIZE:10pt }
DIV { FONT-FAMILY:Tahoma; FONT-SIZE:10pt }
TD { FONT-FAMILY:Tahoma; FONT-SIZE:10pt }
</style><basefont size="2" face="Tahoma" /><font face="monospace">KERNEL=="drbd*", \
<br /> IMPORT{program}="/sbin/drbdadm sh-udev minor-%m", \
<br /> NAME="$env{DEVICE}", \
<br /> SYMLINK="drbd/by-res/$env{RESOURCE} drbd/by-disk/$env{DISK}"</font>
<br />
<br />I appears to me that this udev script (came from the 8.3.1 source code) does not work properly with my distribution/kernel. Can anyone help me out here? I can of course create the /dev/drbd0 manually (<meta content="text/html; charset=utf-8" http-equiv="Content-Type" /><meta content="BLOCKNOTE.NET" name="GENERATOR" /><title /><style>BODY { FONT-FAMILY:Tahoma; FONT-SIZE:10pt }
P { FONT-FAMILY:Tahoma; FONT-SIZE:10pt }
DIV { FONT-FAMILY:Tahoma; FONT-SIZE:10pt }
TD { FONT-FAMILY:Tahoma; FONT-SIZE:10pt }
</style><basefont size="2" face="Tahoma" /><font face="monospace">mknod -m 0660 /dev/drbd0 b 147 0</font>) but I would like to get to the bottom of what the problem is here. I am far from a udev expert never having had an issue with it in the past. Is this a udev rule issue or is my udev version simply too old? I am running udev: 039-10.19.el4.
<br />
<br />-Thanks!
<br /><font size="2">
<br />
<br />Kenneth M
DeChick
<br />Linux Systems
Administrator
<br />Community Computer Service,
Inc.
<br />(315)-255-1751
ext154
<br />http://www.medent.com
<br />kend@medent.com
<br />-- -- -- -- -- -- -- -- -- --
--
<br />
"You canna change the laws of physics, Captain; I've got to have
thirty
minutes!
"
<br />
<br />.
<center><img src="https://www.medent.com/openwebmail/images/defmailsig.jpg" /></center>
<br />
</font>
</BODY>
</HTML>
This message has been scanned for viruses and dangerous content by MailScanner & ClamAV. <BR>
<BR>
This message and any attachments may contain information that is protected by law as privileged and confidential, and is transmitted for the sole use <BR>
of the intended recipient(s). If you are not the intended recipient, you are hereby notified that any use, dissemination, copying or retention of this e-mail <BR>
or the information contained herein is strictly prohibited. If you received this e-mail in error, please immediately notify the sender by e-mail, and permanently <BR>
delete this e-mail. <BR>