Skip to content

Instantly share code, notes, and snippets.

@pongstr
Last active December 17, 2015 15:29
Show Gist options
  • Save pongstr/5632080 to your computer and use it in GitHub Desktop.
Save pongstr/5632080 to your computer and use it in GitHub Desktop.
DIY Fusion Drive: If you've replaced your Macbook Pro's super drive with HDD via hdd caddy and would like to try or use the Fusion Drive technology.

DIY Fusion Drive with OSX Mountain Lion

Disclaimer: I'am not to be held liable to any damage to your personal computer, data loss when using these scripts, it worked flawlessly based on my experience so it should be the same with yours unless you've discovered something that does not exists yet, everything should be just fine.

Original Guides from here

1.Boot OSX installer

# Open Terminal
#  - make note of drive identifiers (i.e., disk0, disk1)
#  - thes are the drive units that will form the logical volume group
$ diskutil list


# Create core storage logical volume group (i.e., disk1 disk2)
$ diskutil cs create Fusion diskX diskXX 

# List logical volume group device id
$ diskutil cs list

# Set the logical volume group device id as the core storage volume
# Set your drive label and use 100% of available space
# You may change the drive label to any label you want
$ diskutil coreStorage createVolume [PASTE_DEVICE_ID_HERE] jhfs+ "Macintosh HD" 100%

# Exit terminal, Install Mountain Lion

# After installation, from the desktop, open terminal and turn off Indexing
$ sudo mdutil -i off

Download TRIM Enabler from here, Install, then enable TRIM. Restart and you're all set! :)

If you feel like Fusion Drive is not for you and would want to revert back to 2 separate drives

# list core storage drive family and copy the device id that you would like to delete
$ diskutil cs list

# paste the device id and hit return
$ diskutil cs delete [PASTE_DEVICE_ID_HERE]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment