LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2004, 02:00 AM   #1
sjia
Member
 
Registered: Jan 2004
Location: Ont, Canada
Distribution: Fedora Core 1
Posts: 113

Rep: Reputation: 15
What's the difference between ext2 and ext3


I do not know what the difference between ext2 and ext3. I noticed it while I was trying to partition my hard drive to install RedHat. Please advise.
 
Old 01-31-2004, 02:28 AM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
ext3 is ext2 with the journalling
 
Old 01-31-2004, 07:15 AM   #3
sjia
Member
 
Registered: Jan 2004
Location: Ont, Canada
Distribution: Fedora Core 1
Posts: 113

Original Poster
Rep: Reputation: 15
Are you pulling my leg. What in the heck is journalling.
 
Old 01-31-2004, 07:38 AM   #4
Ajarn
Member
 
Registered: Aug 2003
Location: Thailand
Distribution: Mandiva2005
Posts: 86

Rep: Reputation: 15
he ext3 filesystem is a journaling extension to the standard ext2 filesystem on Linux. Journaling results in massively reduced time spent recovering a filesystem after a crash, and is therefore in high demand in environments where high availability is important, not only to improve recovery times on single machines but also to allow a crashed machine's filesystem to be recovered on another machine when we have a cluster of nodes with a shared disk.
Hhhhhhhhhhhhhhh
fire up google
type in : journaling ( on l please )
look down to the 4th or 5th item.
enjoy
 
Old 01-31-2004, 07:41 AM   #5
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
A journal is a special part of a filesystem. Whenever something is to be written to a journaled filesystem, a note is written to the journal, the new info is written to the partition, and another note is written to the journal that the write was completed. This way, your system doesn't have to check the whole partition for errors after a crash. It can just look through the journal for entries that don't have a completed note.

How annoying is the disk check at start-up after a Windows crash? It would only take a few seconds if it had a journaled filesystem.
 
Old 01-31-2004, 07:54 AM   #6
sjia
Member
 
Registered: Jan 2004
Location: Ont, Canada
Distribution: Fedora Core 1
Posts: 113

Original Poster
Rep: Reputation: 15
What your saying is ext2 is a filesystem that stores information such as a MBR does in Winfroze
 
Old 01-31-2004, 09:02 AM   #7
sjia
Member
 
Registered: Jan 2004
Location: Ont, Canada
Distribution: Fedora Core 1
Posts: 113

Original Poster
Rep: Reputation: 15
Or maybe your saying ext2 contains the file structure of my files. Or does it contains my actual programs and file structure.

Please advise.
 
Old 01-31-2004, 09:21 AM   #8
sjia
Member
 
Registered: Jan 2004
Location: Ont, Canada
Distribution: Fedora Core 1
Posts: 113

Original Poster
Rep: Reputation: 15
Or is it the same as the Windows Registry??????
 
Old 01-31-2004, 09:27 AM   #9
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
ok, you do know about NTFS and FAT(32) partition types, correct?

the partition is a special section of the disk noted by a partition table (the table tells how the disk is sectioned off)

in order for info to be written to a partition, a file system needs to be created; a file system is a way that files, and directories are structured and written to the disk
NTFS, FAT32 in windows are the most common file systems; Ext2 and Ext3 are two file systems commonly used in linux

ext2 and ext3 are the same except for one main difference: Ext3, like said before, has a journaling capability which simply is a log-book for when something is being written to the disk, so when your computer shuts down illegally, the logbook contains the info necessary to quickly show what needs to be repaired (without haveing to look at the whole file system)

*edit: okay, the MBR contains info about How to use the harddrive to boot an operating system; windows does not reside in the MBR, it resides in its own file system (and partition) such as fat32 or ntfs; windows can put the NT bootloader in the MBR to tell your computer how to boot windows; linux can put lilo or grub in the MBR to tell how to boot the linux kernel and other operating systems (the OS does not run from the MBR)

Last edited by TheOneAndOnlySM; 01-31-2004 at 09:30 AM.
 
Old 01-31-2004, 01:28 PM   #10
sjia
Member
 
Registered: Jan 2004
Location: Ont, Canada
Distribution: Fedora Core 1
Posts: 113

Original Poster
Rep: Reputation: 15
Thanks oneandonly. Clears everything up. I had to create an extra partition for Ext and thats what threw me.
 
  


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
Difference between ext2, ext3 & reiser file systems ch.keller Linux - Software 4 01-18-2005 06:16 PM
ext2/ext3 what's the difference Zuggy Linux - Newbie 6 11-05-2004 05:01 PM
ext2 or ext3? e1000 Linux - Distributions 1 10-30-2003 12:28 AM
ext2 ext3 and others safrout Linux - Hardware 2 05-01-2002 06:02 PM


All times are GMT -5. The time now is 09:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration