PDA

View Full Version : Turn on Journaling in 10.2 (client)


dstranathan
03-05-2003, 11:19 AM
I forgot how to turn on Journaling from the Terminal in 10.2.4 (client). Help?

Brad
03-05-2003, 11:26 AM
"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

dstranathan
03-05-2003, 12:07 PM
Thanks, Brad!

Paul
03-05-2003, 12:16 PM
to enable journaling.... does it take up hard drive space?

ZO
03-05-2003, 12:52 PM
you can also use Cocktail (search Versiontracker)

It has tons of other useful functions... good to keep in the Utils folder

Brad
03-05-2003, 12:53 PM
I believe it does a little bit, yes, but it's pretty negligible when you consider the size of typical drives today.

Kickaha
03-05-2003, 01:08 PM
IIRC, turning on journaling on my 20GB drive reserved 8MB for journaling data.

Whoop-dee-do. :)

Paul
03-05-2003, 02:23 PM
[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?

Kickaha
03-05-2003, 02:37 PM
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.

Brian Paulsen
03-05-2003, 04:24 PM
[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)

Kickaha
03-05-2003, 06:04 PM
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 -&gt; 4.5hrs+ = happy)

Aquatic
03-06-2003, 06:48 PM
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?

1337_5L4Xx0R
03-07-2003, 01:34 PM
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.

Kickaha
03-07-2003, 02:42 PM
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...

alcimedes
03-17-2003, 09:35 AM
hell i'm willing to give anything a shot. my laptop is all cracked out now.

:(

rogue27
03-17-2003, 02:43 PM
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. :)

Brad
03-18-2003, 03:23 PM
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? ;)