Bug 2026002
| Summary: | xfsprogs: add example configuration files for compatibility with older RHEL versions | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Eric Sandeen <esandeen> |
| Component: | xfsprogs | Assignee: | Pavel Reichl <preichl> |
| Status: | CLOSED ERRATA | QA Contact: | Zorro Lang <zlang> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.0 | CC: | preichl, xzhou, zlang |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | xfsprogs-5.12.0-5.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-05-17 16:01:28 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Eric Sandeen
2021-11-23 15:48:32 UTC
(In reply to Eric Sandeen from comment #0) > Now that xfsprogs supports mkfs config files, we can provide example > configuration files to simplify creation of filesystems that are compatible > with older releases. > > The supported feature set may have changed slightly over the course of the > RHEL7 and/or RHEL8 release, so it may be best to target RHEL8.0 and RHEL7.0, > and not over-complicate it with minor versions. > > Pavel and I had discussed this, and where the config file should go. Pavel > had suggested it in a documentation / example sort of directory, and after > thinking about it more, I think that might be the best plan. > > A question for QE - if we ship mkfs.xfs config files for backwards > compatibility, will that add to your testing burden, or do you think we can > simply provide them as examples, without a need for significant additional > testing? Hi Eric, What do you mean "ship mkfs.xfs config files"? As I known we didn't used mkfs configuration_file to make bigtime and inobtcount enabled by default. It's hardcode in xfs_mkfs.c now as: .sb_feat = { ... .inobtcnt = true, .bigtime = true, } Do you mean you'd like to add some configuration files to xfsprogs, include a default one will be imported by mkfs.xfs, and others are optional used by users? Thanks, Zorro Hi Zorro, it's my understanding that there would be no default config - nothing changes there. But there would be an "example" config file included in xfsprogs rpm which would make mkfs.xfs create an XFS FS, while running on rhel-9, that could be mounted on rhel-8 or rhel-7. Is this helpful? (In reply to Pavel Reichl from comment #2) > Hi Zorro, > > it's my understanding that there would be no default config - nothing > changes there. > > But there would be an "example" config file included in xfsprogs rpm which > would make mkfs.xfs create an XFS FS, while running on rhel-9, that could be > mounted on rhel-8 or rhel-7. Is this helpful? OK, so it's something likes we add a file xfsprogs/doc/rhel8-xfs.confile, then recommand using "mkfs.xfs -c option=/path/to/doc/rhel8-xfs.confile" to make a rhel8 compatible xfs on rhel9, am I right? Thanks, Zorro Yes, exactly! (In reply to Pavel Reichl from comment #4) > Yes, exactly! OK, if so, we'll add some test to make sure the recommanded config file(for old rhel version) works. Thanks, Zorro Hi Eric, I just noticed that in your 1st comment your also mention RHEL-7 compatible config file, however so far I only focused on RHEL-8...should I investigate and potentially reopen this BZ to add example configuration file for RHEL-7 as well? Thanks! 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 (new packages: xfsprogs), 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-2022:4022 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days |