My partitions

I work with partitions and I see advantages to it.

Question: I wonder if I need to keep all my things organized in one volume or if I should partition my drive. What are the advantages of partitioning? Should I do it?

Answer: I am aware that partitions usually bring a debate, but I am confident enough to give you a resounding YES.

The way your Mac handles files is a bit messy. As data changes through daily use, photos, text files and other things get tangled up with your system files. Despite Mac OS X’s default defragmentation work, this is a problem for disk performance and, inevitably, system performance at large.

Partitions provide an answer if you use them to separate types of data. How to do it? Most people should be content with a startup partition to host their system and a partition for data. Power users can go further with a more complex organisation system, but they are not the ones I target with this article.

What you gain

The process takes a few hours but there are long-term gains associated with it.

The first is to minimize disk strain for daily use. Your system partition is the one that handles the harder work and it has the space to do it on its own. It doesn’t need to mess with your data anymore.

Secondly, this makes data backups and disk optimization simpler. This makes it more interesting to perform such operations more often, reducing your risk having an outdated backup to recover from a disk crash. Freelancers who need their Mac as a work tool make the biggest gain here.

Finally, there is a structure issue. A common data loss cause is related to file structures that get messed up. Separating your types of data helps keep cleaner structures, reducing your risk.

Please note that partitions do not prevent a disk crash.

How to do it

Before you start, I believe that for the sake of keeping your data safe, you should work with an external disk drive that you normally use as a bootable backup. This is where you normally clone your internal disk with Carbon Copy Cloner or SuperDuper. Read Mac Support Central’s entry about backups for reference if you are not famililar.

Step one: calculate your data use

In the Finder, create folders where you place your photos, videos, text and other files that count as data. These files you will later put in your data partition. Use the Get Info (Command and I on the keyboard) to calculate the sizes of those folders. Make a note about the combined size in gigabytes.

Once data is excluded from them, use Get Info again to calculate the sizes of the following folders: Applications, Developer, Library, opt, System and Users. Make a note about the total combined size.

Step two: create your partitions externally

You first need to partition and erase the external drive to mirror what you will do on your internal disk. Launch Disk Utility, which is located Applications > Utilities folder. Once you have its main screen, click on the disk icon that starts with the size and brand, and this will bring a number of tabs. One of them is the Partition tab. Click on it.

Partitions

Partitions under Disk Utility

Under Volume Scheme, make sure to select 2 partitions instead of Current. If you use virtualization software to use Windows or Linux, choose 3 partitions.

1- System partition

Select the partition on top and give it a name with Mac OS Extended format. Notice that you can attribute a specific size to it, either by inserting a number manually or resizing. What kind of space should you give it? It goes with use.

This is where you will store system software, your applications, preference files, user folders and so on. This is everything that your system contains Mac OS X and software you typically add. Wit all of this under Snow Leopard, I have around 36 GB of files on it once data files are separated.

If you have something of that type, I strongly suggest that you give this partition some elbow room to install more applications and handle future growth. If you also have around 36 GB, give it around 60 GB or a bit more. Adjust according to your use of space and disk size.

2- Data partition

Click on the second partition below.

This is where you will store photos, video, music, general documents and whatever else. You may want to give this partition the most space to both store ever-expanding data and use it as a scratch disk for applications like Photoshop. Power users may just create a scratch disk partition.

3- Windows/Linux partition (optional)

If you are one of these people who use Windows/Linux on their Mac, you will click on the third partition. Look at the hard drive requirements for your virtual system and give yourself some elbow room on the partition. In the case of a Windows install, make sure to click on the Options button when this partition is selected. This allows you to select the Master Boot Record option you need to be MS-DOS compatible.

Step two: erase!

You have set up partitions. Erase your disk. Don’t freak out while it happens :-)

A few moments later, the new partitions will appear on your desktop.

Step three: time for some cloning

This is where you will create your new disk’s mirror. Launch Carbon Copy Cloner or Super Duper and use it to clone your internal drive on the system partition. Do this while excluding the data file folders that you separated previously. Again, check out our guide about using cloning software if you are not familiar.

Carbon Copy Cloner

Carbon Copy Cloner before cloning

Once you are done cloning, simply drag your data folders from your internal drive to the data partition which you can find on the desktop. This will copy your data to the external disk.

You now have an external disk which is set up with your new partitions, and your files have been copied to it.

Final step: set up the internal drive

Now, you need to start up from your external drive in order to repeat the steps on your internal drive.

Pull down the Apple menu and select System Preferences. Click on Startup Disk. In the bottom left corner, click on the padlock icon. Enter your administrator password. Then, click on the external volume that can start up your Mac.

Click on the Restart button.

Your Mac will reboot from the external drive.

Open Disk Utility once you are finished booting. Repeat the partition setup on your internal drive.

Finally, launch Carbon Copy Cloner or SuperDuper. Clone your system partition from your external to your internal drive. Do the same with your data partition.

Everything is done!

Well, almost. At this point, I recommend running a tool such as Diskwarrior or TechTool Pro to optimize your volume structures on both partitions. You just finished moving a lot of data and such optimization will make things zippier.

Also, you will have to set up applications such as iTunes to point to the data partition to store their files. Same thing with Photoshop and its scratch disk.

Enjoy!

Tagged with →  
  • Andy

    This article is interesting and I recommend the procedure.

    However, it is missing one MAJOR step: The step to instruct MAC OS X to go look for the user folder on a different partition! The user folder may be there, but the system will not know until you tell it!
    I am not going to describe how to do this here (the article should be amended for that), as I am not sure of the best procedure to achieve it.

    Every time I need to do this, I have to google around to recall how. It is not too difficult, but I have always needed to create a extra Admin user on the system partition from which account I change parameters to move the other user to the second partition. If there were a simpler procedure, I’d love to know!

    Also, worth noting, instead of a second partition, one can use a second drive for the user data, while using a fast SSD drive for the System disk – since I can only afford an SSD drive of small size, I can only fir the system in it and not my data.

  • http://twitter.com/philltran philltran

    Thanks for the walk through. I’m debating where to run two partitions on my new machine. My last machine had two physical internal hard drives so there was no debate :)

    Do you recommend keeping the users’ directory on the system partition? I’d point the itunes directories and such tot he data partition, but the user library would still be on system partition.

  • michelmunger

    Andy, this applies only if you put your Users folder on a separate partition. Which is not recommended in my tutorial!

  • michelmunger

    I wouldn’t recommend putting the user directory on another partition. Just the files you create and organize yourself.

  • BrianM

    As a service Tech, I do not recommend Partitioning for most users. If a person is technical, and understand most of the terms, then go for it. I also have recommended it for a few people doing a fair bit of Video work on an iMac, so the video partition could be easily formatted between uses to reduce fragmentation.

    Otherwise there is very little gain, and more confusion from users if they do need help, especially over the phone.

    As far as helping prevent data loss, if the filesystem in Mac OS X gets messed up, it is just about as likely that the partition map gets messed up as well.
    In both cases, it is extremely rare compared with disk failure, which is the most common issue. Backups are essential for everyone. If you are running 10.5 or newer, use Time Machine, it backs up everything, and is easy to use and recover from back to a new drive.

    Actually the next most common data loss issue that I have to deal with after drive failures, is accidental deletion of files without a backup.

    Also helping with performance (and preventing data loss) don’t let your disk and/or partitions get over about 80% full. If you are getting to that point, add another drive, or upgrade the internal drive.

  • John

    I couldn’t disagree more. There are no reasons to partition a Mac volume with OSX at all. What happens when you fill up one of your partitions and then you need to move data around. Links get messed up and the user has to manually take control of the hard drive management. Leave it alone, let the OS handle it.

  • Pingback: Should I partition my hard drive or not? Mac Support Central « Chicago Mac/PC Support

  • michelmunger

    John,

    This is basically why I suggest giving elbow room to a partition. To prevent it from filling up.

  • Andy

    I did not realize that Data did not mean the User folder! (maybe this could be made clearer)
    For me, I like all my data in my user folder as intended by Mac OS X. What is outside a user folder is mostly backup data, and the system of course. My current setup is an SSD drive for System + Application, and a 2Tb RAID 0 for my User folder

    And I find having my user folder on an external drive very convenient as I can easily move the drive to another mac (even a friend’s), connect the drive, add me as a new account and link it to the external drive.

  • David

    Why not put the user-directory on a seperate partition? With the rise of SSDs, this seems to be the most elegant way to have the system start quickly, have programs start quickly and to keep all these large data files on less expensive spinning disks…

  • YorgoC

    Fantastic info, thank you
    George

  • Robert Dutton

    How many partitions can Mac OS have?

  • http://www.fcbayerncentral.com/ Michel

    I belive it is 9.

  • mh

    thank you, nice post! i have a question concerning the partition for virtualisation software: do you think it is practical to restrain the space by an extra partition of a virtual machine whose space is adjustable? what happens if you need more space for a bigger virtual machine and the elbow space isn’t enough anymore?

  • http://www.fcbayerncentral.com/ Michel

    I would always advise giving your partition as much space as you can afford, so that its growth in data doesn’t require expansion later on.