drbd-overview gives "NOTE: drbd-overview will be deprecated soon."

This document (7023594) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise High Availability Extension 12

Situation

In SLE11 and before it was possible to check the status of drbd with

   cat /proc/drbd
 
in SLE12 there is the command

   drbd-overview
 
while the output of /proc/drbd is essentially useless in SLE12.

with SLE12 and after an update drbd-utils-9.4 there might be a note like

   animal:~ # drbd-overview
   NOTE: drbd-overview will be deprecated soon.
   Please consider using drbdtop.

but there is no drbdtop application. Also this might break scripts that parse the output of drbd-overview

This misleading comment will be fixed in later versions.

Resolution

The tools that can be better used for checking the status of DRBD in SLE 12 are

   drbdadm status
   
and

   drbdsetup status -vs
   
the difference being the depth of the information provided
   
   animal:~ # drbdadm status
   sap_ascs role:Secondary
     disk:UpToDate
     aberfeldy role:Primary
       peer-disk:UpToDate

and

   animal:~ # drbdsetup status -vs
   sap_ascs node-id:1 role:Secondary suspended:no
       write-ordering:flush
     volume:0 minor:0 disk:UpToDate quorum:yes
         size:5242044 read:0 written:8192 al-writes:0 bm-writes:0 upper-pending:0 lower-pending:0 al-suspended:no blocked:no
     aberfeldy node-id:0 connection:Connected role:Primary congested:no
       volume:0 replication:Established peer-disk:UpToDate resync-suspended:no
  
         received:8192 sent:0 out-of-sync:0 pending:0 unacked:0

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7023594
  • Creation Date: 17-Dec-2018
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise High Availability Extension

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center