Skip to content

Unable to demote DRBD devices since it is opened by Multipath  #74

Closed

Description

@ramzcode

OS: ubuntu 20.04 LTS
drbd-utils Version: 9.11.0
Environment: AWS

Unable to demote from Primary to Secondary since it is opened by / used by Multipathd. We have not configured anything additionally with Multipath too.

I had to stop and disable the multipathd service so that i can promote and demote the states as usual.

#drbdadm secondary had
1: State change failed: (-12) Device is held open by someone
Command 'drbdsetup-84 secondary 1' terminated with exit code 11

root@ip-172-31-8-207:/# lsof /dev/drbd1
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
multipath 333 root 5r BLK 147,1 0t0 350 /dev/drbd1

root@ip-172-31-8-207:/# ps -p 333
PID TTY TIME CMD
333 ? 00:00:08 multipathd

root@ip-172-31-8-207:/# cat /etc/multipath.conf
defaults {
user_friendly_names yes
}

Please share thought on this issue, thanks in advance.

Activity

  1. rck commented on Oct 31, 2023

    @rck
    Member

    Please share thought on this issue, thanks in advance.

    don't use software that is over 4 years old when you don't want to run into bugs that got fixed over 3 years ago... LINBIT/drbd-utils@7df5687

  2. ramzcode commented on Oct 31, 2023

    @ramzcode
    Author

    Great, like i thought need to blacklist it. BTW why there are no update since 9.11 for U20 and 9.15 for U22?

  3. rck commented on Oct 31, 2023

    @rck
    Member

    We are upstream here, that is a question for the Ubuntu maintainers when, how, if they update and which issues they fix. most likely this is an issue nobody made them aware of.

    We provide up to date software for your customers including all supported Ubuntu LTS releases as part of our support subscription.

  4. ramzcode commented on Oct 31, 2023

    @ramzcode
    Author

    Thanks for the clarity, actually it is far worse in 18.04. Thanks again @rck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions