Red Hat Bugzilla – Bug 614220
resize2fs: relax -P (query minimum size) requirements
Last modified: 2010-11-10 15:20:47 EST
Requesting blocker since anaconda needs this.
We currently have the same restrictions on resize2fs -P (minimum size query) as we do on an actual resize - that is, the fs must be recently checked, cleanly unmounted, and error-free.
To simply query the minimum size, requiring the fsck is a bit draconian; anaconda wants to query this, and requiring a fsck prior to this for each filesystem could take a very long time. Just ensuring the journal is clean and the fs is not marked with errors should suffice for this, and we can remove the checked-after-last-unmount requirement.
I've sent a patch upstream for this, though it's not yet committed - I don't think I'll encounter resistance.
This is related to bug 608172 which is the anaconda side of the problem. Having that done now requires this change.
The upstream patch was accepted.
Building e2fsprogs-1.41.12-3.el6 now
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.