From Fedora Project Wiki

Revision as of 01:20, 29 April 2009 by Sundaram (talk | contribs)

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, if the "ext4dev" anaconda installation-time option was given; in Fedora 10 as well, with the "ext4" option. 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.

Live CD/DVD installer sets up /boot as a seperate partition formatted as Ext3. If you do not prefer this behaviour, you can use the regular CD/DVD or network boot images.

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. Passing this options, configures the system to mount all the Ext3 partitions as Ext4 and enables the extents feature so that all new files are written under the Ext4 format. 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 CD/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. Once you migrate to Ext4, the disk format will change in a incompatible way to Ext3 and you cannot go back to Ext3 without a backup and restore procedure. This is unlike the change from Ext2 to Ext3.

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.