Bug 769323
Summary: | mdadm write intent map not functioning as before | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stephen P. Schaefer <sschaefer> | |
Component: | mdadm | Assignee: | Jes Sorensen <Jes.Sorensen> | |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 16 | CC: | agk, dledford, Jes.Sorensen, mbroz | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | mdadm-3.2.3-7.fc16 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 791159 807743 (view as bug list) | Environment: | ||
Last Closed: | 2012-04-26 03:25:20 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 791159, 807743 |
Description
Stephen P. Schaefer
2011-12-20 14:09:03 UTC
Stephen, What is the output from mdadm when you try to add the second device? It has to be more than just 'Invalid argument' Second, you shouldn't need to add --run when specifying -I, I don't know if that makes any difference. Jes Stephen, Ok, I tried reproducing the bug here, and it looks like I am seeing the exact same as you. I will try and investigate further. Jes Ok, this is strange. If I try to add the drive this way: mdadm -I --run /dev/sdf3 I get the same error as you. On the other hand if I do the following, it works just fine: mdadm -a /dev/md42 /dev/sdf3 Looks like something isn't detected correctly by either the kernel or mdadm when doing an Incremental add. This happens with the latest mdadm from Neil's git tree and Linus' top of tree kernel as well btw. Jes Thanks for pursuing this and sorry for not responding; I'd been under the weather. I'll see if the "-a" version does what I need - if the write intent map gets ignored, I end up with a 16 hour sync that needs to finish in a 10 hour window. Stephen, No worries, I've been battling being under the weather myself. I think you have a genuine bug here, but -a seems to work as a workaround for me. I think it respects the bitmap, but I would certainly appreciate it if you can confirm that it does. I will continue investigating why -I doesn't do the right thing. Cheers, Jes I'm pleased to report that, with the -a workaround, the write intent map works as hoped. Thanks, - Stephen Stephen, Thanks for confirming this. This means at least the core infrastructure seems to be working as expected. I'll look into why it doesn't do the right thing with -I Cheers, Jes mdadm-3.2.3-7.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/mdadm-3.2.3-7.fc16 I have pushed mfadm-3.2.3-7 into updates-testing which should fix this problem. It solves the problem in my testing. Please give it a spin and report back. Thanks, Jes I pulled the package from http://kojipkgs.fedoraproject.org/packages/mdadm/3.2.3/7.fc16/x86_64/mdadm-3.2.3-7.fc16.x86_64.rpm and it now works as expected for me. Thanks! Package mdadm-3.2.3-7.fc16: * should fix your issue, * was pushed to the Fedora 16 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.3-7.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-5032/mdadm-3.2.3-7.fc16 then log in and leave karma (feedback). mdadm-3.2.3-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.3-9.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/mdadm-3.2.3-9.fc16 mdadm-3.2.4-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/mdadm-3.2.4-2.fc16 mdadm-3.2.4-3.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/mdadm-3.2.4-3.fc16 mdadm-3.2.5-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/mdadm-3.2.5-1.fc16 mdadm-3.2.5-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |