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 > Defragmenting

Defragmenting
Thread Tools
trek2008
Forum Regular
Join Date: Mar 2002
Location: West Virginia
Status: Offline
Reply With Quote
Apr 23, 2004, 07:27 PM
 
This may sound stupid, but can you defrag a Mac like you can Windows?
I have an MacBook, 15" monitor, 1 GIG ram, 120 gig internal hard drive, 500 gig external hard drive, and an iMac with 40 gig internal hard drive with iSight web cam. Using Mac OS 10.5 Leopard
     
f1000
Professional Poster
Join Date: Jan 2003
Status: Offline
Reply With Quote
Apr 23, 2004, 07:48 PM
 
Originally posted by trek2008:
This may sound stupid, but can you defrag a Mac like you can Windows?
Search is your friend.
     
Developer
Addicted to MacNN
Join Date: Apr 2001
Location: europe
Status: Offline
Reply With Quote
Apr 23, 2004, 08:01 PM
 
Originally posted by trek2008:
This may sound stupid, but can you defrag a Mac like you can Windows?
Panther automatically defragments smaller files. Beyond that, read this article:

http://db.tidbits.com/getbits.acgi?tbart=07254
Nasrudin sat on a river bank when someone shouted to him from the opposite side: "Hey! how do I get across?" "You are across!" Nasrudin shouted back.
     
MPMoriarty
Dedicated MacNNer
Join Date: Oct 2003
Location: Saint Louis, MO
Status: Offline
Reply With Quote
Apr 23, 2004, 08:13 PM
 
Even though defragmenting your hard drive isn't needed as often as a PC, it still is a good maintenance process to run every once in a while.

While it's true that Panther does defragment files automatically, there is a file size limit. I think it is 8MB or something. So if you are moving around rather large files a lot, you'll need to use a more professional defragmenting tool.

I suggest Disk 10 from Micromat...

http://www.micromat.com

I hear its pretty good and gets the job done.

Mike
     
tooki
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Apr 24, 2004, 03:47 PM
 
You realize that Drive 10 (not "Disk 10") is now an old product, since TechTool Pro 4 came out?

That said, I never defragment any more, it doesn't help anything in real-world use.

tooki
     
Lancer409
Professional Poster
Join Date: May 2004
Location: Semi Posting Retirement *ReJoice!*
Status: Offline
Reply With Quote
May 5, 2004, 09:25 PM
 
Any built in defrag software, or any good ones that are free? I am used to free defrags =)
     
wataru
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
May 5, 2004, 09:34 PM
 
Originally posted by tooki:
You realize that Drive 10 (not "Disk 10") is now an old product, since TechTool Pro 4 came out?

That said, I never defragment any more, it doesn't help anything in real-world use.

tooki
They just updated Drive 10 a couple days ago. It is now version 1.1.5.
     
wunderkind
Dedicated MacNNer
Join Date: Jul 2001
Status: Offline
Reply With Quote
May 5, 2004, 10:50 PM
 
Originally posted by MPMoriarty:
While it's true that Panther does defragment files automatically, there is a file size limit. I think it is 8MB or something.
I've read somewhere that it is 50MB.
PB G4 12" 1.5GHz/1.2GB/100GB/SuperDrive/AE/Mac OS X Tiger
     
nforcer
Mac Elite
Join Date: Oct 2001
Status: Offline
Reply With Quote
May 5, 2004, 11:52 PM
 
Originally posted by wunderkind:
I've read somewhere that it is 50MB.
IIRC, 20MB files and under.
     
bergy
Mac Enthusiast
Join Date: Aug 2003
Location: Canada, Planet Earth
Status: Offline
Reply With Quote
May 6, 2004, 06:37 AM
 
Some good info on the subject ...

Apple - OS 10 Disk Optimization
http://docs.info.apple.com/article.html?artnum=25668

Former Senior Engineer at Mac Norton Utilities discusses Defragging
http://db.tidbits.com/getbits.acgi?tbart=07254

Micromat Defrag Discussion
http://www.macfixitforums.com/php/sh...rue#Post570760
Tiger 10.4.8
     
wadesworld
Grizzled Veteran
Join Date: Apr 2001
Status: Offline
Reply With Quote
May 6, 2004, 10:12 AM
 
For normal users, defragmenting is a waste of your time and an unnecessary risk of corrupting your disk.

Just leave it alone and get work done folks.

Wade
     
teszeract
Dedicated MacNNer
Join Date: Oct 2002
Location: the end of the world
Status: Offline
Reply With Quote
Jun 25, 2004, 06:42 PM
 
I'm exporting my iMovie to DV Tape. The recording on the tape itself is pretty jerky and unsync'd. With my 60g HD; 10 gb free (recently taken to 1gig free) - could this be file fragmentation causing the problem? I'm searcing right now for a defrag solution, just in case.
     
bmhome1
Dedicated MacNNer
Join Date: Jul 2003
Status: Offline
Reply With Quote
Jun 25, 2004, 07:47 PM
 
Anything less than 15% free space (9GB on a 60GB drive) is not only going to slow down the drive's speed significantly it also greatly increases the chance of irreparable data corruption such as extents directories or overlapped files (see the MacFixIt link).

Clearing out some space is first in order and defragging will probably greatly help speed since its a certainty that the large video files are scattered all over the drive in pieces. Video projects are best on an external drive with the required large free spaces. If this is your single drive with OSX on it, defragging will help in this case.
( Last edited by bmhome1; Jun 25, 2004 at 07:54 PM. )
     
wataru
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
Jun 25, 2004, 08:44 PM
 
People claim that defragmentation is unnecessary on OS X, but when I actually went and looked I found that I had tens of thousands of fragmented files, and my free space was in a similar state.
     
iohead
Registered User
Join Date: Jan 2003
Location: California
Status: Offline
Reply With Quote
Jun 25, 2004, 10:26 PM
 
Originally posted by wataru:
People claim that defragmentation is unnecessary on OS X, but when I actually went and looked I found that I had tens of thousands of fragmented files, and my free space was in a similar state.
How did you go and look? I mean, what application/utility did you use to do so.

-A
     
Ganesha
Senior User
Join Date: Jul 2002
Location: Arizona Wasteland
Status: Offline
Reply With Quote
Jun 25, 2004, 10:40 PM
 
Originally posted by iohead:
How did you go and look? I mean, what application/utility did you use to do so.

-A
hfsdebug

Find it by googling for it...
     
iohead
Registered User
Join Date: Jan 2003
Location: California
Status: Offline
Reply With Quote
Jun 26, 2004, 12:50 AM
 
Originally posted by Ganesha:
hfsdebug

Find it by googling for it...
Sure, I know about hfsdebug.

I wanted to know how the original poster found "tens of thousands" of fragmented files on his disk. In real life, you would need to go and *fragment* files "by hand" to have tens of thousands of fragmented files on an HFS+ volume under OS X.

Perhaps the original poster has an extremely unique use-case scenario.

That's why I want to know:

a. How did he determine that he has so many fragmented files?

b. What does he use the computer for primarily?

-A
     
wataru
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
Jun 26, 2004, 04:21 AM
 
Originally posted by iohead:
Sure, I know about hfsdebug.

I wanted to know how the original poster found "tens of thousands" of fragmented files on his disk. In real life, you would need to go and *fragment* files "by hand" to have tens of thousands of fragmented files on an HFS+ volume under OS X.

Perhaps the original poster has an extremely unique use-case scenario.

That's why I want to know:

a. How did he determine that he has so many fragmented files?

b. What does he use the computer for primarily?

-A
I used Drive 10. My case isn't all that typical; I have several GB worth of fink packages installed (from source) that probably contributed a lot to the fragmentation.
     
iohead
Registered User
Join Date: Jan 2003
Location: California
Status: Offline
Reply With Quote
Jun 26, 2004, 06:09 AM
 
Originally posted by wataru:
I used Drive 10. My case isn't all that typical; I have several GB worth of fink packages installed (from source) that probably contributed a lot to the fragmentation.
Hmmm ... I have tons of Fink packages too. I have over 600,000 files on my machine, in fact, but I have very few fragmented files.

Perhaps the number reported by Drive 10 is different from the number of fragmented forks (data or resource) - there could be some other semantics.

It would be really interesting if you could share the output of "hfsdebug" on your volume.

Here's the link if you're interested in trying this out:

http://www.kernelthread.com/software/hfsdebug/

You could look at the output of "hfsdebug -f" (tells you about file fork fragmentation) and "hfsdebug -0" (tells you about freespace fragmentation).

Regards
-A
     
wataru
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
Jun 26, 2004, 12:10 PM
 
Well I defragmented my drive (why check for fragmentation and then not do anything about it?), but I just installed KDE 3.2.3, which is pretty hefty, so maybe things have gotten junked up again. I'll try it when I get a chance.
     
chezpaul
Senior User
Join Date: Oct 2000
Location: Only on your screen
Status: Offline
Reply With Quote
Jun 26, 2004, 01:59 PM
 
There would be an easy way to figure out if defraging helps or not.
Run a benchmark before and after. !!

I used to defrag all the time with Norton, using speed disk. I would usually "feel" better once done. I stopped about 6 months ago because Norton stopped development.

I still defrag my Pro Tools (music) files and that does make a difference. I have several 3 Gig folders worth of audio files.

Appart from that I'm done defraging. That Norton guys article just closed the subject for good for me.
Dual 1 Gig DDR & 15' Powerbook 867 MHz, Sony Ericsson T637 phone
     
Old Toad
Dedicated MacNNer
Join Date: Apr 2003
Status: Offline
Reply With Quote
Jul 1, 2004, 02:00 PM
 
FWIW, this just came out from Apple: About Disk Optimization
     
   
 
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 11:05 PM.
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.,