Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 03-21-2005, 10:58 AM   #1
LQ Newbie
Registered: Mar 2005
Posts: 19

Rep: Reputation: 0
What is file system journaling?

I have question regarding file system journaling,which is the difference between ext2 and ext3.
I think the difference is that when computer wants to be shut down and the file systems are unmounted
and the directory (mountpoint) wants to be transferred to the file system (storage device),if the fs system
type related to that mountpoint (directory) was ext3 either writes the complete changes to that storage device (fs)
or doesnot write at all but if the type of the fs related to that mountpoint was ext2 may sometimes write the changes
incomppletely,may umount the fs incompletely before shutting down.
Old 03-21-2005, 01:04 PM   #2
Senior Member
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Yes, journaling is as it's name tells you a logging capability of the filesystem. If at any time there is some error, that causes the filesystem to stop working (being unable to write the changes to the harddisk), the journal is still the thing that can write those changes when the filesystem is operational again, and thus makes the recovery of the partition. In the end, it's a good thing to have.
Old 03-23-2005, 01:51 AM   #3
LQ Newbie
Registered: Mar 2005
Posts: 19

Original Poster
Rep: Reputation: 0
But can you tell me that when does writting on hard partition take place?
I believe that it only takes place when you try to umount the file system of that partition,so this file system journaling can only be useful when a problem occurs at umount time and this information can not be completely written on the hard partition,and then because the fstype is "ext3" when the next time the partition is mounted,the writting starts again from the point that it had ended.
Am I right?
Old 03-23-2005, 05:51 PM   #4
Registered: Aug 2002
Posts: 16,027

Rep: Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851
Here is one decent article on journaling filesystems:

Data read from and written to the disk is buffered so data is not written immediately. When you unmount a drive any data still in the buffer is written to disk.


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
figuring out 'file system' and 'swap file system' types TrulyTessa Linux - Newbie 3 09-26-2005 06:46 PM
help needed reg Journaling File system deep123 Linux - General 3 04-25-2005 11:45 PM
journaling modes in ext3 file system lucky123 Linux - Newbie 2 04-14-2005 11:03 PM
Journaling File Systems L33t_H4x0R Linux - General 9 04-25-2002 06:26 PM
What journaling filesystem do you use? jeremy Linux - General 1 08-29-2001 07:33 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:32 PM.

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