LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-02-2006, 09:55 AM   #1
tvynr
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 143

Rep: Reputation: 15
Linux Filesystem Pros and Cons


Hello, all. I hope to be migrating my desktop system to Linux sometime in the near future, motivated partially by certain unnerving behavior of my current OS (files marked "read-only" can apparnetly be changed if the software in question uses the "wrong" API). I have skimmed several "Which Linux Distro Is Best" posts and found them quite useful. I have experience using Slackware to run a firewall/mail server/web server/what-have-you but no experience with Linux desktop systems.

My supplementary question is as follows:

Does anyone have any opinions on the pros and cons of filesystems? I have seen ext2, ext3, and reiserfs used; I have been using ext3 on an uninformed, random selection. My only real requirement is journaling, but getting opinions on that sort of thing seems a good idea.

Many thanks, and good day to you.
 
Old 01-02-2006, 10:35 AM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
http://jamesthornton.com/hotlist/linux-filesystems/
http://en.wikipedia.org/wiki/Comparison_of_file_systems
http://staff.osuosl.org/~kveton/fs/

Also, search google. "linux filesystem comparison" should come up with lots of hits. Also try variations with "benchmark", etc.
 
Old 01-02-2006, 02:06 PM   #3
tvynr
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 143

Original Poster
Rep: Reputation: 15
Many thanks. I hit Google but didn't come up with much. I got plenty of hits but they all seemed to be related to specific cases rather than a general, partially subjective review.

From my cursory examination, it seems that ResierFS v4 is the best option. It's especially appealing as it manages to avoid the problem that I frequently experience on my development system: large numbers of small files taking lots more disk space than strictly necessary as a result of clustering.

Thanks again!
 
Old 01-02-2006, 02:53 PM   #4
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
yea, pick what works best, ext2/3 broke when i first used it for no reason, so i use reiserfs. For others, reiserfs broke for no reason, so they only use ext2/3.

all in all, reiserfs4 seems like the best file system around, with the plugin system it has. Now just have to wait for people to come up with some interesting and useful plugins. But im not sure if its the best one, the earlyer 3.* versions found in the kernel might be more stable, both are exeptional at small files, and fine with big ones. Hmm, but i havent looked up at reiserfs4 for quite some time, maybe its out of beta? if it is, i think ill go give it try, it does seem to be the most advanced fs around.
 
Old 01-02-2006, 04:38 PM   #5
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Just be careful with a filesystem that's so new (Reiser4) "We must caution that just as Linux 2.6 is not yet as stable as Linux 2.4, it will also be some substantial time before V4 is as stable as V3." (http://www.namesys.com/)

Quote:
(files marked "read-only" can apparnetly be changed if the software in question uses the "wrong" API)
Out of interest what do you mean by this? In Linux root can override any permissions if they want, since by definition root as able to do anything on the system.
 
Old 01-02-2006, 07:17 PM   #6
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
My thoughts:

I would not go for Reiser4 just yet. I'm too conservative. Wait until it's aged a bit more. For something as basic as a filesystem I don't want to be on the bleeding edge.

Reiser3. I've never used it, but from my research this would probably be my choice for a general purpose filesystem now. Also from my research, I don't think Reiser3 is too good with a small number of very large files. I'm looked at it from a MythTV video recording perspective (which I'm installing now). For this application, JFS or XFS seem to come with higher recommendations. Better with the big files. I'm not sure what these would add over Reiser for general purpose filesystems. Haven't researched that part.

Ext3. This is what I'm using now for my base Debian system. Just because it appeared to be the default when I last installed Debian (or maybe I made the choice, I don't really remember). No reason to choose it, no reason NOT to choose it ... as best I can determine. Stable, but possibly slower or less flexible than newer filesystems for some/all tasks.

Ext2. Non-journelling. I would not consider this.

Of course, YMMV! ;-)

[edit]
One other thing I forgot to add above. If you plan on using LVM, check each filesystem type to see what they support as far as growing or shrinking. I think I remember reading that XFS only allows you to grow a filesystem, never shrink it. I may be wrong about this, or it might not even matter to you.
[/edit]

Last edited by haertig; 01-02-2006 at 07:20 PM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
pros/cons of getting a G5 Tomasfuego Linux - Hardware 4 06-07-2005 04:53 AM
Linux / Windows Pros & Cons jordban General 78 05-04-2005 05:43 PM
Linux pros and cons thrix General 18 11-26-2004 07:47 PM
Pros and Cons Linux vs Windows XP obsideus Linux - Newbie 19 12-02-2003 10:03 PM
Pros And Cons Of Linux Oliver_Bell Linux - Newbie 37 05-14-2003 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration