Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 614220

Summary: resize2fs: relax -P (query minimum size) requirements
Product: Red Hat Enterprise Linux 6 Reporter: Eric Sandeen <esandeen>
Component: e2fsprogsAssignee: Eric Sandeen <esandeen>
Status: CLOSED CURRENTRELEASE QA Contact: Radek Bíba <rbiba>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: bcl, borgan, sct, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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) Environment:
Last Closed: 2010-11-10 20:20:47 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: 643945    

Description Eric Sandeen 2010-07-13 21:37:28 UTC
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 16:47:58 UTC
The upstream patch was accepted.

http://marc.info/?l=linux-ext4&m=127943687710724&w=2

Comment 2 Eric Sandeen 2010-07-20 16:02:03 UTC
Building e2fsprogs-1.41.12-3.el6 now

Comment 5 releng-rhel@redhat.com 2010-11-10 20:20:47 UTC
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.