10 Replies Latest reply: Mar 24, 2008 12:49 PM by Mac Shunsuke
Mac Shunsuke Level 1 Level 1
Hi, I'd like to know if on Mac's disk utility there are functions similar to "defrag" and "scan-disk" on windows... somebody can help me?

Mac Book, Mac OS X (10.4.10), apple ipod 4 GB
Solved by Kappy on Mar 23, 2008 1:35 PM Solved
No, because OS X defrags all files under 20 MBs on the fly. Since modern hard drives are much faster than in the past it's really unnecessary to defrag a drive, and defragmentation presents a potential risk to your data.

Kappy's Personal Suggestions for OS X Maintenance

For disk repairs use Disk Utility. For situations DU cannot handle the best third-party utilities are: Disk Warrior; DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.0 is now Intel Mac compatible. TechTool Pro provides additional repair options including file repair and recovery, system diagnostics, and disk defragmentation. TechTool Pro 4.6.1 is Leopard compatible; Drive Genius is similar to TechTool Pro in terms of the various repair services provided. The current version, 1.5.1, is Intel Mac compatible.

OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.

OS X automatically defrags files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems.

I would also recommend downloading the shareware utility TinkerTool System that you can use for periodic maintenance such as removing old logfiles and archives, clearing caches, etc.

For emergency repairs install the freeware utility Applejack. If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the commandline. Note that presently AppleJack is not compatible with Leopard.

When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.

Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):

1. Retrospect Desktop (Commercial - not yet universal binary)
2. Synchronize! Pro X (Commercial)
3. Synk (Backup, Standard, or Pro)
4. Deja Vu (Shareware)
5. PsynchX 2.1.1 and RsyncX 2.1 (Freeware)
6. Carbon Copy Cloner (Freeware - 3.0 is a Universal Binary)
7. SuperDuper! (Commercial)
8. Data Backup (Commercial)

The following utilities can also be used for backup, but cannot create bootable clones:

1. Backup (requires a .Mac account with Apple both to get the software and to use it.)
2. Toast
3. Impression
4. arRSync

Apple's Backup is a full backup tool capable of also backing up across multiple media such as CD/DVD. However, it cannot create bootable backups. It is primarily an "archiving" utility as are the other two.

Impression and Toast are disk image based backups, only. Particularly useful if you need to backup to CD/DVD across multiple media.

Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.

Additional suggestions will be found in Mac Maintenance Quick Assist.

Referenced software can be found at www.versiontracker.com and www.macupdate.com.
Reply by First Magus on Mar 23, 2008 1:36 PM Helpful
Reply by M a cB o ok on Mar 23, 2008 1:44 PM Helpful
Hello Mac Shunsuke,

Apple computers automatically defrag and clean the system themselves at 3 am as long as: 1) your Mac is ON at 3 am. 2) you have the "+Put the hard disk(s) to sleep when possible+" deselected. (Under the energy Saver in System Preferences)

But if you would like to do this manually download this application:

http://www.titanium.free.fr/pgs/english.html (Free)

Hope this helps!


All replies