Hi, This is just a hunch I have, I still need to go and reproduce, it seems that mke2fs fails when asked to create an ext4 filesystem on an unaligned partition. I have 2 bug reports with this happening when trying to re-use an existing raid partition (which likely is not raid chunk aligned). One is an lv on mdraid, the other is direct formatting of a dmraid partition: bug 573247 bug 573500 Could it be that mke2fs tries to warn about this, and fails as it is not run interactively ? Regards, Hans
Ah, yes: From bug 573628: [root@localhost liveuser]# mkfs.ext4 /dev/sda1 mke2fs 1.41.10 (10-Feb-2009) /dev/sda1 alignment is offset by 512 bytes. This may result in very poor performance, (re)-partitioning suggested. Proceed anyway? (y,n) According to bug 573628, mke2fs will have a new -F option in 1.41.11 to fix this, can we please get 1.41.11 into F-13 (and RHEL-6).
The -F option does now override it in F13: %changelog * Mon Mar 01 2010 Eric Sandeen <sandeen> 1.41.10-5 - Don't ask for confirmation of misaligned mkfs with -F (#569021) and in RHEL6: %changelog * Tue Mar 02 2010 Eric Sandeen <sandeen> 1.41.10-4 - Don't ask for confirmation of misaligned mkfs with -F (#569849) We'll likely remove the -F requirement entirely as well, in future releases. Do the above versions work for you, by allowing -F to override the warning? If so we can close this CURRENTRELEASE. Thanks, -Eric
Ok, I'll modify e2fsprogs instead, to match upstream and not require even -F, but just issue the warning. However, I think we should leave this bug open to figure out why it's misaligned per e2fsprogs' view. see bug #573699 - e2fsprogs: drop -F requirement for mkfs on unaligned partitions -Eric
Ugh ignore comment #3 that should have hit bug #573628, sorry. Need more coffee. I'll drop the -F requirement altogether, referencing this bug.
*** Bug 573699 has been marked as a duplicate of this bug. ***
e2fsprogs-1.41.10-6.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/e2fsprogs-1.41.10-6.fc13
(In reply to comment #6) > e2fsprogs-1.41.10-6.fc13 has been submitted as an update for Fedora 13. > http://admin.fedoraproject.org/updates/e2fsprogs-1.41.10-6.fc13 Thanks, I noticed you request this for updates-testing, but this way it will not get included in install.img (anaconda stage2) and thus won't help anaconda. Any chance you could push it to stable ? Regards, Hans
*** Bug 573247 has been marked as a duplicate of this bug. ***
It's critpath so it's my understanding that it must go through the karma accumulation process; feel free to give it some ...
e2fsprogs-1.41.10-6.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 e2fsprogs'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/e2fsprogs-1.41.10-6.fc13
e2fsprogs-1.41.10-6.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.