Bug 186524

Summary: mdadm manage mode '-a' flag fails to perform as it should (but '--add' works fine)
Product: [Fedora] Fedora Reporter: Jarod Wilson <jarod>
Component: mdadmAssignee: Doug Ledford <dledford>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6CC: sprelutsky
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.6.2-4.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-20 19:35:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jarod Wilson 2006-03-24 01:50:58 UTC
Description of problem:

NB: we don't appear to have an 'mdadm' component, thus the filing under
raidtools instead.

I had a software raid mirror get out of sync, so the second disk was dropped
from the array. Upon trying the following command...

# mdadm --manage /dev/md0 -a /dev/hde1

...nothing happened. This worked though:

# mdadm --manage /dev/md0 --add /dev/hde1

Version-Release number of selected component (if applicable):

mdadm-2.3.1-3

Comment 1 Jarod Wilson 2006-11-23 02:23:19 UTC
Problem still present in mdadm 2.5.4-2.fc6...

Comment 2 Jan Engelhardt 2007-01-30 11:19:15 UTC
mdadm also does not support -N (for --name), though on other distros it does.

Comment 3 Doug Ledford 2007-01-30 15:41:49 UTC
mdadm shouldn't support the --name option, it's for version 1.0+ superblock raid
devices only and by default version 0.90 superblock devices are created.  So,
unless you manually tell mdadm to create the device with the newer superblock
type, there is no place in the superblock to store the name.

Comment 4 Doug Ledford 2007-07-03 19:42:38 UTC
I've tracked down the source of the problem regarding usage of the -a versus
--add options.  A fix will appear in mdadm-2.6.2-2 and later.

Comment 5 Fedora Update System 2007-07-05 19:12:25 UTC
mdadm-2.6.2-2.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2007-07-09 15:47:54 UTC
mdadm-2.6.2-3.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2007-07-10 06:42:07 UTC
mdadm-2.6.2-4.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2007-07-20 19:35:08 UTC
mdadm-2.6.2-4.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.