[Package Request] - xfsprogs
What package is missing from Amazon Linux 2023? Please describe and include package name. xfsprogs (Utilities for managing the XFS filesystem)
Is this an update to existing package or new package request? Yes, this an update to existing package
Is this package available in Amazon Linux 2? If it is available via external sources such as EPEL, please specify. Yes, is also available in Amazon Linux 2
Any additional information you'd like to include. (use-cases, etc)
During extensive testing of XFS filesystem recovery procedures, I've identified significant differences in repair capabilities between xfsprogs version 5.x and 6.x+. Here's a comparative analysis:
Current Version Status Across Operating Systems used for testing:
- Amazon Linux 2023: xfs_repair version 5.18.0
- Ubuntu v22.04/v24.04 LTS: xfs_repair version 6.6.0
- RHEL v9/v10: xfs_repair version 6.11.0
Key Finding: When attempting to repair intentionally corrupted XFS filesystems, version 5.x (currently in AL2023) consistently failed with the following critical errors:
Phase 7 - verify and correct link counts...
SB summary counter sanity check failed
Metadata corruption detected at 0x555c3358d2b6, xfs_sb block 0x0/0x200
libxfs_bwrite: write verifier failed on xfs_sb bno 0x0/0x1
Maximum metadata LSN (65279:-1) is ahead of log (1:24).
Format log to cycle 65282.
SB summary counter sanity check failed
Metadata corruption detected at 0x555c3358d2b6, xfs_sb block 0x0/0x200
libxfs_bwrite: write verifier failed on xfs_sb bno 0x0/0x1
xfs_repair: Releasing dirty buffer to free list!
xfs_repair: Refusing to write a corrupt buffer to the data device!
xfs_repair: Lost a write to the data device!
fatal error -- File system metadata writeout failed, err=117. Re-run xfs_repair.
However, the same corruption scenarios were successfully repaired, and some files were also recovered using xfsprogs 6.x+ on other operating systems like Ubuntu v22.04/v24.04 LTS: and RHEL v9/v10.
Version 6.x+ Advantages:
-
Enhanced corruption detection algorithms -
Improved metadata handling capabilities -
More robust repair strategies -
Better handling of edge cases -
Enhanced log recovery mechanisms
Recommendation: For critical XFS filesystem recovery operations, consider:
-
Using an OS with xfsprogs 6.x+ for repair operations -
Planning upgrade paths to newer xfsprogs versions
[Note]: This version difference can significantly impact recovery success rates, making seemingly unrecoverable corruption in AL2023 potentially recoverable on systems running newer xfsprogs versions.
Thanks, I've forwarded this to the relevant team.
Thank you for your request to add this package in AL2023. We are currently reviewing the feasibility of adding the package and will provide another status update in a few weeks.