Description of problem: During the efforts to support hard disks with 4096 sector size, it was agreed that 1MiB alignment is the best default alignment for all drives. For reference see bug 574918 and https://ata.wiki.kernel.org/index.php/ATA_4_KiB_sector_issues http://people.redhat.com/msnitzer/docs/io-limits.txt mdadm does not support to keep the 1MiB alignment for metadata newer that 1, because the data starts at 0x21000 for metadata 1.1 or 0x22000 for metadata 1.2. To keep the alignment intact, the data region needs to start at 0x100000 or a multiple of it. Version-Release number of selected component (if applicable): mdadm-3.1.1-0.gcd9a8b5.3.fc12 How reproducible: always Steps to Reproduce: 1. create a new raid: mdadm --create md0 -l mirror -n 2 /dev/mapper/sdb1_open missing 2. write some marker to /dev/md/md0: echo foo > /dev/md/md0 3. look at the original device: dd if=/dev/mapper/sdb1_open bs=1 skip=135168 count=4 Actual results: "foo\n" Expected results: It should be possible to put the data at 1 MiB offset, e.g. dd if=/dev/mapper/sdb1_open bs=1 skip=1048576 count=4 should return "foo\n".
mdadm 3.1.2 seems to use a 1MiB alignment: http://neil.brown.name/git?p=mdadm;a=commitdiff;h=a380e2751efea7dfe8acf0b95419c65ccacfa7cf;hp=d1d3482b562369b0d32e4267c2e245a3371d1f10
Correct. When mdadm-3.1.3-0.git20100722.1 or later hits it will resolve this issue.
mdadm-3.1.3-0.git20100722.1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/mdadm-3.1.3-0.git20100722.1.fc12
mdadm-3.1.3-0.git20100722.2.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update mdadm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/mdadm-3.1.3-0.git20100722.2.fc12
mdadm-3.1.3-0.git20100804.2.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/mdadm-3.1.3-0.git20100804.2.fc13
mdadm-3.1.3-0.git20100804.2.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/mdadm-3.1.3-0.git20100804.2.fc12
mdadm-3.1.3-0.git20100804.2.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/mdadm-3.1.3-0.git20100804.2.fc14
mdadm-3.1.3-0.git20100804.2.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update mdadm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/mdadm-3.1.3-0.git20100804.2.fc12
mdadm-3.1.3-0.git20100804.2.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update mdadm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/mdadm-3.1.3-0.git20100804.2.fc13
mdadm-3.1.3-0.git20100804.2.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update mdadm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/mdadm-3.1.3-0.git20100804.2.fc14
This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.
mdadm-3.1.3-0.git20100804.2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
mdadm-3.1.3-0.git20100804.2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.