Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Installation & Upgrades
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Installation & Upgrades
For questions about upgrading and installation of your new Ubuntu OS.

 
Thread Tools Display Modes
Old April 23rd, 2009   #1
Sef
Ubuntu Master Roaster
 
Sef's Avatar
 
Join Date: Dec 2005
Location: Korea
Beans: 15,507
Ubuntu 9.04 Jaunty Jackalope
Ext3 and Ext4: Which file system to install?

Update: Ext4 is the default file system on Karmic Koala.

Disclaimer:- This thread only issues the use of Ext4 on Ubuntu Jaunty(9.04) and does not apply to earlier releases where Ext4 may not have been available as an option due to Ext4 not having been stable.

As you may have noticed, you now have the option of installing Ext4 through Ubuntu Jaunty. Ext4 is quite a big update from Ext3 but it still is only incremental and is backwards-compatible with Ext3, so it is very stable, however a few issues about the filesystem have recently sprung up that may require you to be a little careful when using this filesystem.

Reasons to stick to Ext3:-

1) Ext3 is the default file system for *buntus.

2) It is very stable, so no worries about losing your data due to crashes.

3) The one that is recommended to be on your work stations.


The issues with Ext4:-

1) There have been reports of crashes having corrupted configuration files and sometimes more with Ext4 in use.

2) This has been addressed in kernel 2.6.30, however it will not hit Ubuntu Jaunty, but Ubuntu Karmic.

3) 9.04 Release Notes: Other Known Issues for more detail.

Therefore, while Ext4 is really good, it still does need a few bugs to be ironed out, but all in all, it is quite stable for the average desktop user, just as long as you take regular backups, as you would when using any file system.

And just one more thing, Ext4 is not to be blamed completely, part of the problem stems from programs which fail to adhere to the standard regarding I/O on disk.

More information regarding this matter can be obtained here:
Theodore Tso's(One of Ext4's main developers) blog post regarding this issue:-
http://thunk.org/tytso/blog/2009/03/...-file-problem/

Article (29 May 2009): The Ext4 File Linux File System by Dr. Oliver Diedrich

(Thank you to PmDematagoda and bhodi.zazan for helping me improve this thread.)
__________________
Learning is not attained by chance, it must be sought for with ardor and attended to with diligence. Abigail Adams ( 1744 - 1818 ), 1780;

Java On 64-Bit Systems Upgrading to Ubuntu 8.04.3

My blog Poetry and More Free Ubuntu Magazine

Last edited by Sef; 2 Weeks Ago at 01:49 AM.. Reason: Updated Thread
Sef is offline   Reply With Quote
Old April 23rd, 2009   #2
akrep55tr
First Cup of Ubuntu
 
Join Date: May 2008
Beans: 2
Re: Ext3 and Ext4: Which file system to install?

Thank you very much. This was a big question in my mind.
akrep55tr is offline   Reply With Quote
Old April 23rd, 2009   #3
Demonizer
First Cup of Ubuntu
 
Join Date: Apr 2009
Beans: 9
Re: Ext3 and Ext4: Which file system to install?

Ext4 cant be THAT bad .
Demonizer is offline   Reply With Quote
Old April 23rd, 2009   #4
porchrat
Has an Ubuntu Drip
 
porchrat's Avatar
 
Join Date: Jul 2008
Beans: 731
Re: Ext3 and Ext4: Which file system to install?

OK that is not great news, I thought the bugs had been ironed out, looks like I'm going to have to use ext3 in my new jaunty jackalope download

I had no idea there were so many issues, thanks for info Sef.
__________________
Any sufficiently advanced bug is indistinguishable from a feature.
"Ubuntu" - an African word meaning "Gentoo is too hard for me"
unexpected token <EOF> expected "WITTY ONE-LINER"
porchrat is offline   Reply With Quote
Old April 23rd, 2009   #5
vigyani
Just Give Me the Beans!
 
vigyani's Avatar
 
Join Date: Feb 2007
Location: India
Beans: 75
Ubuntu 8.10 Intrepid Ibex
Re: Ext3 and Ext4: Which file system to install?

Quote:
Originally Posted by Sef View Post
B) Ext4 is beta:

1) Ext4 is the new still experimental (nonstable) file system for the *buntus.

2) It has been known to crash and data has been lost.

3) It is not for workstations that need a stable file system.

4) The current GRUB will not boot into it. A boot partition must be created.

5) Bugs are stil being worked out of it.

6) You have the time and enjoy reinstalling your os or oses, if it hoses your system. (To hose a system is to make the computer unbootable, so a reinstall is necessary.)

7) You frequently back up your system, so in case your data becomes unreadable due to a crash, you can replace it.

Yes, ext4 is faster than ext3, but do you really want to risk losing your data or having to reinstall *buntu and the other oses that are on your system or both?
Hi

It would be really nice if you can provide references and links to substantiate the claims made in this post.
__________________
thanks
vig
vigyani is offline   Reply With Quote
Old April 23rd, 2009   #6
porchrat
Has an Ubuntu Drip
 
porchrat's Avatar
 
Join Date: Jul 2008
Beans: 731
Re: Ext3 and Ext4: Which file system to install?

Quote:
Originally Posted by vigyani View Post
Hi

It would be really nice if you can provide references and links to substantiate the claims made in this post.
That is a good idea. I would like to read these articles as I have only been able to find benchmarks and positive press releases about ext4. It would be nice to read the other side of it.

From what I had read ext4 is marked "stable". I thought it was going to be the default filesystem of Ubuntu, but it seems like ext3 remains the default until at least 9.10.

I see what you mean about the lack of GRUB support, but that is OK as I always use a separate /boot partition anyway.

I am completely seduced by the speed of ext4 in the benchmarks, but if it going to be unpredictable I won't touch it.
__________________
Any sufficiently advanced bug is indistinguishable from a feature.
"Ubuntu" - an African word meaning "Gentoo is too hard for me"
unexpected token <EOF> expected "WITTY ONE-LINER"

Last edited by porchrat; April 23rd, 2009 at 09:49 AM..
porchrat is offline   Reply With Quote
Old April 23rd, 2009   #7
vividia
A Carafe of Ubuntu
 
vividia's Avatar
 
Join Date: Jan 2009
Location: Minnesota
Beans: 88
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to vividia Send a message via Yahoo to vividia
Re: Ext3 and Ext4: Which file system to install?

I would like to read the source(s) about ext4. I'm still using ext3 and was considering making the leap.
__________________
Yup. I'm really a girl and I use Linux.
vividia is offline   Reply With Quote
Old April 23rd, 2009   #8
wanchai
A Carafe of Ubuntu
 
wanchai's Avatar
 
Join Date: Nov 2006
Location: Hong Kong
Beans: 92
Ubuntu 9.04 Jaunty Jackalope
Re: Ext3 and Ext4: Which file system to install?

Here is something to read:
https://bugs.edge.launchpad.net/ubun...ux/+bug/317781
By the way, Theodore Ts'o is the author of ext4, he wrote some long posts in this thread that are worth reading.

For my system I decided to stay with ext3. I don't need to squeeze the last bit of performance out of my machines and I don't need to use the newest of the newest. Especially not if it's something as critical as a file system that cannot be easily downgraded.
wanchai is offline   Reply With Quote
Old April 23rd, 2009   #9
OmegaBLK
Just Give Me the Beans!
 
OmegaBLK's Avatar
 
Join Date: Dec 2004
Beans: 49
Re: Ext3 and Ext4: Which file system to install?

I was just reading the release notes for 9.04 and there still are some issues with ext4 support that are not resolved as of the 9.04. Now an update will come when they are avaialable but, for now:

Quote:
Lock-ups when deleting files from ext4 filesystems

In some cases, deleting files from an ext4 filesystem is reported to cause soft lock-ups in the kernel (330824). Investigation of this problem is ongoing, and it is expected that a fix for this problem will be made available as a post-release update. To avoid this problem, users may wish to install using the default ext3 filesystem and convert their filesystem to ext4 (as documented on the ext4 wiki) once a fix is available.

Switching to ext4 requires manually updating grub

If you choose to upgrade your / or /boot filesystem in place from ext2 or ext3 to ext4 (as documented on the ext4 wiki), then you must also use the grub-install command after upgrading to Ubuntu 9.04 to reinstall your boot loader. If you do not do this, then the version of GRUB installed in your boot sector will not be able to read the kernel from the ext4 filesystem and your system will fail to boot.

Possible data-loss problems resizing ext4

The resize2fs tool may cause data loss when growing or shrinking ext4 filesystems off-line. See this mail from the upstream maintainer for more details. Unfortunately we became aware of this too late to fix it in Ubuntu 9.04. If you wish to resize an ext4 filesystem using the tools in Ubuntu 9.04, you may be able to work around these problems by first disabling the flex_bg and uninit_bg features (do not attempt this on a mounted filesystem!):

tune2fs -O ^flex_bg,^uninit_bg /dev/DEVICE_NAME
e2fsck /dev/DEVICE_NAME

However, we still strongly recommend taking significantly more care with backups than usual before attempting to resize an ext4 filesystem.
source
OmegaBLK is offline   Reply With Quote
Old April 23rd, 2009   #10
aniruddha
Just Give Me the Beans!
 
Join Date: Jun 2008
Beans: 53
Ubuntu 9.04 Jaunty Jackalope
Unhappy Re: Ext3 and Ext4: Which file system to install?

Awesome stuff, thank you for all the clarifications. And here I was really looking forward to ext4 too. So it goes...
aniruddha is offline   Reply With Quote

Bookmarks

Tags
ext3, ext4, on ubuntu jaunty

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:08 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry