Skip to content

check_drbd: /proc/drbd is removed #2

@megabert

Description

@megabert

Hi,

just want to let you know that /proc/drbd is deprecated as of now and will no longer show resource information in drbd9, according to the documentation:

https://drbd.linbit.com/en/doc/users-guide-90/s-check-status#s-proc-drbd

A possible alternative for the agent part cat /proc/drbd would be...

resources= $(drbdsetup status| grep -E '^[^[:space:]]' | awk '{print $1}')

for res in $resources; do
drbdsetup status $res --statistics --verbose
done

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