Read on full site | Join TechSpot! (it's free) | Bookmark / Share this



EXT2 / EXT3 / ReiserFS

DigitAlex
06-10-2004, 07:32 AM
what are the big differences please ?

I mean on practical side, i don't really mind the theory behind it, i just wanna know what it can change actually ....

i seem to know that the 2 last ones are journalized, but that's all.

and another thing, is it possible to switch from one to another or do i have to install the distro again from scratch ?

thanks

Nodsu
06-10-2004, 01:04 PM
Ext2 doesn't have journalling so it breaks easily.
Ext3 is basically ext2 plus a journal. Maybe a tad slower because of it.
ReiserFS is Something Completely Different. It performs better in extreme conditions (heavy load, thousands of files in a dir etc.)

You can switch between ext2 and ext3. I don't know if there is anything that can convert between ReiserFS.

If you want performance and to look cool, go for Reiser. If you are dual booting, you will not be able to access files on a Reiser partition from Windows.

If you want to play safe and have access to your Linux files from Windows, go for Ext. If you want to write to your Linux partition from Windows, you need Ext2.

From Linux point of view, you have a choice between Ext3 and reiser.
From Windows point of view you have the writable and easily breaking Ext2 or the read-only Ext3.

Ad
06-10-2004, 01:04 PM
  

DigitAlex
06-10-2004, 03:48 PM
It's a pure debian box
very old PC
not lots of files
windows doenst have to access the linux box, but the contrary, so i don't think it will change anything
so from what i have read, ext3 would be a better choice since i already have installed on ext2 and can switch
by the way, how can i do that ?

Phantasm66
06-10-2004, 03:49 PM
I usually use Ext2 on dual boot machines, and Ext3 for machines that only have Linux.

Ext3 does not work with PowerQuest drive image as well, which is annoying because I make extensive use of this product.

DigitAlex
06-10-2004, 05:41 PM
what about ghost ? issues with ext3 ?

Nodsu
06-11-2004, 02:18 AM
"tune2fs -j /dev/hdxy" Will add a journal to an existing ext2 filesystem.

You have to make sure your kernel supports ext3 before doing that tho. If the kernel is anything newer than 3 years then it probably supports it.

DigitAlex
06-11-2004, 05:50 AM
2.4.18 so i guess it's ok

what is the real advantages of journalising ?

Phantasm66
06-11-2004, 06:41 AM
You will be fine, Alex, so long as Ext3 is actually compiled into your kernel. That version of the kernel code supports it as far as I know, if you are using a distribution kernel then it probably came with it enabled.

having a journal will make it much less likely that your file system will become corrupted if your system crashes.

tune2fs is a very hard command - you should all read the man page for it.

DigitAlex
06-11-2004, 06:59 AM
it's a custom kernel so I think i'll have to recompile it again to enable ext3

Phantasm66
06-11-2004, 08:48 AM
well, if you still have the config file you used you could cat and grep that and see if you used ext3....

cat .config | grep -i ext3

if you recompile, see if ext2 is compiled into the kernel, or is a module. i think its in the kernel.

you could then convert your ext2 to ext3 using the tune2fs command that Nodsu has noted.

Ad
06-11-2004, 08:48 AM
  

Mictlantecuhtli
06-11-2004, 09:22 AM
Linux filesystems benchmarks (http://linuxgazette.net/102/piszcz.html), includes ext2, ext3 and ReiserFS

Namesys (http://www.namesys.com/), the creator of ReiserFS

LinuxPlanet looks at ReiserFS (http://www.linuxplanet.com/linuxplanet/tutorials/2926/5/)

Each time a new kernel version is installed, a new version of Reiserfs is required. The data on disk is upward-compatible so you don't have to reformat each time, but the filesystem code changes slightly. It takes a certain amount of care to ensure that you don't try to put the wrong Reiserfs version with the wrong kernel, and there is a slight delay between the release of a new kernel and the release of the Reiserfs patch for that kernel.

None of this is especially difficult if you have previous experience building kernels. The process is quite similar to applying the Alan Cox kernel patches, or the international crypto patches. Nonetheless, it can be quite daunting for someone new to Linux. It's especially tricky to create a Reiserfs root partition, since this requires temporarily booting off a backup partition as well as copying and recopying the files from the root partition. One false step, and you can be left with an unbootable machine and be forced to reinstall Linux from scratch or get help from a guru. It's certainly not something a new user should try!

DigitAlex
06-11-2004, 09:37 AM
Thanks Mic.

Phant, I didn't use ext3 support when compiling.

Phantasm66
06-11-2004, 03:32 PM
[root]# more mykernel.conf | grep -i ext3
CONFIG_EXT3_FS=m
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y


I guess its OK to have Ext3 as a module, then....

But see how Ext2 is always compiled directly into the kernel...

CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y


These were the defaults from Red Hat supplied kernel config files.


But there's no harm whatsoever in compiling Ext3 in as well so I guess you should if it lets you.

Goalie
06-14-2004, 04:17 AM
iirc, Ghost doesn't have any trouble with ext3. Dunno about reiserfs, I vaguely recall having ghosted one of those in the past, but could be wrong.

Post a reply, see related topics & more

Tip: Download Advanced SystemCare 3 Free - Clean, Repair, Protect & Optimize your PC.



 Top Technology News

TechSpot Blog: Disable Windows automatic check for solutions after a program crashes

Weekend Open Forum: Google Chrome OS and the future of cloud computing

Tech Tip of the Week: Unearth Region-Specific Windows 7 Themes

Intel's six-core Gulftown processor benchmarked months early

Another iPhone worm spotted, this time it's dangerous

Stardock CEO: Steam holds 70% of digital game distribution market

Google: Android, Chrome OS to converge eventually

Microsoft to showcase Natal at Gamefest in February

More Tech News

  
 Software Downloads

FlashGot 1.2.0.9

RemoveIT Pro XT - SE 23.11.2009

Vuze (Formerly Azureus) 4.3.0.4

RemoveIT Pro v7 Enterprise 23.11.2009

Aloaha PDF Suite 3.9.172

Blindwrite Suite 6.3.1.5

RemoveIT Pro v7 Ultra 23.11.2009

More Downloads



Copyright © 1998-2009 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.