LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-13-2005, 06:38 PM   #1
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: a few...
Posts: 654

Rep: Reputation: 32
kjournald - what does it actually do?


Hi there

I'm seeing some interesting behaviour in kjournald just before one of my systems goes down. I unfortunately can't find any definitive information on what kjournald does (google, forums and the like all yield no result - though the same question seems to come up regularly :P ).

Any info would be appreachiated.
 
Old 11-14-2005, 01:09 PM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,265
Blog Entries: 4

Rep: Reputation: 4141Reputation: 4141Reputation: 4141Reputation: 4141Reputation: 4141Reputation: 4141Reputation: 4141Reputation: 4141Reputation: 4141Reputation: 4141Reputation: 4141
kjournald is the journaling daemon for the ext3 filesystem.

The "journal" is what enables ext3 to recover quickly after a filesystem crash. As explained in man mount, there are three different journaling-modes to choose from, all of which affect the behavior of kjournald.

To quote the Linux source (fs/jbd/journal.c):
Quote:
* This kernel thread is responsible for two things:
*
* 1) COMMIT: Every so often we need to commit the current state of the
* filesystem to disk. The journal thread is responsible for writing
* all of the metadata buffers to disk.
*
* 2) CHECKPOINT: We cannot reuse a used section of the log file until all
* of the data in that part of the log has been rewritten elsewhere on
* the disk. Flushing these old buffers to reclaim space in the log is
* known as checkpointing, and this thread is responsible for that job.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
kjournald creating too much disk activity a1tair Linux - General 5 10-27-2005 11:08 AM
What does kjournald do? Noerr Linux - General 1 06-12-2004 11:16 PM
not using swap / kjournald using a lot of CPU bhatcher Linux - General 3 02-18-2004 10:28 PM
kjournald assertion failure knaries2000 Linux - General 0 08-15-2003 09:30 AM
kjournald seems to lock system when it runs jfraney Linux - Software 0 03-18-2002 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:26 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
Open Source Consulting | Domain Registration