LinuxQuestions.org
Visit Jeremy's Blog.
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 09-13-2008, 08:46 PM   #1
dokkalf
LQ Newbie
 
Registered: Apr 2007
Posts: 18

Rep: Reputation: 0
JFS external journal setup questions


I'm considering a new install/upgrade, and I thought I'd like to try JFS as my file system this time. From what I've read, an external journal gives better performance, but I have a few questions.

First, can different partitions share an external journal, or does each partition require its journal to be in a separate partition?
For example:
Scenario A (shared journal) would be: / on /dev/sda1 with journal on /dev/sdb1, /usr on /dev/sda2 with journal on /dev/sdb1, and /home on /dev/sda3 with journal on /dev/sdb1.
Scenario B (individual journals) would be: / on /dev/sda1 with journal on /dev/sdb1, /usr on /dev/sda2 with journal on /dev/sdb2, and /home on /dev/sda3 with journal on /dev/sdb3.
Based on hints in various articles, it appears that JFS might be able to do Scenario A, but not with Linux; meaning that Scenario B is my only option if I want multiple JFS partitions, each with an external journal. Any confirmation one way or the other?

Second, how big should the journal partition(s) be? My understanding (from Wikipedia - yeah, I know) is that JFS journals are fixed at 32 MB. Should journal partitions be exactly 32 MB, or should I allow some overhead? If Scenario A is viable, should the shared journal be 32 MB (plus overhead), or 32 MB per each "share" (96 MB plus overhead)?

Third, any recommendations/hints/warnings/experiences with JFS that anyone would care to pass on?
 
Old 09-15-2008, 04:59 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,674

Rep: Reputation: Disabled
As I understand it, sharing journals wouldn't really make sense, but this is also depending from the type of journaling you want to use. I use ext3 with 400 MB journals per partition and data journaling. You might want to read up the ext3 man and info pages for some background and also

http://forums.gentoo.org/viewtopic-t...-dirindex.html

and in german
http://www.heise.de/open/Das-Dateisy...tikel/104859/0
 
Old 09-15-2008, 07:39 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,938

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
JFS, the Wikipedia information is not always 100% correct.??
..max 32 MB ... > >
http://www.commandlinemac.com/articl...52030205/print

And "all" the documentation :
http://jfs.sourceforge.net/ > >
Near Term : Adding support for external log to be shared
by more than one FS (see Documentation > Presentations)

From 'man jfs_tune' : .. external journal is experimental.
(experimental : may be not anymore).

JFS works fine, just use it. Searching with Google
I found no examples from anybody using external journal.

Regards
 
  


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
External ddns server setup karelvdm Linux - Networking 29 03-18-2007 02:20 PM
External DDNS server setup worldgnat Linux - Networking 10 02-26-2007 08:55 AM
external best data modem setup swburt Linux - Hardware 1 07-20-2006 08:36 AM
How do you setup external journaling ? enkrypt3d Slackware 1 01-07-2004 06:16 PM
External Harddrive setup blahJake Linux - Hardware 1 12-25-2003 08:54 PM


All times are GMT -5. The time now is 10:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration