Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

What are the very big differences between ext3 and ext4 from a generic user's perspective? I heard, sticking with ext3 is wiser. Is it true?

EDIT: One thing I want to note that, I am a dual user (Windows & Ubuntu), so not being able to mount a drive (ext4) from Windows is a big -ve for me. But, ext3 has this privilege.

share|improve this question
add comment

2 Answers

up vote 13 down vote accepted

A few years ago I'd say stick with ext3 but nowadays ext4 is better. A recent (May 16, 2011) round up from thegeekstuff.com sums it up rather nicely:

  • Supports huge individual file size and overall file system size.
  • Maximum individual file size can be from 16 GB to 16 TB
  • Overall maximum ext4 file system size is 1 EB (exabyte). 1 EB = 1024 PB (petabyte). 1 PB = 1024 TB (terabyte).
  • Directory can contain a maximum of 64,000 subdirectories (as opposed to 32,000 in ext3)
  • You can also mount an existing ext3 fs as ext4 fs (without having to upgrade it).
  • Several other new features are introduced in ext4: multiblock allocation, delayed allocation, journal checksum. fast fsck, etc. All you need to know is that these new features have improved the performance and reliability of the filesystem when compared to ext3.
  • In ext4, you also have the option of turning the journaling feature “off”.

A very good comparison from 2009 on linuxologist.com has a graph about write performance with 4Gb:

im1

and also has some other information on ext4.

I myself have had zero problems with ext4.

If you need to share a partition with Windows you will need ext3. I myself have given up on Windows so I have everything set to ext4 and use a USB stick to tranfer data to a Windows machine (mainly at work).

What you can do for a setup is the following:

/ ext4
swap
/home  ext4
/datapartiton_with_windows ext3

Then you can make the last one a shared partition for both OS's.

share|improve this answer
    
This being said - there currently are no ext4 drivers for Windows, whereas Ext2&3 can be mounted from Windows. –  Marco Ceppi May 24 '11 at 13:41
    
True. I tend to use a USB stick for that. Copy to stick and data is available on other OS'es. –  Rinzwind May 24 '11 at 13:48
    
@marco-ceppi Yes, I forgot to mention that, I am a duel(win & ubuntu) user, and not being able to mount a drive from windows is a big -ve for me. –  iamcreasy May 24 '11 at 17:10
1  
ext4 can be mounted with ext2fsd I believe. It works well for my dual boot situation. –  zookalicious May 24 '11 at 19:16
1  
Another options is to make the data partition NTSF. This works by default on both Windows and Linux. –  Bart Jun 9 '11 at 6:58
show 1 more comment

The only reasons I can think of at the current time not to use ext4 are compatibility with older systems, and, last time I tried it, ext4 had problems with losing data when used on flash media (ie. Thumb drives et cetra.) That second one I haven't tested in about six months, so it may have been fixed. Otherwise, the performance and reliability are large improvements over ext3.

share|improve this answer
1  
That "loosing data" problem may occur if you unsafely remove the media. That's not an issue limited to ext* but other filesystem as well. It's comparable with the "Optimize for performance" feature in Windows. –  Lekensteyn Jun 9 '11 at 6:56
    
nowadays it is possible to read ext4 in Windows. Use the utility called ext2read. so is there any other problem left with ext4 FS/ –  CR2 Feb 27 at 9:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.