You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

RAID on Mac mini Server (2011 i7)

I just purchased a new Mac mini Server today (the base configuration 2011 Quad Core i7 with 4GB RAM and 2x 500GB 7200RPM magnetic hard disks) and wanted to share what I've learned about setting up RAID on the system.


First, as you may have heard, the Mac mini Server does not include any installation/reinstallation media (I was hoping for a USB reinstall key, but it seems that the new systems don't include these or optical discs; last year's Mac mini Server included handy reinstall DVDs even though the system didn't have an optical drive). Out of the box, the new Mac mini Server has Mac OS X Lion, the iLife suite, and the Mac OS X Lion Server tools pre-installed on one of the two 500GB internal drives; the other disk is formatted as a separate, second drive.


If this is the configuration you're looking for, you're good to go right out of the box. As an aside, this shipping configuration is ideal for using the second disk as a Time Machine drive. I would argue that Time Machine would be a better use of the second volume than a RAID 1 configuration, as Time Machine provides versioned backups and you don't incur the write performance penalty RAID 1 requires every time data is saved to the disk. I would further caution that, while an internal Time Machine disk is a convenient safety measure, any critical data should be backed up outside of the system as well.


Now for those like me who were intrigued by the opportunity to mate the Quad Core i7 with a RAID 0/striped configuration for a performance boost (or if you want to use RAID 1), a RAID configuration is possible, but it there are a few caveats.


First, Apple has two recovery options for the new Macs: a small hidden recovery partition on the boot drive and their Internet Recovery system. While it's possible to boot other systems from a Lion installation DVD extracted from the App Store Lion installer, such bootable optical discs will not boot the Mac mini Server at this time (this may change if Apple modifies the App Store Lion installer). Therefore, as of right now, the recovery partition or the Internet Recovery system are the best options for installing/reinstalling on a RAID set.


Second, if you boot the system using Command+R to access the recovery partition, you can wipe the two drives and create a RAID set, but this process will remove the recovery partition and is incompatible with FileVault encryption (a warning to this effect comes up when you try to start an install/reinstalll on a RAID set, but at that point, you've likely already erased the recovery partition in Disk Utility). If the system boots after the recovery partition is deleted, the only install/reinstall option is Apple's Internet Recovery.


Third, as might be expected depending upon your internet bandwidth, the Internet Recovery system can take a while to boot the recovery tools (10-15 minutes to boot on a standard cable modem connection) and to reinstall the OS (50+ minutes on a standard cable modem connection). Internet Recovery currently reinstalls only Mac OS X Lion and the Server tools on the mini Server; there's no option to install iLife during the OS install (Apple could always change this by updating their servers, and there is a Customize button on the installer, but it is greyed out and cannot be clicked at the present).


Fourth, once the OS is reinstalled, it's possible to reinstall the iLife applications by launching the App Store from within Mac OS and selecting Purchased. The store will indicate that the system is eligible to download the iLife apps and you can do so by agreeing to upload system-identifying information to Apple and signing in with your Apple ID.


I hope all this helps. Here's a more concise step-by-step of how to set up the system with RAID:


THINGS YOU NEED

  • A fast Internet connection for the mini
  • Patience


  1. Hold Command+R on the keyboard at start up to boot from the system's recovery partition (if the recovery partition has been deleted, the system should start from Apple's Internet Recovery system; you may need to connect to WiFi if wired ethernet isn't available)
  2. Once you get into the recovery utility, select Disk Utility and for each of the two hard drives:
    • highlight the drive
    • select the Partition tab
    • select 1 Partition from the Partition Layout pulldown menu
    • select Free Space from the Format pulldown menu
    • click Apply
  3. After you've wiped both of the drives, highlight one of the disks and click the RAID tab, then create a RAID set (striped or mirrored, as you prefer)
  4. Quit Disk Utility and from the main recovery utility menu select Reinstall Lion (from this point on, if you have any trouble, you can restart the mini from the Internet Recovery system and return to this point, but the recovery partition will be gone as long as you keep the RAID set)
  5. After you install and configure Mac OS X Lion Server (which can take well over an hour to download and install), you should be able to reinstall the iLife applications by launching the App Store App and selecting Purchased, then logging in with your Apple ID and agreeing to send your system info to Apple to download the iLife Applications


If you're using the mini as a production server, I highly suggest setting up some local, external recovery tool, as you don't want to have system downtime protracted by having to wait for an Internet Recovery boot/reinstall. I would also beg Apple to consider this sort of scenario and to provide more supported methods for recovering and reinstalling from local media.


Best of luck to you all.

Posted on Jul 21, 2011 7:38 PM

Reply
42 replies

Dec 14, 2011 8:50 PM in response to ideelist

Was struggling with this tonight. Made the Recovery USB and followed the instructions. Managed to get the RAID1 made, but the OS recovery failed as others indicated earlier in this thread. Tried to delete the RAID on the Mini, and that was failing...the first device would never unmount in Disk Utility. Rebooted thinking that would help, and now the Recovery USB was no longer working...neither copy that I made (I had two). It would sit on the Apple logo forever, then finally end on the improper boot device logo (crossed out circle).


Tried resetting the PRAM and SMC. Nothing. Single user mode looked like this. We're a self servicing account, so I grabbed the EFI service diagnostic, and thankfully that booted and passed just fine. I was almost stumped.


My last ditch effort was booting in Target mode (so glad it's still available...Thunderbolt as an option too!). Connected the Mini up to my Mac Pro running Lion, launched Disk Utility and I was able to delete the RAID. Reformatted the two SSDs just to be sure then shut down and tried the Recovery USB.... Voila! It works.


So now I'm going to try Installing on one drive, Super Duper a copy, then rebuild the RAID and try to push it back. Starting to think it's not worth it, but would really like to have the RAID1 for uptime.


Anyway...figured I'd post this here since it seems to be the most complete thread.


p.s. Lion's no install media policy just bugs the **** out of me. I can sort of see it for consumer products (and Apple is definitely a consumer company), but it's such a hassle for servers and corporate environments.

Jan 6, 2012 10:12 AM in response to ideelist

Yesterday I had something corrupt on my Mac Mini Server and tried to do a recovery. Yes, I had created a Raid1 array and ignored the warning about the Recovery partition not working because I thought I was smart and was able to find a work around with a bootable Lion disc or drive. As some people may have found out, the bootable image won't work on a mid 2011 Mac Mini. I thought I would post my findings in this thread because I DID find a way to create a recovery partition on the internal drive and STILL have a Raid array.


Essentially I followed the various steps to create the Raid 1 installation of Lion on my Mac Mini, however, when creating the partitions to use in the software raid, I left some space at the end of each drive.


For the steps below, I'm going to assume that you have already cloned your original Lion install to an external disk that is able to be booted from. If not, use the internet recovery option to re-install Lion to an external drive before following the steps below.


1. When creating the partitions for raid, partition each drive to have 2 partitions each.

2. Set the second (or last) partition on each drive to 2gb and let the first partition use the rest of the space.

3. Name the partitions anything you'd like during the formatting process.

3. Now create the Raid 1 array in the normal fashion using the first 2 partitions of each drive

4. Don't touch the second 2 partitions at all at this point.

5. After creating your Raid array, either clone the Lion install from your external drive to the Raid1 Array using an app like SuperDuper or CCCloner

- OR -

Complete a new install using the Recovery HD from the external copy of Lion to install on the Raid array

- OR -

Do a new install using Internet recovery to the Raid array


Note: I jumped around a little, you can use Disk Utility from Recovery Mode to create the Raid array as well. There is many sources for information on how to create the Raid array. My information is mostly for creating the Recovery partition on the internal disks to use with the Raid setup. Keep reading to see that part.


6. Once you have your Lion installation up and running on your Raid1 array, connect your external hard drive (with Recovery HD partition) and use the instructions found here: http://reviews.cnet.com/8301-13727_7-20083166-263/managing-the-os-x-10.7-lion-re store-drive/ to make the Recovery partition visible and use the instructions also found on that site to restore the "BaseSystem.dmg" image file to 1 or both of the 2gb partitions you created during your initial Raid configuration.

(I recommend restoring to both as it only takes a couple of minutes to do and if one of your 2 disks fails, you'll have the recovery partition on the working disk to use still.)


7. Now that you have restored the BaseSystem.dmg image, if you hold down 'alt/option' at boot time, you should see 1 or 2 "BaseSystem" partitions (depending on which you did) that you can boot from. Either one will boot to Recovery mode and allows for all the normal recovery options.


Now if you're like me and picky about the way things look, you won't want those "BaseSystem" partitions floating around in Finder, so you may want to hide them. I used these instructions: http://michael.grunewalder.com/2011/09/30/hiding-a-partition-in-os-x-lion/ for both partitions to hide them.


I much prefer using a little space on the internal drives to have a recovery option than having to worry about keeping an external device available at all times. Yes, it is still recommend that you keep the external installation as another method of recovery and you do still have the online recovery option too.


I'm also sure that some people will debate my choice of creating a partition on a disk with a Raid Array like this, but I can assure you that I HAVE in fact created multiple partitions with software raid in the past. I had some 1TB drives that I setup in software raid which I split into 3 separate Raid arrays and ran for quite some time. After much reading and some testing of my own, I never did determine whether there was benefit to do that (not up for debate here), but it did work without causing errors or corrupt files. So these 2 little recovery partitions will not afffect your Raid Array or cause problems for you.

Jan 12, 2012 8:15 AM in response to eltidi

I have been using software raid for about 6 years. 2 years of that has been on Macs. 2 Years ago, I purchased a Mac Pro and have been using software raid since day one. Initially the main system was on a Raid 0 with 2 sata drives. It has since received an upgrade to use 2 SSDs in a raid o for the system drives and now has 4 sata drives in a raid 5 for backups and other data.


I have also been running a Macbook Pro with 2, 120gb SSDs in Raid 0 for everything for over 6 months now. Super super fast this way. I have been using Raid 0 for performance and then keep backups with other drives via time machine for security. Previous to my macs, I was using various software raid arrays with linux on multiple PCs and had no problems other than 1 drive failure, but if you're using a redundant raid setup, you can replace the drive and it will rebuild the array.

Jan 29, 2012 10:31 AM in response to eltidi

I have been running my SLS Mac mini with Software RAID 1 for many many years. Recently, one of my 500GB internal drives failed. I only discovered this by accident when checking the configuration in DiskUtility. I exchanged the faulty drive and modified the RAID 1 by deleting the the old drive and including the new one and it rebuilt itself without any issues.


Since 2006, I am running a RAID 0 in my Mac Pro without any problems.


Apple's software RAID is doing the job for me. The only improvement I could see is an automatic notification if a RAID 1 slice fails - for RAID 0 you will know immediately. Ultimately, your RAID 0 is only as safe as the quality of the HD you are using.


LL

Nov 17, 2012 4:11 AM in response to ideelist

Anybody else who went RAID 0 having the EFI firmware update problem?


https://discussions.apple.com/thread/3794017?start=0&tstart=0


It started about a year ago, I suspected that the missing recovery partition had something to do with it, and settled in to wait for a fix. But it hasn't arrived.


It would also be useful to know if anyone who did the RAID 0 mac mini server mod has successfully installed EFI firmware update 1.6 or later.

Nov 17, 2012 9:54 AM in response to App Street

Thanks, that helps - at least the missing partition does not by itself cause my problem.


I'll assume for now that the problem is unrelated to my RAID setup - but if I find that it's a factor, I'll report back.


You're at the correct version (per http://support.apple.com/kb/HT1237), I'm behind:


Model Identifier: Macmini5,3

Boot ROM Version: MM51.0077.B0E

SMC Version (system): 1.77f0

RAID on Mac mini Server (2011 i7)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.