2011年10月25日星期二

Partition Hard Drives in Apple Mac

Basic partitioning

Apple ships all its Macs with a single user partition on each drive which results in a single volume that appears on the desktop eg “Macintosh HD”. As a result, all available space is shared by everything: system software, applications and your data. This is bad computer hygiene.
If the system software goes nutty and requires reinstallation, you now face the problem of wiping out your data when you reinstall the system. By keeping system software and applications separate from your data, this headache goes away, and it also offers potential performance advantages too.

Installing a new hard disk 

When you first install a new hard disk in an internal bay or an external enclosure, Mac OS X will prompt you to do something about it, like this:

An unformatted disk has appeared (Mac OS X)

You will get one such dialog for each newly-installed disk. If you intend to use Apple’s Disk Utility to format and partition them, click the Initialize… button (it doesn’t initialize, it just brings up Disk Utility). If you intend to use SoftRAID or another alternative, click Ignore. There is no reason to click Eject.


Shown below is a portion of Disk Utility’s window with four uninitialized disks (Hitachi 1TB drives), along with some existing disks and volumes. SoftRAID has an equivalent display, shown at right with four Western Digital RE3 drives.

Disk display: Disk Utility (left), SoftRAID (right)

Single partition

Shown below is Apple's Disk Utility window. Shown selected is one hard drive (a Maxtor 7H500F0 500GB drive). For a single hard drive partition resulting in a single volume, use the Erase tab, giving the volume a name other than “Untitled” as seen below. Stick with Mac OS Extended (Journaled) unless you know what you’re doing and you really need something else.

Clicking Erase will partition the hard drive, write the operating system records ("file system") and mount a new volume icon on the desktop—you're done.
Creating a single partition/volume using all space on a single hard drive

Two partitions

In this case, we will create two partitions. As shown, the Speedy1 partition will be 32GB, the fastest part of the drive, and suitable for a scratch disk or other high-performance purpose. The Data1 partition contains all the remaining space. More than two partitions is rarely useful, and here our goal is to divide the hard drive into a fast and slow area.
1. Select Volume Scheme: 2 Partitions
2. Click on each partition and give it a name. Set the size of Speedy1 to 32GB, Data1 will automatically change to the leftover amount (433.76GB).
3. Click Apply. When the process completes, two new volume icons will appear on the desktop.
Repeat this process for other hard drives.

Creating a single partition/volume using all space on a single hard drive

Which partition is fastest?

Which partition is fastest? 

Drive speed varies from outer tracks to inner tracks, by simple math (circumference X data density), see Why you need more space than you need.

When making more than 1 partition on the same drive, the first one listed is fasters (outer tracks), and the last one listed will be slowest (inner tracks). For SoftRAID, the first partition created is fastest, the next one created is next-fastest, etc.

Schematic of a disk platter (not to scale)
Observe the difference in circumference

A drive capable of 100MB/sec might decline in speed from 100MB/sec down to a sluggish ~60MB/sec. Exploiting this fact can guarantee high performance for many uses.  

For example, installing a 2TB drive and using the first 1TB is substantially faster than using a 1TB drive, by about 25%.

 

*Please refer the post about "Partition Hard Drives in Apple Mac"

Using Cloning as a Backup Strategy

Cloning is more than a backup, it’s a functionally-identical copy, a distinction that is particularly relevant for your boot drive (system and applications): you can start the Mac from the clone. But it’s also useful for efficiently backing-up any volume.
My preferred way to backup is with a large external 2TB or 3TB drive, so that I can backup everything to one drive. I backup both my Boot drive (system and applications, mail, calendar, etc), as well as my data (Master volume).

Step by step

To backup my two desktop volumes Boot and Master onto a single external hard drive:
  1. Partition the external backup drive into BootClone and MasterClone. This need only be done once, the first time. Subsequent backups it’s ready to go.
  2. Clone Boot to BootClone.
  3. Clone Master to MasterClone.
  4. You now have a bootable backup drive with all your stuff. Store the backup drive somewhere safe, away from the computer.
The cloning process takes time in proportion to how much data is present, so clear out any files you don’t need, and empty the trash first. In most cases, cloning is smart enough to only copy what has changed.
My preference is to append the date and time to the volume name of the clone, so that I know when I made it.

Cloning with Carbon Copy Cloner

Shown below is the window for Carbon Copy Cloner, one of several programs that can make a clone.
Select your existing drive (“Source Disk”) and select the new drive (“Target Disk”), then click the Clone button.
As shown below, the boot volume Master is being cloned to MasterClone-2011-0120-1335. Be careful not to clone the backup drive to the original!

The cloning process will take time proportional to how much data you have on the drives, the speed of each drive, etc. If this is an update, the process can be very quick, since usually only changed files need be copied.
Malaysia Web Hosting