Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

If I were to setup a new computer intended for single user use with /home on a separate partition, what would be the best file system to use for that partition? Would you use ext3, ext4, reiserfs or something else?

share

locked by HopelessN00b Dec 5 at 5:34

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

closed as not a real question by Mark Henderson Jul 25 '12 at 2:29

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

7 Answers 7

up vote 7 down vote accepted

Define "best".

Any of the currently available Linux filesystems will get the job done. ext3, ext4, jfs, xfs, reiserfs, they all work and generally work quite well. However you have to define what you mean by "best" before one can be selected, as the different filesystems each excel in different ways.

If you wan't maximum reliability and recovery, ext3 is the winner. It's run on more Linux boxes than any other filesystem, and has better recovery tools than any other filesystem. However, it's the slowest filesystem, too.

If you want better performance, jfs, xfs, and reiserfs can all be an option. In my general experience, they will all outperform ext3 in general, and in certain cases they'll outperform it by a lot (deleting large files being a great example). I've used each of these 3 filesytems with a lot of success in the past, and would have no problem recommending any one of them for /home. Each one has its own quirks and advantages. The biggest disadvantage is that they're not used quite as much as ext3, so there's that rare outside chance of running into a bug (unlikely), and if there is ever any problem, you'll have fewer tools to support recover (but you should be making use of your backup at that point anyway, so that shouldn't be a big deal ;-).

ext4 is kind of the odd man out right now. It performs better than ext3 (ext4 is more on par with jfs, xfs, and reiserfs), with better recover tools than the jfs, xfs, and reiserfs. However it's also the newest and least tested of the bunch. Some people have already run into some oddities and problems with it, so a lot of people are recommending against it for production use for a little while longer, until it's gotten a few more bugs shaken out.

If it were me, I'd probably go with jfs right now, and if I built the same box in six months or so, I'd almost certainly go with ext4.

share

Personally I would just use ext3. It's tried and true. Ext4 will replace it but there has been issues with lost data.

share
    
+1 for ext3. works like a charm. –  Berek Bryan Apr 30 '09 at 23:58
1  
Same. While ReiserFS can offer some minor performance benefits and a modicum of space saving for small files, ext3 does nearly as well and is universally supported. –  Drew Stephens May 1 '09 at 0:40
6  
And unlike reiserfs, it won't murder your wife. :-) –  Paul Tomblin May 1 '09 at 0:40
2  
Actually he says it's for a single user, ... so you shouldn't have to worry about it murdering your wife. –  Brad Gilbert May 1 '09 at 18:00
1  
well the real problem wih ReiserFS is that it's not maintained –  chburd May 7 '09 at 11:40

To extend cletus' answer, I would use ext3 within LVM. LVM makes it a LOT easier to expand a partition later.

share

ext3 works well as does xfs.

share

Ext3, with data=journal. You're unlikely to actually need high I/O performance from your home directory.

When I used ReiserFS, there was a 30 second wait just to mount the partition!

Ext4 may be too early for home use. Certainly interesting, but the performance gains are likely not worth the risk.

share

Reiserfs works well everywhere. I use it even for /boot (with flags)

share
4  
Until it kills your wife. –  Tom O'Connor Feb 13 '12 at 13:26

Any of ext3, xfs or if available zfs - whichever you have available to you, all are great.

share

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