LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-18-2003, 01:28 PM   #1
whitefox
Member
 
Registered: Apr 2003
Location: Singapore
Distribution: slackware 9.1
Posts: 55

Rep: Reputation: 15
ext2 or ext3


Could anyone give me some information on ext2 and ext3?

Basically, i would like to know what they are and what are differences btw them and which one is better.

Thanks.
 
Old 04-18-2003, 01:34 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
ext2 is the predecessor of ext3. ext3 is the better system as it has a better jounaling system that offers better data recovery rates after a system crash than ext2.
 
Old 04-18-2003, 01:35 PM   #3
whitefox
Member
 
Registered: Apr 2003
Location: Singapore
Distribution: slackware 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
what is jounaling system?
 
Old 04-18-2003, 01:41 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Take a look at:
http://olstrans.sourceforge.net/rele...2000-ext3.html
 
Old 04-18-2003, 01:45 PM   #5
whitefox
Member
 
Registered: Apr 2003
Location: Singapore
Distribution: slackware 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
Thanks.

That is exactly what i am looking for. v learnt a lot ^_^
 
Old 04-19-2003, 05:40 AM   #6
Draqear
LQ Newbie
 
Registered: Apr 2003
Posts: 18

Rep: Reputation: 0
Filesystems..

Howdy,
On filesystems.. ext2 is very old and no longer really recomended. Ext3 is Ok and it is journaled (meaning that it has Much improved data protection ) Reiser is considered finally production stable and is journaled, pretty quick too. Jfs is IBM's journaled file system for enterprise ect... I have noticed a very tangible decrease in boot time with JFS over ext3, and reiser on the same system using the same slackware 9 install disk all Clean fresh installs.. have not tried XFS which is SGI's enterprise journaled file system.. its supposed be very very quick but at the expense of caching alogrithms that in case of power failure And no battery backup can mean data loss.

Cheers
 
Old 04-19-2003, 08:08 AM   #7
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Rep: Reputation: 30
but isn't it possible to steal the journal or something, thus having a fairly big exploit and EXT2 being more secure? idk, heard this somewhere which has stopped me from converting..
 
Old 04-19-2003, 02:41 PM   #8
Draqear
LQ Newbie
 
Registered: Apr 2003
Posts: 18

Rep: Reputation: 0
Journals

/grin
Nope, thats one *tight* azz journal! Its whole concept is all about safe and sercure boss...


cheers
 
Old 04-19-2003, 05:53 PM   #9
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
technically, ext2 is faster than any journal, though.
; )
 
Old 04-19-2003, 07:45 PM   #10
Draqear
LQ Newbie
 
Registered: Apr 2003
Posts: 18

Rep: Reputation: 0
fast

Yup...Techically ext2 is... but Try Jfs or Xfs one of these days Overall I believe you will be pleasantly suprised! I have not personally tried Xfs but I can attest to Jfs's speed... if its not as fast as ext2 its so dang close as to be a non issue. Also add in its WAY better file security and data integrity and its a win / win combo..


Cheers
 
Old 04-19-2003, 08:09 PM   #11
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
There are 2 things I wonder about:

ReiserFS has had some spells with people reporting very bad crashes...supposedly ReiserFS is not very good in this case: when it crashes it crashes bad. Bye bye data. Does this by any chance plague other journals?

How good is JFS/XFS in restoring supposedly deleted data/files. Can you restore something you deleted by accident? Or is it so secure....it does a better job making sure the sensitive data can't come back to haunt you (w/o of course going into playing with big magnets...)
 
Old 04-19-2003, 08:38 PM   #12
Draqear
LQ Newbie
 
Registered: Apr 2003
Posts: 18

Rep: Reputation: 0
JFS

check out this link http://www-124.ibm.com/developerworks/oss/jfs/home.html I believe most any question you have will be answered for me the /blush/ Coolest thing to it was the sheer Boot Sequence time...heh some days im easily amused I guess but seriously unless its a do or die production enviroment install it and hammer down on it... coming from an enterprise enviroment AND given that it has full on kernel support in newer kernels its pretty stable. Oh... a Windows Friend of mine decided to help me the other day and shutdown my linux box by the good old fashioned Powerbutton while running method... STILL booted hella fast next day, no data loss either..
XFS im told is so optimized for speed that if your machine suddenly suffers complete powerloss you most likely will lose what you were working on that was in ram... course any filesystem can have that happen but some are less likely to have it happen than others.. still its a tradeoff that some folks feel very worth it. Also those folks will usually invest in a simple (but effective) UPS solution that will allow a gracefull shutdown

Cheers
 
Old 04-19-2003, 08:57 PM   #13
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
well, one of JFS problems in a production environment, is that it does not seem to have a quota implemented yet. That may really hurt possible support.

As for XFS, yeah...I heard its optimized like heck. But the trade off is, that it probably excels in production environments and is of not much use for a home system. And usually you will only notice differences in systems that are pushed to the limit... no home user needs XFS to access his /home directory in supposedly lightning speed. Not going to happen. OTOH, XFS will shine when having many users access and mover around 200MB files.

Lastly, I seem to have developed a mistrust to ResierFS by what others have reported.

But I'll be setting up a new system soon...so I'll look into jfs

cheers
 
Old 04-20-2003, 12:01 AM   #14
Draqear
LQ Newbie
 
Registered: Apr 2003
Posts: 18

Rep: Reputation: 0
Quota

Oops, you are right the linux port of JFS dont support quota as of yet, thats on Todo list. My bad! As for Reiser, yup when it crashes it seriously burns to hades...the real culprit is Reiser needs to be in sync with its utilitie or when you run a utility check you T-O-A-S-T the install in a very big way and making DAMN sure you got THE utility for your sub sub sub version of rieser dont always happen..... /grin
Ive been beating up on JFS last few days and I have to say so far it seems to catch every curveball I can throw. Most of the reason I went with JFS is how much sheer effort IBM and peeps have been pouring into this filesystem and some quiet statements made my Alan Cox and Linus Torvalds about JFS inclusion into the kernel... so being as this is not a do or die production machine but a test platform I use to torture and break I just had to give it a whirl... im not done beatin up on it by any stretch but so far im reasonably impressed. I'll let ya know if I uncover any show stoppers.
Cut-Paste: JFS provides fast file system restart in the event of a system crash. Using database journaling techniques, JFS can restore a file system to a consistent state in a matter of seconds or minutes, versus hours or days with non-journaled file systems. This white paper gives an overview of the architecture, and describes design features, potential limits, and administrative utilities of the JFS technology available on developerWorks. Once a file has been successfully removed, it remains removed and will not reappear if the system crashes and is restarted.
The 900 file copy used files of 10k, 130k, and 650k in size, while the mailserver study used files from 2-8k in size. According to popular sentiment, the mailserver should have favored Reiserfilesystem heavily. This was not the case.
FS Size Build Read Update Destroy 900Copy SpdIdx Rank
ext2 402,340 1.37 57.5 58.6 3.69 .53 1.68 2nd
ext3 435,148 1.94 62.9 63.3 669.93 .56 1.01 3rd
ext3 writeback 435,148 2.28 128.43 62.77 636.43 .55 ~1.12 3rd
Reiser 419256 .11 3.72 6.27 16.37 .59 1.59 2nd
JFS 828,102 .06 3.13 4.51 10.08 .54 2.10 1st
XFS 428,924 .13 6.01 6.95 69.74 .49 1.61 2nd
End Cut-Paste:
It was a real tossup between XFS and JFS... Xfs has one known *problem* if you want to call it that: if you have a situation that requires mass write to then delete of files its really slooowww other than that its blazing fast and rockin stable....

Cheers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ext2 | ext3 bruse Linux - Newbie 3 03-03-2005 08:10 AM
Ext2 or Ext3 CrAzY G Linux - Newbie 20 03-02-2004 01:25 AM
ext2 vs ext3 evano Slackware 5 06-25-2003 10:14 AM
<<<<<<<ext2 <vs> ext3>>>>>>> Phantom Rayne Slackware 2 03-20-2003 09:38 PM
ext2 ext3 and others safrout Linux - Hardware 2 05-01-2002 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:44 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration