Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > JOURNALING FILE SYSTEM recommended??

JOURNALING FILE SYSTEM recommended??
Thread Tools
malique
Dedicated MacNNer
Join Date: Jun 2002
Location: Germany
Status: Offline
Reply With Quote
Feb 26, 2003, 01:43 PM
 
Hi,

since JFS was introduced and everybody was a bit frightened to switch it on on a working system I never heard anything anymore.

I'd like to switch it on, thinking this results in higher security *somehow*.

Is there anyone with probs/experiences who can tell me more?

Is it worth the change? Also under the buggy 10.2.4? What exactly is the effort?

thanx,

ɕɕɕ *°* for it is a human number. it's number is onethousandandtwentyfour. *°* ͋ƺ

Dual 1.8 // Dual Display // Dual Ears // Dual Nuts // Dual Everything
     
raviruddarraju
Forum Regular
Join Date: May 2001
Location: Atlanta
Status: Offline
Reply With Quote
Feb 26, 2003, 01:47 PM
 
I didn't see any difference. Nothing bad, nothing "visibly" good.

Originally posted by malique:
Hi,

since JFS was introduced and everybody was a bit frightened to switch it on on a working system I never heard anything anymore.

I'd like to switch it on, thinking this results in higher security *somehow*.

Is there anyone with probs/experiences who can tell me more?

Is it worth the change? Also under the buggy 10.2.4? What exactly is the effort?

thanx,
- Ravi
     
CatOne
Mac Elite
Join Date: Nov 2001
Status: Offline
Reply With Quote
Feb 26, 2003, 01:50 PM
 
Originally posted by malique:
Hi,

since JFS was introduced and everybody was a bit frightened to switch it on on a working system I never heard anything anymore.

I'd like to switch it on, thinking this results in higher security *somehow*.

Is there anyone with probs/experiences who can tell me more?

Is it worth the change? Also under the buggy 10.2.4? What exactly is the effort?

thanx,
It doesn't result in higher security.

It doesn't result in better data consistency (for your data).

What it does is allow the OS to more easily recover from disk inconsistencies -- say what can happen if you pull the plug when the machine is running and it has some OS data cached that hasn't been written to disk. Instead of having to run 'chkdsk' and fix errors, it can use the Journal to see what took place and recreate the state.

I don't think it's all that important on a laptop or on a home machine that is properly shutdown. If you have lots of power failures it's likely a good idea.
     
NeXTLoop
Senior User
Join Date: Aug 2002
Status: Offline
Reply With Quote
Feb 26, 2003, 02:12 PM
 
It's one of those things that can't hurt... and may help. I've been running it since the day it was introduced, and haven't had any problems.
     
Millennium
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Feb 26, 2003, 02:25 PM
 
The only thing journaling does is make your system more resilient; it is not more stable, but will recover better from crashes. Your system won't be more secure or more stable. But generally speaking, it doesn't hurt.

The performance penalty is not noticeable, unless you do a lot of stuff involving the journaled drives. Photoshop scratch disks and video capture come to mind, but you can tturn off journaling on the disks you use for this.

A quick note: do not use journaling if you only have 128 megs of RAM. Otherwise, you will see a major performance penalty, because of the virtual memory subsystem. If you have 256 megs or more, however, VM isn't likely to be used frequently enough that you'll notice any problems.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
KidRed
Professional Poster
Join Date: Mar 2001
Location: Florida
Status: Offline
Reply With Quote
Feb 26, 2003, 02:32 PM
 
Wow, I should've asked about journeling in this thread. I asked in the cocktail thread which will enable it at the click of a button and was told to do a search.

So it sounds like it won't hurt much. Can you turn it off after you've turned it on? Like if I notice a slow down can I stop it?
All Your Signature Are Belong To Us!
     
pat++
Mac Elite
Join Date: May 2001
Location: Earth
Status: Offline
Reply With Quote
Feb 26, 2003, 03:13 PM
 
Originally posted by KidRed:

So it sounds like it won't hurt much. Can you turn it off after you've turned it on? Like if I notice a slow down can I stop it?
yes you can :

sudo diskutil enableJournal /

and then :

sudo diskutil disableJournal /
     
::maroma::
Addicted to MacNN
Join Date: Jan 2002
Location: PDX
Status: Offline
Reply With Quote
Feb 26, 2003, 03:49 PM
 
Great info, I was wondering the same things myself.

So, can someone in the know give a brief on what Journaling actually does (ie - how it works)? Or point me to a page?

Thanks.
     
gorgonzola
Admin Emeritus
Join Date: Nov 2000
Location: New Yawk
Status: Offline
Reply With Quote
Feb 26, 2003, 04:39 PM
 
Try this article on journaling. It's Linux-oriented, but explains what journaling does, gives a rundown of some other major journaling filesystems, and has some links at the bottom to other pages that might be useful.

This is a more technical USENIX paper on the same thing.
"Do not be too positive about things. You may be in error." (C. F. Lawlor, The Mixicologist)
     
malvolio
Professional Poster
Join Date: Apr 2001
Location: Capital city of the Empire State.
Status: Offline
Reply With Quote
Feb 26, 2003, 06:48 PM
 
I have had one personal experience of the benefits of journaling.
I have 3 partitions on my hard drive - system, data, and swap. I had the system partition journaled, but not the other two.
A power failure during a snowstorm gave me a hard crash. When I rebooted, the data partition was so damaged that it would not mount. Had to run DiskWarrior on it to repair it. But the journaled system partition suffered no ill effects.
Now I keep journaling activated on all my partitions.
/mal
"I sentence you to be hanged by the neck until you cheer up."
MacBook Pro 15" w/ Mac OS 10.8.2, iPhone 4S & iPad 4th-gen. w/ iOS 6.1.2
     
gorickey
Posting Junkie
Join Date: Nov 2001
Location: Retired.
Status: Offline
Reply With Quote
Feb 26, 2003, 06:55 PM
 
Originally posted by KidRed:
Wow, I should've asked about journeling in this thread. I asked in the cocktail thread which will enable it at the click of a button and was told to do a search.
You can also enable this with "one-click" using Disk Utility.

     
timmerk
Mac Elite
Join Date: Jan 2001
Status: Offline
Reply With Quote
Feb 26, 2003, 07:26 PM
 
Does the system actaully know how to read the journal and try to recover? Or does it just have the journal file for now, and it won't do any good untill OS X/the computer? can make use of it?
     
besson3c
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Feb 26, 2003, 07:27 PM
 
gorickey:

using 10.2.4 client you can enable Journaling in Disk Utility?
     
gorickey
Posting Junkie
Join Date: Nov 2001
Location: Retired.
Status: Offline
Reply With Quote
Feb 26, 2003, 07:29 PM
 
Originally posted by besson3c:
gorickey:

using 10.2.4 client you can enable Journaling in Disk Utility?
Not the client, sorry...I was referring to OS X Server 10.2.4
     
KidRed
Professional Poster
Join Date: Mar 2001
Location: Florida
Status: Offline
Reply With Quote
Feb 26, 2003, 08:15 PM
 
Originally posted by malvolio:
I have had one personal experience of the benefits of journaling.
I have 3 partitions on my hard drive - system, data, and swap. I had the system partition journaled, but not the other two.
A power failure during a snowstorm gave me a hard crash. When I rebooted, the data partition was so damaged that it would not mount. Had to run DiskWarrior on it to repair it. But the journaled system partition suffered no ill effects.
Now I keep journaling activated on all my partitions.
Curious, how would you enable it on one partition but not the others? I have 2 drives, and 1 has 2 partitions. I enabled journaling in the terminal, is that only for my main drive? How would I do it for the second drive, say only on the first partition?
All Your Signature Are Belong To Us!
     
wataru
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
Feb 26, 2003, 08:41 PM
 
If you used the command mentioned in this thread, you only enabled journaling for /. To enable it for other disks, replace "/" with "/Volumes/volumename."

Note that it is not called JFS. It is HFS+ with journaling.
     
KidRed
Professional Poster
Join Date: Mar 2001
Location: Florida
Status: Offline
Reply With Quote
Feb 26, 2003, 10:26 PM
 
Originally posted by wataru:
If you used the command mentioned in this thread, you only enabled journaling for /. To enable it for other disks, replace "/" with "/Volumes/volumename."

Note that it is not called JFS. It is HFS+ with journaling.
Ah cool, thanks.
All Your Signature Are Belong To Us!
     
I Bent My Wookiee
Mac Elite
Join Date: Apr 2002
Location: Chillin' at the back of the Falcon
Status: Offline
Reply With Quote
Feb 27, 2003, 02:43 AM
 
I have been using it from day one and I still get currupt disk structure and crashes. doesn't do anything good for me really.

"Barwaraaawww"
     
rantweasel
Dedicated MacNNer
Join Date: Oct 2001
Location: Philly
Status: Offline
Reply With Quote
Feb 27, 2003, 07:01 PM
 
Originally posted by I Bent My Wookiee:
I have been using it from day one and I still get currupt disk structure and crashes. doesn't do anything good for me really.
Yeah, but that's not what journaling deals with. Journaling makes it easier for fsck to see the state of the disk when recovering from an unexpected crash/power loss. It tracks the states of open files, what data is written, etc.

mathias
     
   
 
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -4. The time now is 09:32 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,