How To: RAID 0 on 2x Fusion Drive on OS X 10.11 El Capitan (Genuine and Hackintosh)

In Computing, Hackintosh, OS X by Ross Fisher8 Comments

Keep in mind that this is essentially 2 RAID0 arrays in tandem, meaning it only takes one disk to fail to loose all data! Use mirror as mentioned below so failure is one disk per Fusion Drive set and backup using Time Machine or move critical data onto cloud/NAS storage! Personally I’m running a RAID0 Stripe and depending upon TimeMachine as all critical data is saved to an Owncloud instance (for maximum speed).

I have:

  • 2x Samsung 850 Pro SSDs
  • 2x Seagate 7200RPM HDDs

So how do we combine all of these for one monster drive? Fusion Drive + RAID! Yes, you can even boot off of this.

First, get some paper and write down your disk mappings. Mine were:

  • /dev/disk0 – 850 Pro
  • /dev/disk1 – 850 Pro
  • /dev/disk2 – Seagate 1TB HDD
  • /dev/disk3 – Seagate 1TB HDD

Next we will create two fusion drives, one for each HDD/SDD set.

diskutil coreStorage create FUSE1 /dev/disk0 /dev/disk2

*Copy the UUID for the next command*

diskutil coreStorage createVolume S87D6F8F-D9WJ-8AD9-SD(UUID) jhfs+ "Macintosh HD1" 100%

Then repeat the steps for your 2nd Fusion Drive set.

Once done, do another diskutil list and write down your Fusion Drive mappings. In my case they were:

  • /dev/disk18 – FUSE1
  • /dev/disk19 – FUSE2

Next we will create a RAID0 across both Fusion drives. You are free to use whatever RAID level you want such as RAID 1 = “mirror”

diskutil appleRAID create stripe "Macintosh HD" JHFS+ disk18 disk19

If any of the above commands fail, press “up” in the terminal and run them again, some I had to due twice due to disks not unmounting the first time but the second time it worked!

Now you can install OS X to the drive. When doing a hackintosh, use Clover Configurator to copy your EFI folder to the first disk’s EFI partition (or do a diskutil list and pick a physical disk as your EFI boot drive). Be sure to set your BIOS to boot from the drive and all should be rosy!

DiskSpeedTest

And before you ask, creating fusion drives on RAID sets (the other way around) doesn’t work and leads to Kernel Panics so RAID on 2x Fusion Drives is the only way to go!

 

Comments

  1. hmmm, I thought SATA3 maxed out at ~850MB/sec? (Theoretical maximum of the technology).

    Lovely to see all those green ticks tho πŸ™‚

    1. Author

      Keep in mind, this is 2x 850 Pro drives, each on a separate SATA III port, each can theoretically max out at 850MB/s πŸ˜‰

  2. Would this scenario work as fusion ((2xSSD)*RAID0 + (5xHDD)*RAID0))*FUSION ? πŸ™‚

    1. Author

      No, only RAID on top of Fusion works at this time, the other way around results in kernel panics. You could try adding more devices into the logical volume though!

      1. Tried, it works. it’s even smart enough to know which RAID set contains SSD drives, so that hot data pool reside there πŸ˜‰

        1. Just wondering if you could elaborate a bit on what you were able to accomplish – and maybe some long term usage stats?

  3. This is just the kind of monster I’ve been looking for! A few questions for you:

    Any reason why this wouldn’t work with a new Hackintosh from scratch, and 4 blank disks (using UniBeast USB method)?

    What kind of benefit are you seeing from the stripe?

    What size SSDs are you using, 128GB? You must have a total disk size of 2-2.5TB then?

    Many thanks!

    1. Author

      πŸ˜€ High performance storage at your service!

      Technically speaking, Fusion drive is a OS X stock LVM wrapper already built into the kernel so it *should* also work with UniBeast however I’ve only tested it with Clover. El Captain and newer requires CloverEFI, any reasons why you are holding back from the shift? Eventually you may need to learn!

      I see solid 1Gb/s reads and writes about all the time. My SSDs are 250GB 840Evos and in fact, my physical HDDs barely spin up (I can tell as there is a pause, whirring and click once or twice a day). It’s like a Database backed Redis keyvalue store, it feels so geeky and awesome all at the same time!

Leave a Reply