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 > Mac OS X > Journaling and fsck

Journaling and fsck
Thread Tools
Senior User
Join Date: Feb 2001
Location: Ny,Ny,USA
Status: Offline
Reply With Quote
Sep 29, 2004, 11:08 AM
 
I have 2 questions.

1. Im trying to run fsck true the single user mode but its saying that the drive is journaled and it cant run fsck. I can type -f to override it but its that safe?

2. Is it worth having journaling on? Would my system perform any worse with it off?

Thanks.
i hate project managers.
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Sep 29, 2004, 11:20 AM
 
I believe that using fsck -f disables journaling, but should otherwise be safe.

To be completely sure, however, consider disabling the journaling yourself before running fsck, and then re-enabling it afterwards. You can do that like so:

sudo diskutil disableJournal <volume-path>

<do whatever fsck stuff you're interested in doing>

sudo diskutil enableJournal <volume-path>

Ahem. As to performance, it doesn't matter too much. If you tend to work on larger files, there will be a very slight slowdown, but so small that you are unlikely to notice the difference. If you tend to work on many small files, there may be a slight increase in performance, but again it will be so small that you're unlikely to notice.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
Senior User
Join Date: Feb 2001
Location: Ny,Ny,USA
Status: Offline
Reply With Quote
Sep 29, 2004, 12:22 PM
 
Thanks Mill. Ill try that out.
i hate project managers.
     
Forum Regular
Join Date: Jun 2002
Location: San Diego
Status: Offline
Reply With Quote
Sep 29, 2004, 07:41 PM
 
A journaled filesystem is already fsck'ed. If your Mac feels it needs to run fsck, it'll do so automatically at reboot.

fsck -f does not disable journaling. It mearly forces fsck to run. It's perfectly safe, but it's probably unneccessary.
     
Junior Member
Join Date: Sep 2000
Location: Milwaukee, WI
Status: Offline
Reply With Quote
Sep 29, 2004, 09:31 PM
 
Firstly, man <command> is your friend.

admin% man man
admin% man - format and display the on-line manual pages

Secondmore, fsck -f is indeed what you are looking for.
[ -f Force fsck to check `clean' filesystems when preening.]

Neverlast, take things slow and careful when using the command line.


cheers -
     
Forum Regular
Join Date: Sep 2004
Location: Earth
Status: Offline
Reply With Quote
Sep 30, 2004, 01:19 PM
 
Hi, drainyoo.

By the numbers:

1. Instructions for using fsck, whether on a journaled or non-journaled volume, are also found in "Using Disk Utility and fsck for file system maintenance in Mac OS X." Basically

fsck -fy

will work in either case, journaled or non-journaled.

2. Journaling is a good thing and should help reduce instances of the need to use Disk Utility > Repair Disk or fsck after problems. See: "Mac OS X: About File System Journaling."
Good Luck!

Dr. Smoke
Author: Troubleshooting Mac OS X
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Sep 30, 2004, 01:25 PM
 
Originally posted by Millennium:
I believe that using fsck -f disables journaling, but should otherwise be safe.
It doesn't disable journaling for me. I do it regularly, and my disk still shows up as being journaled.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
   
Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 04:47 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2