Turn on Journaling in 10.2 (client)
I forgot how to turn on Journaling from the Terminal in 10.2.4 (client). Help?
# 1 Re: Turn on Journaling in 10.2 (client)
"sudo diskutil enableJournal pathtovolume" is the syntax format.
So, if you just have one hard drive volume, you'd use:
sudo diskutil enableJournal /
If you have additional drives:
sudo diskutil enableJournal /Volumes/drivename
Brad at 2007-11-17 13:12:42 >

# 2 Re: Turn on Journaling in 10.2 (client)
Thanks, Brad!
# 3 Re: Turn on Journaling in 10.2 (client)
to enable journaling... does it take up hard drive space?
Paul at 2007-11-17 13:14:41 >

# 4 Re: Turn on Journaling in 10.2 (client)
you can also use Cocktail (search Versiontracker)
It has tons of other useful functions... good to keep in the Utils folder
ZO at 2007-11-17 13:15:35 >

# 5 Re: Turn on Journaling in 10.2 (client)
I believe it does a little bit, yes, but it's pretty negligible when you consider the size of typical drives today.
Brad at 2007-11-17 13:16:44 >

# 6 Re: Turn on Journaling in 10.2 (client)
IIRC, turning on journaling on my 20GB drive reserved 8MB for journaling data.
Whoop-dee-do. :)
# 7 Re: Turn on Journaling in 10.2 (client)
[quote]Originally posted by Kickaha:
<strong>IIRC, turning on journaling on my 20GB drive reserved 8MB for journaling data.
Whoop-dee-do. :) </strong><hr></blockquote>
alright cool sounds good...
is there any reason NOT to turn this on?
IE if your HD is a bit damaged or overused that it will cause problems?
the speed hit is negligable... right?
Paul at 2007-11-17 13:18:47 >

# 8 Re: Turn on Journaling in 10.2 (client)
I haven't noticed any speed hit, but then, I don't do things that usually require lots of disk access. (Compiling large software systems is probably the worst, and I think that my poky 400MHz G3 on the Pismo is probably the bottleneck as much as the drive throughput.)
Assume 10-15% on drive performance, is what I've been told. So if you do a lot of streaming video, etc, it may not be what you want. Otherwise, no, I don't know of any down side.
And yes, always run Disk Utility, fsck, fix permissions, etc, before doing anything like this.
# 9 Re: Turn on Journaling in 10.2 (client)
[quote]Originally posted by Kickaha:
<strong>
Assume 10-15% on drive performance, is what I've been told. So if you do a lot of streaming video, etc, it may not be what you want. Otherwise, no, I don't know of any down side.
</strong><hr></blockquote>
I believe that it causes your disk to spin quite a bit more, so you may not want to use it on a laptop (unless your laptop is always plugged in)
# 10 Re: Turn on Journaling in 10.2 (client)
Heh. Well, since the same day I turned it on I replaced my *original* battery, if there was any degradation, *I* sure didn't notice it! :D (30 minutes runtime -> 4.5hrs+ = happy)
# 11 Re: Turn on Journaling in 10.2 (client)
So it would be a good idea to journal my huge firewire drive that is a Carracho server, and leave my internal alone since it gets accessed more for pagefiles and other OS stuff?
# 12 Re: Turn on Journaling in 10.2 (client)
Jouralling is only really handy if your mac locks up every now and then and needs hard restarting. Journals in this instance returns the HD to a 'consistent state'.
If you are on a laptop, I recommend you not turn it on. If your mac is rock solid like mine, I recommend you disable it and have a "10-15%' faster HD write.
# 13 Re: Turn on Journaling in 10.2 (client)
Strongly disagree.
Sorry.
There's no reason *NOT* to use journaling unless a) you're exceedingly worried about drive speed (such as streaming video being *written* to disk), or b) your laptop battery is so worn out that adding a minor amount of writing during disk *writes* is going to actually affect your battery life negatively.
If a), dedicate a partition for this, journal the rest. If b), get a freakin' new battery already.
Journaling only kicks in on disk writes, not reads. It's important if you're doing anything such as creating files you *care* about, of course...
# 14 Re: Turn on Journaling in 10.2 (client)
hell i'm willing to give anything a shot. my laptop is all cracked out now.
:(
# 15 Re: Turn on Journaling in 10.2 (client)
One idea...
If people are going to post things like this, it would be wise to also post how to turn things like this off. :)
# 16 Re: Turn on Journaling in 10.2 (client)
Originally posted by rogue27
If people are going to post things like this, it would be wise to also post how to turn things like this off. "sudo diskutil disableJournal pathtovolume" is the syntax format.
So, if you just have one hard drive volume with it enabled, you'd use:
sudo diskutil disableJournal /
If you have additional drives:
sudo diskutil disableJournal /Volumes/drivename
Logical enough? ;)
Brad at 2007-11-17 13:27:51 >
