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.
(In reply to Ondrej from comment #0)
> Description of problem:
> /dev/mapper/os-root: Inode 20087306, i_blocks is 384, should be 392. FIXED.
> /dev/mapper/os-root: 162926/56295424 files (0.8% non-contiguous),
> 2802886/56270848 blocks
> Filesystem check failed.
>
> Obviously lvresize is running fsck first (which is right thing, I have
> forgotten to do that manually), fsck finds and corrects a problem on the
> filesystem, but yet lvresize refuses to complete the operation.
fsck returns 'error' (check failed) so this is (ATM) clear indication to stop any further action with filesystem.
As a workaround you may want to 'skip' any fsck part (so ignore any possible problem with filesystem you might have),
pass the option --nofsck (but then do not be surprised with various hard fs errors in the middle
of lvresize operation - usually leading to severe fs destruction).
ATM lvm2 is not recognizing errors so maybe return 'error' status 1 could be considered as the one to continue?
Not sure if this was your case - but is this what is asked here as enhancement ?
Well, the true is that I do not know where is that message "Filesystem check failed." coming from.
I guess it must have been from the the lvresize because after I received that error, I ran fsck myself manually - it found no errors.
Then I re-run the lvresize one more time - it succeeded.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (lvm2 bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2020:5461