[DRBD-user] Small problems with drbd-udev 8.9.0 on CentOS 6.5

Giuseppe Ragusa giuseppe.ragusa at hotmail.com
Fri Jun 27 17:19:46 CEST 2014

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,
just a small note to notify that I tested (from a self-compiled drbd-8.9.0-1.el6.src.rpm package created from unmodified official sources) drbd-udev 8.9.0 on CentOS 6.5 fully updated with drbd-km 8.4.5 and found that the udev rules are not working as intended (no /dev/drbd/by-res dir nor any other per-resource subdir and links inside)

After a bit of udev debugging, I applied the following modifications:

in /etc/udev/rules.d/65-drb.rules the original content:

SUBSYSTEM=="block", KERNEL=="drbd*", IMPORT{program}="/usr/sbin/drbdadm sh-udev minor-%m", NAME="$env{DEVICE}", SYMLINK="$env{SYMLINK}"

replaced with:

SUBSYSTEM=="block", KERNEL=="drbd*", IMPORT{program}="/usr/sbin/drbdadm sh-udev minor-%m", NAME="$env{DEVICE}", SYMLINK="drbd/by-res/$env{RESOURCE}"

the actual utility binary drbdadm-84 does not get found/executed by udev, so I performed a simple:

ln -s /lib/drbd/drbdadm-84 /usr/sbin/

With the aforementioned actions performed it all works as expected.

Many thanks for your attention.

Kind regards,
Giuseppe Ragusa

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20140627/379dadfa/attachment.htm>


More information about the drbd-user mailing list