[DRBD-user] drbdsetup new-minor throws ERR_MINOR_OR_VOLUME_EXISTS sometimes

Didier Tanti tantididier at spitch.ch
Mon Jul 12 17:10:57 CEST 2021


hello,

hardening a bit a simple pacemaker HA setup with primary / secondary on top
of LVM volumes,
the drbd OCF fails starting the resource on a slave node with:
 'Failure: (161) Minor or volume exists already (delete it first)'

this happens after doing a bunch of node standby / unstandby (emulating
clean failover- failback).

in drbdsetup.c i can see :
hack around "sysfs: cannot create duplicate filename
'/devices/virtual/bdi/147:0

but not sure why this is happening. (using standard drbd & lvm ocf agents).

looks like a bug to me, *anyone faced the same issue? *

 drbdadm --version
DRBDADM_BUILDTAG=GIT-hash:\ fb98589a8e76783d2c56155c645dbaf02ac7ece7\
build\ by\ mockbuild@\,\ 2020-04-05\ 03:21:05
DRBDADM_API_VERSION=2
DRBD_KERNEL_VERSION_CODE=0x090016
DRBD_KERNEL_VERSION=9.0.22
DRBDADM_VERSION_CODE=0x090c02
DRBDADM_VERSION=9.12.2

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20210712/ae2fb6c8/attachment.htm>


More information about the drbd-user mailing list