Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1070245

Summary: mdadm <ignore> completely disables raid assembling
Product: Red Hat Enterprise Linux 6 Reporter: olovopb
Component: mdadmAssignee: Jes Sorensen <Jes.Sorensen>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.5CC: jshortt, olovopb
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1124310 (view as bug list) Environment:
Last Closed: 2015-10-19 13:45:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1124310, 1269638, 1270066    

Description olovopb 2014-02-26 13:34:55 UTC
Description of problem:

According to manpage <ignore> option in mdadm.conf should only disable auto-assemmble during start, but when you try assemble array manually, it shows error message
mdadm: /dev/... is a member of an explicitly ignored array

In Redhat 6.4 this works as supposed.

Version-Release number of selected component (if applicable):
mdadm - v3.2.6 - 25th October 2012

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Jes Sorensen 2014-03-19 18:26:26 UTC
Could you please show how you are trying to assemble the array manually,
what command line did you use?

Thanks,
Jes

Comment 3 olovopb 2014-03-20 09:08:04 UTC
(In reply to Jes Sorensen from comment #2)
> Could you please show how you are trying to assemble the array manually,
> what command line did you use?
> 
> Thanks,
> Jes

Hello Jes,
here is the command:
[root@hostname ~]# mdadm -A -R /dev/md1 /dev/mapper/mp_opt_oracle_A /dev/mapper/mp_opt_oracle_B
mdadm: /dev/mapper/mp_opt_oracle_A is a member of an explicitly ignored array
mdadm: /dev/mapper/mp_opt_oracle_B is a member of an explicitly ignored array

Here is the configuration:
[root@hostname ~]#cat /etc/mdadm.conf
#DEVICE /dev/sda
ARRAY <ignore>  metadata=1.2 UUID=77caf032:6c8c52ce:f9c8c744:2ddf6b29 name=hostname:1 auto=no
[root@hostname ~]#

Best regards
Lukas

Comment 4 olovopb 2014-06-05 09:45:12 UTC
Hello Jes,
is any progress here?

Comment 5 Jes Sorensen 2014-06-24 06:44:39 UTC
Hi Lukas,

Unfortunately I haven't had time to look into this yet - unless it is fixed
by the mdadm-3.3 update, it is still pending.

I'll try to find some time.

Cheers,
Jes

Comment 6 Jes Sorensen 2014-07-29 14:13:12 UTC
Too late for RHEL-6.6, however as Neil kindly posted a patch for this problem,
I plan to push this fix into RHEL-6.7.

Jes

Comment 9 Jes Sorensen 2015-10-19 13:45:11 UTC
This issue should have been fixed by the following commit, which was
introduced in mdadm-3.3 (and current RHEL6 ships mdadm-3.3.2):

commit 66eb2c93a619eb1d79dc653fd91add159aa3d1ff
Author: NeilBrown <neilb>
Date:   Thu Nov 22 17:04:20 2012 +1100

    Assemble: ensure that <ignore>d arrays are not auto-assembled.
    
    It isn't enough to simply not assemble arrays found to be called
    <ignore>, as the final stage of auto-assemble doesn't check for names
    in mdadm.conf.
    
    So add a check to Assemble, similar to the check in Incremental()
    
    Reported-by: Mike Frysinger <vapier>
    Signed-off-by: NeilBrown <neilb>

If this issue is still present, please reopen this bugzilla.

Jes