Sunteți pe pagina 1din 5

Using OS X with an SSD plus HDD setup - Matt Gemmell

22.07.12 22:27

Matt Gemmell
RSS
Search

Navigate

About Speaking Code Hire Me Twitter Archives Recommended

Using OS X with an SSD plus HDD setup


Jun 21st, 2011 Solid-state drives (SSDs) are becoming commonplace, and the first time you use one as a boot drive, you realise why - theyre faster than hard drives to a ridiculous degree. The downside is theyre currently still very expensive compared to hard drives, such that only smaller capacities are currently affordable. Macs are now being offered with what I call mixed drive configurations, including both a (small; often 256 GB) SSD and an HDD, and many people wonder how to make the most of this setup. I have two SSD-equipped machines here, including a mixed-drive iMac, and have recently configured it in what I believe is a good compromise setup to take advantage of SSD speed without sacrificing the roomy storage of a hard drive (or causing excessive wear to the SSD). This is just one possible setup, but I hope its useful to you. The basic approach here is to have the OS on the SSD (the default setup on mixed-drive Macs), and to move certain folders onto the hard drive, providing links to those folders in the places they used to be. Before beginning, let me try to pre-empt two possible comments: You can tell iTunes (etc) to keep its data elsewhere! Indeed you can (usually by holding the alt/option key whilst launching the app), but youll have to do it for each and every app that has such a capability - and some apps wont let you. The method Im about to describe, however, will just work, without changing any settings. You can put the home folder on the hard drive, and use the Accounts pane to point to it! Thats also true (unlock the Accounts pane, then right-click on your account in the list), but youre losing the speed benefit of having certain parts of your home folder on the SSD (such as caches, preferences, your development projects and so forth).
http://mattgemmell.com/2011/06/21/using-os-x-with-an-ssd-plus-hdd-setup/ Seite 1 von 5

Using OS X with an SSD plus HDD setup - Matt Gemmell

22.07.12 22:27

Its your choice if you want to use one of the above limited expedients, but I feel that you can find a better balance by doing just a little bit of extra work.

Copying and Linking folders on the HDD


With that all said, lets offload some folders to the hard drive. Its extremely easy to do, even though theres a tiny, tiny bit of typing on the Terminal involved. If youre scared of that, by all means run away now and get a friend to help. Also, make sure you have an up-to-date backup of your boot drive before beginning; thats just common sense. Were really just going to be repeating the same process over and over, once for each folder that you want to live on the HDD instead of the SDD. The process is simply this: 1. In the Finder, copy the folder from the SSD to the HDD. Check that it was copied successfully. 2. In Terminal, cd to the location of the original folder (on the SSD), and delete it via sudo rm -rf foldername. 3. In Terminal, still in the location of the original folder you just deleted, make a link to the copy of the folder on the HDD, via ln -s /Volumes/HDDname/path/to/foldername. (In steps 2 and 3 above, you should of course substitute the actual names and paths of the relevant folders and volume instead of foldername, HDDname, and path/to/foldername. Hopefully thats obvious. For the ln command, think of the syntax as being put a link here, that points to there.) Thats it. Youll probably want to put all these copied folders somewhere sensible on the HDD; I created a folder called matt at the root of the HDD, and copied my folders into there - you can see a picture of it below. Ive heard that you should not create a Users folder at the root of a non-boot disk, however.

You should also note that, if youve copied and linked one of the special folders in your home directory (such as Pictures), the new folder/link wont have the special icon that the Finder usually provides. Thats normal, and completely harmless. You may also need to re-add the folder to the Finders sidebar. Theres nothing else to it, except to decide which folders to actually offload.

Choosing which folders to put on the HDD


This is a personal decision, but generally youll want to offload folders that fit any of these criteria: 1. Are very large. Your SSD is small, and it shouldnt be bursting at the seams. 2. Will change extremely often, particularly if they contain large files. SSDs are notably subject to wear, especially if they dont support TRIM. 3. Contain files which arent involved in performance-critical work. Try to keep in mind that the HDD is perfectly good enough for almost everything, and that weve been
http://mattgemmell.com/2011/06/21/using-os-x-with-an-ssd-plus-hdd-setup/ Seite 2 von 5

Using OS X with an SSD plus HDD setup - Matt Gemmell

22.07.12 22:27

using HDDs for years. Its not the poor cousin, and it hasnt suddenly acquired the performance characteristics of a floppy disk drive. This is just about balance, and sensible optimisations to help get the most from the new SSD. In my own case, I offloaded several of the folders in my home directory onto the HDD, as shown in the screenshot below.

Note that the Dropbox folder is created by the utility of the same name, and that the Backups folder is one I created for my own use. In addition to those, as shown in the picture, I offloaded Downloads, Movies and Pictures. I dont keep things permanently in my Downloads folder yet its contents change constantly, so it was an excellent candidate for offloading. I also dont heavily use iPhoto or Aperture, and keep my graphic work files in my Documents folder, so I could offload Pictures. I dont do any video editing, and have a large Movies folder, so I offloaded it too. I did not offload the Music folder, but I did offload the actual media files (and mobile apps) that iTunes uses, as shown in the picture of my Music folders contents below.

Note that on your Mac, the iTunes Music folder may instead be called iTunes Media. The reason I didnt offload the entire Music folder was to keep my GarageBand files on the SSD for performance, and nor did I offload the entire parent iTunes folder so that I could keep iTunes library and metadata files on the SSD for the same reason. You may find that youll want to keep some of those folders on the SSD, and equally you may find that you want to offload additional folders to the HDD. For example, I also put my Virtual Machines folder on the HDD, and you might also want to put your Steam games there (they live in ~/Library/Application Support/Steam).

http://mattgemmell.com/2011/06/21/using-os-x-with-an-ssd-plus-hdd-setup/

Seite 3 von 5

Using OS X with an SSD plus HDD setup - Matt Gemmell

22.07.12 22:27

Just follow the same process as above, and you should be fine. It takes only a few minutes, and it should ensure that you get the maximum benefit from the SSD without being unduly hindered by its comparatively small capacity. If you enjoyed this article, you may want to follow me (@mattgemmell) on Twitter, where I always announce new articles and projects. You may also want to read my biography, or hire me for your iPad, iPhone or Mac OS X app projects. Posted by Matt Gemmell Jun 21st, 2011 Guide, Tech
Tweet 81 7 Like Send 18 people like this. Be the first of your friends.

Manually Migrating to a new Mac Courtesy Suicide

MailChimp has a million users. This makes Freddie very happy. POWERED by FUSION

Recent Posts
Entitlement and Acquisition Replying to App Store reviews My Photoshop setup iPhoto iPad tooltips PSD API Design MGTileMenu iPad productivity apps Familiar is not a design Misogyny Augmented Paper

Latest Tweets
2h@wookiee Cheers. Youd expect nothing less! 2h@aral At least they presumably got the second-syllable emphasis right. :) 4h@emiltorp Photographers camera had the wrong date set, I assume. 4hIf you must send a cease and desist letter, make it like Jack Daniels: pianoforpresident.files.wordpress.com/2012/07/jd-let
Follow @mattgemmell 19.6K followers

http://mattgemmell.com/2011/06/21/using-os-x-with-an-ssd-plus-hdd-setup/

Seite 4 von 5

Using OS X with an SSD plus HDD setup - Matt Gemmell

22.07.12 22:27

Copyright 2012 - Matt Gemmell - Powered by Octopress

http://mattgemmell.com/2011/06/21/using-os-x-with-an-ssd-plus-hdd-setup/

Seite 5 von 5

S-ar putea să vă placă și