Bug 484330
| Summary: | ext3->ext4 migration doesn't enable extents | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Eric Sandeen <esandeen> |
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | anaconda-maint-list, wwoods |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-02-20 19:03:17 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: | 476774 | ||
|
Description
Eric Sandeen
2009-02-06 05:12:08 UTC
Eric - what's required to enable extents? I assume it's a tune2fs call, as with the ext2->ext3 migration. http://kernelnewbies.org/Ext4 suggests: tune2fs -O extents,uninit_bg,dir_index $DEV fsck -pf $DEV Is that correct? Do we also want to enable the other listed features? Yep, it's tune2fs, and the extent[s] option (either should work) is the critical one. dir_index should already be enabled for any recent install. uninit_bg may be helpful, depending on how full the filesystem is, but the subsequent fsck will take a while. That one is a tossup I suppose, though you'll get better fsck times after that initial fsck. I suppose we already run fsck from anaconda pre-resize(?) so there's precedent. The key here, though, is that unlike the ext2->ext3 migration, this needs to be done before the packages are upgraded, not after, to get any benefit from the switch to extent format. -Eric This should be fixed in the next build of anaconda. Thanks for the info. |