Ext4 in Fedora 11

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
m (one word clarification -- "from" could be interpreted as "over".)
Line 23: Line 23:
== Frequently Asked Questions ==
== Frequently Asked Questions ==
=== What's the benefit from Ext4? ===
=== What's the benefit of Ext4? ===
Improved performance (especially for filesystem checks and file deletions), higher storage capacity and more scalability.
Improved performance (especially for filesystem checks and file deletions), higher storage capacity and more scalability.

Revision as of 17:59, 28 April 2009

Date Status report
Next action: Get answers to print questions, and set up for podcast.

Return to Category:F11 in-depth features page



Print interview

An earlier interview with Eric Sandeen during Fedora 9 timeframe, when Ext4 experimental support was introduced in Fedora was published at


A newer one will be provided soon. Watch this space.

Frequently Asked Questions

What's the benefit of Ext4?

Improved performance (especially for filesystem checks and file deletions), higher storage capacity and more scalability.


How long has Fedora supported Ext4?

Fedora 9 originally included experimental support for Ext4. This is a Anaconda installation time option in Fedora 10 as well. After extensive feedback, testing and a number of new Ext4 changes developed in coordination with the lead Red Hat filesystem developer, Eric Sandeen (who hacks on Ext4 as well as XFS), Ext4 is now enabled as the default filesystem in Fedora 11.

Does GRUB support Ext4?

There is a patch in Red Hat Bugzilla to handle this. It has not been merged into GRUB however for this release cycle due to lack of time for comprehensive testing and prioritization of other more important fixes. Since Fedora uses LVM by default and GRUB doesn't support it either, in practise, you will still need to continue using Ext3 filesystem for /boot partition. It is the recommended setup and that's how Anaconda sets it up by default. Anaconda will not let you format a /boot partition with Ext4 to prevent any issues.

I heard about data loss issues with delayed allocation and patches for that. Does Fedora include them?

Yes. They are headed upstream for 2.6.30 kernel and Fedora has backported those fixes to the 2.6.29 kernel in Fedora 11. They have been in the Rawhide development branch for the last few months now.




What about Fedora 10?

Fedora 10 already supports Ext4 (as a non default option) and the patches to improve the reliability of the filesystem have been backported to the 2.6.29 kernel in updates-testing repository for Fedora 10 as well.

How do I migrate from Ext3 to Ext4?

You can use the Anaconda boot option, "ext4migrate" to automatically migrate from Ext3 to the new Ext4 filesytem when upgrading from a previous release of Fedora. If you do not use this option, Ext3 will be retained as your default filesystem in a upgrade.

Does Fedora still offer the choice of Ext3?

Yes. The regular DVD install or network boot images still lets you choose either Ext4, Ext3 or XFS. The Live CD/DVD images however use Ext4 (except for /boot formatted as Ext3) and essentially transfer the entire image into the hard disk as part of the installation process and does not offer the ability to format the hard disk with any other filesystem. If you must choose a different filesystem, the regular DVD install or network boot images are the recommended alternatives.

What about backward/forward compatibility?

The on-disk format (extents) for Ext4 is new and incompatible with the Ext3 on-disk format. Ext4 provides a number of performance and scalability improvements that were not possible with the older format used by Ext3. If you want to migrate to Ext4, you can mount any Ext3 partition as a Ext4 one. The old files will be in Ext3 format and any new files written will use the Ext4 format (with associated additional performance improvements). If you want to get the other improvements from Ext4 but without changing the disk format, you can use the no extents mount option when mounting a Ext3 partition. You can also mount it as read only if you want to prevent accidental writes under the new format. You can also mount with the no journal option to be compatible with Ext2. Refer to the man page for more details.

If you want to immediately take advantage of all the improvements, you must backup your data and reformat your disk with the new filesystem and thereby changing the disk format.

Is there a Windows or Macintosh driver for Ext4?

No. Unlike Ext3 which merely extended the Ext2 on-disk format with journalling support, Ext4 is more of a fundamental change and drivers for other operating systems capable of reading the ext2/ext3 format have not been upgraded to recognize the new Ext4 format yet. If you want this ability, stick to the older ext3/ext2 format and do not upgrade to Ext4 yet or use Ext4 but with the no extends mount option.

Has Fedora changed the Ext3 default mount options ?

No. In 2.6.30 kernel, the default option has been switched from ordered to writeback. Since Fedora includes the 2.6.29 kernel, there is no change in the default option. There are no plans to change it in the future either.