 |
 |
Journaling and fsck
|
 |
|
 |
|
Senior User
Join Date: Feb 2001
Location: Ny,Ny,USA
Status:
Offline
|
|
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
|
|
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
|
|
Thanks Mill. Ill try that out.
|
|
i hate project managers.
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Jun 2002
Location: San Diego
Status:
Offline
|
|
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
|
|
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
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
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'."
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|