Red Hat Bugzilla – Bug 480749
Wrong meta data state for 5/6-disk arrays (CRC initializing) - RAID5
Last modified: 2009-09-02 07:16:57 EDT
Steps to reproduce:
Create raid 5 array with 5/6 disks and enable it. Check the state of metadata.
5 or 6 disk RAID 5 array shall have initialized CRC before their metadata data state is put to NORMAL.
After creation array shall be in UNINITLIALISED state (isw_dev.vol.migr_state)
CRC initialization shall be started when array is activated and metada state can be changed in DSO call after successful completion in raid45 module.
Metadata is in NORMAL state regaladless of initialization
Attached patch include fixes for:
1. Issue reported in this Bugzilla record (Wrong meta data state for 5/6-disk arrays (CRC initializing))
This patch fixes only isw metadata migration state, migration type and map states, which should reflect correct status of the array. RAID can be used in uninitialized state as before (in the normal state) and this modification allows to start initialization using other RAID solutions supporting full initialization.
2. Issues reported in other Bugzilla records, fixed so far:
- fix for "OROM/DMRAID metadata inconsistency" - Bugzilla Bug 479419
- fix for "Incorrect status displayed when disk is missing" - Bugzilla Bug 479425
- fix for "Missing supported RAID configuration in "-l" option" - Bugzilla bug
- fix for "Wrong disk layout in raid01" - no Bugzilla bug.
Please review it and give feedback.
Created attachment 336037 [details]
Patch for isw metadata inconsistency.
~~ Attention - RHEL 5.4 Beta Released! ~~
RHEL 5.4 Beta has been released! There should be a fix present in the Beta release that addresses this particular request. Please test and report back results here, at your earliest convenience. RHEL 5.4 General Availability release is just around the corner!
If you encounter any issues while testing Beta, please describe the issues you have encountered and set the bug into NEED_INFO. If you encounter new issues, please clone this bug to open a new issue and request it be reviewed for inclusion in RHEL 5.4 or a later update, if it is not of urgent severity.
Please do not flip the bug status to VERIFIED. Only post your verification results, and if available, update Verified field with the appropriate value.
Questions can be posted to this bug or your customer or partner representative.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.