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

Lars Ellenberg lars.ellenberg at linbit.com
Fri Jul 4 14:23:25 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.


On Fri, Jun 27, 2014 at 05:19:46PM +0200, Giuseppe Ragusa wrote:
> 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.

Thanks. This is being fixed in the drbdadm code,
as well as with an updated udev rule set,
will soon be released with drbd-utils 8.9.1


-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list