Bug 186524 - mdadm manage mode '-a' flag fails to perform as it should (but '--add' works fine)
Summary: mdadm manage mode '-a' flag fails to perform as it should (but '--add' works ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mdadm
Version: 6
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Doug Ledford
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-24 01:50 UTC by Jarod Wilson
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version: 2.6.2-4.fc7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-07-20 19:35:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.