| |
 |
|
Frequently Asked Questions |
| |
[CCC Help] [Browse Help Topics]
What happened to the "Repair permissions" option?
"Repair permissions" is not what I consider to be a task associated with backing up one's hard drive. It is at most a maintenance task, and more suitably a troubleshooting tool that should be used judiciously.
I just backed up my Boot Drive to a partition on an external Firewire Hard Disk. However, the volume capacities do not match. Should they? Should I be concerned there's more than a GB missing?
There are a couple legitimate explanations for a mismatch between the capacities reported in Disk Utility. First, when cloning using the "Incremental backup of selected items" cloning method, there is a list of items that are excluded from the backup either because they are ephemeral items regenerated every time your machine reboots, or they are not appropriate to back up or because they actually reduce the portability of your OS to another computer. Here is an exhaustive list of those items:
- .Spotlight-V100
- /.fseventsd
- /.hotfiles.btree
- /.vol/*
- /Auth.bak
- /Cleanup At Startup
- /TheVolumeSettingsFolder
- .Trash
- .Trashes
- /TheFindByContentFolder
- /Shutdown Check
- Temporary Items
- /VM Storage
- /OpenFolderListDF
- /Desktop (Mac OS 9)
- /.com.apple.NetBootX
- /Volumes/*
- .VolumeIcon.icns
- /dev/*
- /automount
- /Network
- /private/var/vm/*
- /private/tmp/*
While I don't recommend it, you could modify the list of items that CCC ignores by editing the "defaults.plist" file within the CCC application bundle. Note that these items are not ignored when using the "Fast, simple backup of everything" cloning method.
While the exclusion of these items explains much of the disk capacity discrepancy you may discover in Disk Utility, it does not explain it all. A user suggested the following scenario after performing a "Fast, simple backup of everything" clone to his target drive:
Boot drive - 39.67 GB used
Backup drive - 38.55 GB used
Should I be concerned there's more than a GB missing? Could this be a swap file or something? Is there an easy way to isolate what files are not on both?
A GB seems like a lot, but it's not surprising, not for 40GB used (the discrepancy increases with the amount of data on your boot volume).
I spent about 3 months head-down in the HFS+ filesystem specification trying to figure out why the contents of a cloned volume is always less than the boot volume (and it really is only that large of a difference when the source is the boot volume). I still can't explain it entirely, however I noticed that if I booted from the cloned volume, the difference was suddenly in the reverse.
The issue is that Disk Utility (and Finder Get Info for the volume) is misleading. The value that Disk Utility reports is indeed the amount of space consumed on your hard drive, however, it is not the amount of space consumed on the drive by all the files and folders that you can see. And I'm not referring to the other files as simply "invisible", these other files and directories that make up the rest of the space you're "missing" are simply not presented to the operating system. These items are filesystem implementation details, and it isn't possible to copy them directly with file-level copying tools.
Does this mean you're losing data? Absolutely not. It's pretty easy to prove it to yourself too, just boot from your cloned volume and take a look at the capacity reports in Disk Utility. Here's an example I performed on my test machine:
** Booted from the original source volume
Source: 5,258,776,576 bytes
Clone: 5,025,562,624 bytes
**Booted from the clone volume
Source: 4,996,599,808 bytes
Clone: 5,250,097,152 bytes
Weird, eh? Having stared at this issue for three months, having developed a utility that would carefully analyze every single file that I could find and copy, I am 100% confident that I'm not losing a scrap of information with my file-level copy engine for the "Fast, simple backup of everything" cloning method. What I have learned and I am confident in saying is that Disk Utility can't really be used as a good measure of success for your clone. That's not to say that what it reports is wrong, it is simply misleading.
Can I use CCC to back up my BootCamp (Windows) partition?
Backing up non-HFS+-formatted volumes is not currently supported. I am investigating how to provide this support in a future release.
CCC requires an HFS+-formatted target volume. Why? And how do I format my new hard drive as HFS+?
Mac OS X is installed on an HFS+ filesystem. The HFS+ filesystem defines many types of metadata that describe non-data attributes of your files. Creation date, access control lists, permissions and ownership, Finder flags, and extended attributes are among the various metadata types defined in the HFS+ standard. To adequately back up all of your files and their associated metadata, CCC requires that your backup volume is also formatted as HFS+.
When you purchase a new hard drive, or if you have a hard drive that you use with a Windows computer, that hard drive is often pre-formatted as FAT32. CCC won't let you back up directly to the FAT32 volume (it will disable, or "gray out" the selection in the source and target menus) because it will lose some metadata. Most notably, you'll lose ownership and permissions as well as an Access Control List settings.
Additionally, Macintoshes can only boot from hard drives partitioned with either the Apple Partition Map (APM) scheme (PowerPC- or Intel-based Macs) or the GUID Partition Table (GPT) scheme (Intel-based Macs). The hard drive icons that you see in the Finder are volumes. The partition scheme of a hard drive describes how volumes are physically defined on the hard disk. Every hard drive has exactly one partition scheme and at least one volume. When you "partition" a hard drive, you simply create multiple volumes on that hard drive.
Follow these steps to format your hard drive as an HFS+ volume:
- Launch Disk Utility
- Click on the hard drive device in the list on the left (the volumes have names that you see in the Finder, like "Macintosh HD" whereas the hard drive device has a name that includes the size of the hard drive and a vendor name or serial number, like "111.8 GB ST9129876A")
- Click on the Partition tab
- Choose "1 Partition" from the "Volume Scheme" popup menu (or more if desired).
- Click on the "Options" button at the bottom of the partitions table and choose a partition scheme appropriate for the way you intend to use the hard drive:

- Click on the "Apply" button
- Choose "Mac OS Extended (Journaled)" format, then click on the Erase button at the bottom of the window
What are "Input/ouput" errors, and how can I resolve them?
When copying to or from damaged media, or a disk with a damaged filesystem, CCC may report "Input/ouput" errors. If no other major errors are encountered, CCC will produce a dialog box indicating:
"CCC detected "Input/output" errors during the clone. These errors are indicative of filesystem damage or hardware trouble with the source or target volume. Examine the CCC.log to determine the nature of these errors and consider replacing the affected hard drive if filesystem repair is unsuccessful."
Correspondingly, the CCC.log file will list the files that CCC was attempting to read or write when the error occurred:
02:13:49 rsync: read errors mapping "/Applications/Keynote.app/Contents/Resources/Themes/Shared/flowers_h.jpg": Input/output error (5)
02:14:39 rsync: read errors mapping "/Applications/Keynote.app/Contents/Resources/Themes/Shared/flowers_h.jpg": Input/output error (5)
02:18:20 rsync: read errors mapping "Users/bombich/Movies/1984.mov": Input/output error (5)
02:18:24 rsync: read errors mapping "Users/bombich/Movies/1984.mov": Input/output error (5)
02:18:24 ERROR: Users/bombich/Movies/1984.mov failed verification -- update discarded.
The exact errors may vary, and some may be duplicated. If the affected file path begins with a "/" and CCC reports a read error, it is probably your source volume (e.g. the boot volume) that is affected. Errors affecting the target volume often indicate that "mkdir" failed or other write errors occurred, or the path will indicate the name of target volume.
Occasionally these errors are reported because your filesystem is damaged, but these errors typically indicate that your hard drive is dying. You have a narrow window of opportunity to back up the data from that disk to another hard drive. Time is precious; components could fail at any moment rendering the drive completely unmountable. Read activity is stressful on a dying volume, especially a full-volume backup. When I run into these errors on a hard drive that has not been backed up, I immediately back up the files that are most important. Once the most important data is backed up, I then try to do a full-volume backup. Once all important data is backed up, I then may try a filesystem repair utility (e.g. Disk Utility or Disk Warrior) if signs of imminent faliure are not present (e.g. particulary noisy drive, or loud, repetitive clicks).
What if the dying drive's volume won't mount?
More often than not, you're completely out of luck. I provided tech support at a University many years ago and had the opportunity to witness many failed drives. Occasionally we were able to revive a hard drive for small amounts of time by letting the drive cool down (somewhere cool and dry, not cold) and then powering it up attached to a service workstation (e.g. don't attempt to boot from it, you may not have enough time). When a drive doesn't mount, it typically goes to the recycle center or to DriveSavers if the data is worth the recovery cost. If you're reading this paragraph now because you're in this situation, my heart goes out to you.