Help - Search - Members - Calendar
Full Version: Filesystems - Differences Between Them?
Linuxhelp > Support > Technical Support
heylan
Hi guys,

I have just installed Slackware on my computer. During installation, I was given a choice regarding the filesystems (ext2, ext3, reiserfs) to use. I simply chose the traditional one - ext2. Does anyone know where I can get more information about them?

Thanks.
Corey
Well, the most mainstream linux filesystems (as far as I know) are:

ext2
ext3
Reiserfs
XFS
JFS

In my systems, I usually keep my small partitions (say 100mb /boot partitions) to ext2. All other filesystems I normally use reiserfs. When using MythTV which stores a lot of large files (sometimes several gigs in size) I set a seperate partition up using XFS.

The reason I use ext2 for my /boot partition is that ext2 has less overhead. As well, i don't think you can format a 100mb partition using a journaled file system (journalled being all others). I use reiserfs for my regular partitions because I have had better performance with it (a lot of people argue against this, mostly because they think the creator of Reiserfs is a prick, but that's just their opinion). Reiserfs has also been proven to be more efficient with many small to medium sized files. I use XFS for my MythTV partition because XFS has proven to be more efficient with very large files somtimes gigabytes in sizes.

Generally it is good to use a journalled filesystem because if your system happens to shut down accidently (or uncleanly mounted) then the filesystem will just replay the last journel recorded rather then forcing a filesystem check like ext2 does (which on newer, larger hard drives can take a considerable amount of time).

However, this is all in my opinion and in my experiences. Here are some further links for your viewing:

Journalled Filesystem Benchmarks
Benchmarking Filesystems
General Information
heylan
Gee! Thanks a lot! It's really helpful biggrin.gif
Corey
Anytime smile.gif
hughesjr
Corey,

You can use ext3 on your boot partition ... and I would recommend it.

If you have a power loss with ext2, you will have to run fsck on the file system. Normally, with a journaling filesystem (like ext3) there is much less chance for a non-correctable error.

ext3 is OK for 100mb root partition.

also, in a pinch you can mount an ext3 filesystem as ext2. I would not use anything except ext2 or ext3 in my boot partition (due to compatability with recovery tools).
--------------------------------------------------
ReiserFS is a good multi-purpose journalizing filesystem. RedHat doesn't think it is stable, but most other distro's offer it. I normally use ReiserFS on all my partitions except boot.

I don't use XFS or JFS on linux, except for testing. BUT, I do use XFS on HP-UX and I have never had a problem with it.
--------------------------------------------------
Here is a series by IBM on Filesystems:

ReiserFS - Has 6 parts ... see the related section on that page.
Ext3 -1
Ext3-2
XFS
JFS

You may need to register to see some of the content.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.