Bug 614220 - resize2fs: relax -P (query minimum size) requirements
resize2fs: relax -P (query minimum size) requirements
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: e2fsprogs (Show other bugs)
All Linux
low Severity medium
: rc
: ---
Assigned To: Eric Sandeen
Radek Bíba
Depends On:
Blocks: 643945
  Show dependency treegraph
Reported: 2010-07-13 17:37 EDT by Eric Sandeen
Modified: 2010-11-10 15:20 EST (History)
4 users (show)

See Also:
Fixed In Version: e2fsprogs-1.41.12-3.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 643945 1183492 (view as bug list)
Last Closed: 2010-11-10 15:20:47 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Eric Sandeen 2010-07-13 17:37:28 EDT
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.
Comment 1 Eric Sandeen 2010-07-19 12:47:58 EDT
The upstream patch was accepted.

Comment 2 Eric Sandeen 2010-07-20 12:02:03 EDT
Building e2fsprogs-1.41.12-3.el6 now
Comment 5 releng-rhel@redhat.com 2010-11-10 15:20:47 EST
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.

Note You need to log in before you can comment on or make changes to this bug.