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

Aug 7, 2011 12:51 AM in response to ideelist

I have my Mini Server 2011 installed on a Raid 0, and it works like a charm. I installed Lion via internet recovery mode, went into Disk Utility, created the array (32k block size) and installed it. Works fine.

This was done using nothing but the 2x 500gb built in drives so using Soft Raid.


As ideelist said, when creating partitions use 'Free Space', it just seems a cleaner way of creating, as there are no 'original' partitions that gets removed.


As you can no longer have a 'hidden recovery partition' on a Raid, I used CCC to clone my fresh install onto a FW drive and installed Diskwarrior just for emergencies, and also followed Eccles6 advice to use sudo diskutil repairPermissions <Disk Device> through Terminal and set it up to a hot key for ease.

Aug 7, 2011 12:55 AM in response to Apple Heart

Thanks for your reply and hope you created.

This is what happened with me:

having mac mini server i7 with 2 SSD 256GB

Out of the box, started the mini up, no problems.

The idiea was to have 1 drive of 500GB instead of 2 with 256

Opened disk utility, created "striped raid", ignored the warning firevault and recovery and created the raid.

Reboot with cmd-R loading internet recovery

Coming to the point where turning world stops and utility is loaded.

From there I get the message:

There was a problem installing Mac OS X, Try reinstalling.

Clicked OK and can enter utilities.

opened the logs, nothing.

opened disk utilities and eliminated the raid, no change.

I get stuck always at this point.

Aug 7, 2011 1:04 AM in response to petercohrs

Hi petercohrs, I did have this same issue a little while back and was pulling my hair out. I looked at the logs and noticed it said something along the lines of 'cannot find install data' so I zapped the PRAM as follows:

Resetting PRAM and NVRAM

  1. Shut down the computer.
  2. Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
  3. Turn on the computer.
  4. Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
  5. Hold the keys down until the computer restarts and you hear the startup sound for the second time.
  6. Release the keys.

Then rebooted and started from scratch with the install and this time it went straight through.

Give it a try.

Aug 7, 2011 1:52 AM in response to g00ner

Hi g00ner, my dear Friend!

Command-Option-P-R took me out of the loop and braught me back to the normal issues of this conversation!

Thanks indeed, you saved my day!🙂


Now the issue with the recovery partition.

Using a concatenated Raid, the installer says no recorvery partition will be created.

As I have erased it without creating a backup during my first tries, my question is:

Can I now obtain somewhere an image with that recovery partition to create myself a bootable USB stick?

Aug 7, 2011 2:17 AM in response to petercohrs

Hi petercohrs,


Glad to have helped. 🙂


Now with regards to a recovery partition, I have found the following article (http://reviews.cnet.com/8301-13727_7-20083166-263/managing-the-os-x-10.7-lion-re store-drive/) that shows you how to clone the recovery partition to a portable bootable drive.


I haven't personally tried this myself as I was already up and running with my own method before I stumbled across this, but have a look it may be what you are looking for.

Aug 8, 2011 2:04 PM in response to ideelist

I have a quick Q. I already did a raid 0 on my machine...very easy from the boot screen. Then restored everything to original configure just to see if it worked....it did.


Tonight Ill be going back to Raid 0 for maximum performance....My quick dumb Q..Is everyone leaving the Block Size at default of 32K block size....? Ill be using my machine for Internet roaming...light video/pic editing....Media device/server for music, pics, videos, documents, website host....basically storage I can accesses anywhere and let fam members also access.....Thanks.

Aug 10, 2011 8:48 PM in response to petercohrs

Just to add my two cents, I was having similar issues with my Mac Mini Server, and everything was resolved by resetting the SMC.


Two Mac Mini Servers (with Lion pre-installed).


I created a recovery USB stick, then I launched the restore process from the recovery USB. I setup my RAID 1, erased the drives, then loaded the OS.


I originally had problems with just one of the units. I kept getting the error when it was downloading additional components. I was noticing that the unit was going to sleep during the download, causing the download to stop and the error to occur. Not sure if that's what's going on with others here, but when the screen goes dark, check and make sure that the unit itself isn't asleep.


Resetting the SMC on the problematic unit resolved the issue, and I was able to create the RAID and load the OS with the "ease and simplicity" we all love with Apple. ;-)

Aug 10, 2011 10:12 PM in response to g00ner

Hey guys,


I'm not sure if this is true but here it goes anyway: When I configured Raid 0 on my Mac Mini, I first rebooted and choosed Disk Util from recovery menu. After configuration (deletion of 2 x 500 GB HDDs, setup of Raid 0) was done, I quit Disk Utility and choosed restore from Time Machine. Notice! I didn't reboot my computer after leaving Disk Utility. Is this where some people experience problems and have to fiddle with PRAM? If it's true I suggest you go through with the installation immediately after leaving Disk Utility.


/ eyeMac

Aug 14, 2011 2:00 AM in response to ideelist

Hey,


I just set-up my 2011 Mac mini (i7 Lion Server) with RAID 1 (mirrored) without a single glitch - it all went very smoothly, here's what I did...


I created a Lion Recovery Partition on an external drive using Apple's new Recovery utility. Note: YMMV, but I found that the recovery partition I created on my MBP (which was upgraded from SL) wouldn't work as a recovery partition for my Mac mini - I had to create a new one from this machine. Test your Recovery Partition before erasing your current drive!


Also, as recommended in 'HidinginSanity' guide linked below, I also took a disk image of my Server HD using SuperDuper! (I didn't need this in the end, but I was glad it was there if needed.)


I then booted to the Recovery Partition on the external drive (I didn't use the SuperDuper image here), and opened up the Disk Utility.


I then zeroed out the drives (took about 1hr 30 mins for each of the two 500GB drives), and then created the RAID 1 mirror, again following the guide linked below.


This is where I then took a different route from the


I then rebooted the machine, holding down @g00ner's tip above (to reset the PRAM & NVRAM). I then booted again using the external drive Lion Recovery Partition.


If things had gone wrong at this stage the bootable SuperDuper! image to use to recover, but I wanted to try a clean install.


So, I pressed on with the clean install (I saw the warning about FileVault etc, but just OK'd and ignored. It also complained about not having an Internet connection (my machine is on wifi only), but tip here is to click on wifi symbol in top right of screen and configure wifi - I nearly didn't spot that after hours of watching progress bars).


So, clean install of Lion, took the usual ~1hr and it all progressed smoothly and all was good.


Voila! I now have a Lion Server on a 2011 Mac mini happily running RAID 1.


Kudos and thanks to


http://www.hidinginsanity.com/2011/07/howto-mac-os-x-lion-server-in-raid-1/comme nt-page-1/#comment-115


and the others who went before me above and provided tips. Esp. on this thread to @g00ner for the reset tip, which I think was key to a fresh internet install.


Good luck!

Sep 7, 2011 10:04 PM in response to ideelist

HELP!!!

I created the USB Recovery Tool. Booted into it, opened Disk Utility. Created the RAID 0 (Striped)... went to Reinstall Lion... it downloads, then says "An error occured during installation. Try running this application again."


I have tried th PRAM reset, I've rebooted and rebooted.... WHY WON'T THIS WORK!!?!?!????


😠

Oct 21, 2011 2:07 AM in response to ideelist

This is clearly an issue, when you make a raid, for example mirror, reinstall from rescue partition nor Internet boot can install 10.7 back on the server. Probably since Rescue partition is necessary for this purpose, ie storing the downloaded installation files, and you can't have a rescure partition with raid.


I have now removed the raid, reinstalled 10.7.2 from Internet boot on one of the drives. I am currently making a disk image using Firewire target mode on a second machine. Then I intend to make a Raid, restore the disk image.


Apple nees to fix this now.

Dec 4, 2011 7:59 AM in response to Tommiemel

Hope its appropriate to add to an old thread, but it was relevant to me:


Thanks tommiemel, this was very helpful, and took me quite a while to find. Command line disk util features are so more 'commanding' than the diskutity GUI in this regar, that concept shouldn't keep surprising me.


All I could ever get out of the disk utility app was an "unnamed pipe" when trying to retore to the raid volume. This way I could at least build the raid volume in place.


Cheers,

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.