Self made Fusion Drive

The most interesting part of Fusion Drive for me was, that is just a Software feature – it does not depend on any specific hardware. When Apple announced that their new iMacs would have the option for a Fusion Drive, I though it would be a special harddisk containing an SSD and a spinning disk in one case. But in fact you can create a Fusion Drive out of any disks in you Mac by using features of the built in CoreData storage system.

Why would you want a Fusion Drive?
For not having to think about where to put which file.

What does that mean?
I am using my MacBook Pro with a 160 GB Intel X-25 SSD and a Toshiba 500 GB harddisk since I bought it in May 2010. When I bought the MacBook I moved the SSD over from the Dell notebook, I was using before, and put the Toshiba Hardisk into an Optibay while removing the DVD drive. I put almost everything on my SSD: operating system, application, documents, source code. I used the harddisk only for “big data” like movies, music, pictures, virtual machines, downloads, disk images. This setup works great until one of the disks gets full and the other one has space, you start to move things around, you need the changes paths or make links – this is ugly.

How to get a Fusion Drive?
First I made a backup of my two disk with Carbon Copy Cloner to two partitions on an external drive, this way I did not have to reinstall my system.

I booted from a USB thumb drive containing the Mountain Lion installer and went into the Terminal app. There I executed the command

diskutil list

to list all my drives:

The list showed me that my SSD was disk0 and the Toshiba harddrive was disk1 so I ran the following command:

diskutil cs create FusionDrive disk0s2 disk1s2

which created a Logical Volume Group out of the two disk:

On this Logical Volume Group I could created a filesystem by running the command

diskutil cs createVolume E8E5214B-BD8D-4023-839E-99E42FA63485 jhfs+ FusionHD 650GB

Finished. After leaving the Terminal the new FusionHD showed up with 650 GB capacity in the Mountain Lion installer. I did not install the system but restarted and booted from the external disk containing the clone I made before. I restored the backup of my SSD to the newly created FusionHD and was immediately able to boot from the Fusion Drive.

The last step was to copy back my media files from the backup of my harddisk wich went smooth to. Everything is running fine so far and I got enough space on my combined two disks again.

This is how the output of

diskutil cs list

now looks like:

What are the drawbacks of this?
You will have to take more care about backups, because now, if one of two disks fails, you will have a problem. I am used to this because I worked on a striped disk array for a long time and I already have a good backup strategy in place.