Description of problem: It is possible to create second RAID1 volume with size equal 0. When resync of first RAID1 volume is finished, system hangs. Version-Release number of selected component (if applicable): 3.2.6-1.fc18 How reproducible: Always Steps to Reproduce: (disks of size 56 GB) 1. # mdadm -C /dev/md/imsm -amd -e imsm -n 2 /dev/sda /dev/sdb -R 2. # mdadm -C /dev/md/vol1 -amd -l1 --size 54682172 -n 2 /dev/sda /dev/sdb -R 3. # mdadm -C /dev/md/vol2 -amd -l1 -n 2 /dev/sda /dev/sdb -R Actual results: Second RAID1 volume of size equal 0 is created and system hangs. Expected results: Creating of second RAID1 volume of size 0 should not be possible. Additional info: The following patch fixes this bug: commit 066e92f017df22c879c455494d2c1743ef7f3aca Create.c: check if freesize is equal 0 http://git.neil.brown.name/git?p=mdadm.git;a=commitdiff;h=066e92f017df22c879c455494d2c1743ef7f3aca
mdadm-3.2.6-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mdadm-3.2.6-3.fc18
There is a typo done while porting this patch to mdadm-3.2.6-3.fc18: There is a line in the original patch (http://git.neil.brown.name/git?p=mdadm.git;a=commitdiff;h=066e92f017df22c879c455494d2c1743ef7f3aca): + pr_err("no free space left on %s\n", dname); It was ported to mdadm-3.2.6-3.fc18 as (in Create.c:411): + fprintf(stderr, Name "no free space left on %s\n", dname); It is wrong. The correct one should be (in Create.c:411): + fprintf(stderr, Name ": no free space left on %s\n", dname); Because now the message is following: mdadmno free space left on /dev/sda and the correct one should be: mdadm: no free space left on /dev/sda Could you correct that?
Package mdadm-3.2.6-3.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mdadm-3.2.6-3.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-19855/mdadm-3.2.6-3.fc18 then log in and leave karma (feedback).
(In reply to comment #3) > Package mdadm-3.2.6-3.fc18: > * should fix your issue, The issue mentioned in comment #2 is not fixed in mdadm-3.2.6-3.fc18
mdadm-3.2.6-5.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mdadm-3.2.6-5.fc18
Intel has tested mdadm-3.2.6-5.fc18 and confirms the bug is fixed in this build.
mdadm-3.2.6-4.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/mdadm-3.2.6-4.fc17
mdadm-3.2.6-4.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/mdadm-3.2.6-4.fc16
mdadm-3.2.6-7.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mdadm-3.2.6-7.fc18
mdadm-3.2.6-7.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/mdadm-3.2.6-7.fc17
mdadm-3.2.6-7.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/mdadm-3.2.6-7.fc16
Intel has tested the package mdadm-3.2.6-7.fc18 and confirms the bug is fixed in this build.
mdadm-3.2.6-8.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/mdadm-3.2.6-8.fc17
mdadm-3.2.6-8.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mdadm-3.2.6-8.fc18
mdadm-3.2.6-7.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
mdadm-3.2.6-7.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
mdadm-3.2.6-11.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mdadm-3.2.6-11.fc18
mdadm-3.2.6-7.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
mdadm-3.2.6-8.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
mdadm-3.2.6-18.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mdadm-3.2.6-18.fc18
mdadm-3.2.6-19.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mdadm-3.2.6-19.fc18
mdadm-3.2.6-19.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.