SUSE Support

Here When You Need Us

lvdisplay shows status of RAID 0 LV as 'Available' when one of the members of the raid is surprise removed

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

Environment

SUSE Linux Enterprise Server 15 SP2

Situation

When using LVM to create a RAID 0 type array, and a member of the RAID array is surprise removed,
the lvdisplay command continues to show the LV status as available, even though there is a missing drive on the LV.

 

Resolution

'lvdisplay' showing status as ‘available' is expected as it indicates the presence of LV in the DM table.

Use the command, 'lvs -o +lv_health_status' to check the RAID status/health.
The field displays ‘partial' when a RAID member is missing.
 
localhost:~ # lvs -a -o +lv_health_status
  WARNING: Couldn't find device with uuid ewTgTj-ufd5-QjgV-jWox-9EWJ-ThCS-qXBOZI.
  WARNING: VG testvg is missing PV ewTgTj-ufd5-QjgV-jWox-9EWJ-ThCS-qXBOZI.
  LV                 VG     Attr       LSize   Pool Origin Data%  Meta%  Move LogCpy%Sync Convert Health
  raid0lv            testvg rwi-a-r-p-   1.46t                                                     partial
  [raid0lv_rimage_0] testvg iwi-aor-p- 745.21g                                                     partial
  [raid0lv_rimage_1] testvg iwi-aor--- 745.21g

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:000019716
  • Creation Date: 17-Sep-2020
  • Modified Date:23-Oct-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.