Red Hat Bugzilla – Bug 157686
can't --grow raid 1 to -n 1
Last modified: 2008-02-16 10:39:21 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.7) Gecko/20050509 Fedora/1.0.3-5 Firefox/1.0.3
Description of problem:
mdadm rejects the command-line flags that would enable one to shrink the number of active members of a raid 1 device to 1, although it enables one to create such a device from scratch.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.mdadm -C /dev/md0 -l 1 -n 1 /dev/loop0
2.mdadm -C /dev/md0 -l 1 --force -n 1 /dev/loop0
3.mdadm --stop /dev/md0
4.mdadm -C /dev/md0 -l 1 -n 2 /dev/loop0 missing
5.mdadm --grow /dev/md0 -n 1
6.mdadm --grow /dev/md0 --force -n 1
Actual Results: 1. says --force is required, so 2. works. 5. says you need --force, but 6. says you can't use -f (although I said --force) along with --grow
Expected Results: 6. should ideally work, or some other means to bypass the single-member test should be introduced.
This report targets the FC3 or FC4 products, which have now been EOL'd.
Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?
Fedora Core 3 and Fedora Core 4 are no longer supported. If you could retest
this issue on a current release or on the latest development / test version, we
would appreciate that. Otherwise, this bug will be marked as CANTFIX one month
from now. Thanks for your help and for your patience.
Fedora Core 4 is no longer maintained.
Setting status to "INSUFFICIENT_DATA". If you can reproduce this bug in the
current Fedora release, please reopen this bug and assign it to the
corresponding Fedora version.