SUSE Support

Here When You Need Us

/proc/mdstat and mdadm -D display incorrect status when two NVMe devices are surprise removed

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

Environment

SUSE Linux Enterprise Server 15 SP2

Situation

When two of three NVMe devices are surprise removed from a RAID 5 MD array,
the command cat/proc/mdstat displays the array status incorrectly as active.

Similarly, when the status of the MD RAID is queried using the mdadm -D /dev/mdN command,
the number of active and working devices displayed is two.
 

Resolution

This behaviour is working as designed from MD perspective.
Only the status of the array reported is incorrect however, when I/O operations are performed, I/O errors are observed as expected.

Cause

If more devices are removed than the current RAID level can sustain, MD will no longer update its status information (e.g. in /proc/mdstat).

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:000019810
  • Creation Date: 09-Dec-2020
  • Modified Date:10-Dec-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

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

tick icon

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.

tick icon

Open an Incident

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