Enable RAID Leopard boot disk without a reinstall of OS

Instructions were taken from here: http://www.macosxhints.com/article.php?story=20041013121106176

The “enableRAID” command to change an existing active volume into a RAID slice doesn’t always work (diskutil sometimes refuses to do this). Here’s a safer and surer way to turn your boot disk into a RAID group with minimal down time and without installing OS X on the new disk.

The basic idea is to turn the new disk into an empty RAID slice (this seems to always work) and then copy the boot disk onto it. Boot up into this one-disk RAID group, and then turn the original boot disk into the second RAID slice. This is safe because you’ve already successfully booted into the copy before you overwrite the original. In more detail:

1) I started by using Disk Utility to erase the new drive I was adding. (Or OS X may offer to do this for you when you first plug the drive in). Make sure the format of the drive is OS Extended (Journaled). I named the new drive “BootRAID”. I then quit Disk Utility and from a terminal window ran “diskutil enableRAID mirror /Volumes/BootRAID” NOTE: The name of the drive is NOT relevant, as it can be changed when the process is compete.

2) I then restarted Disk Utility, clicked on the new drive and used the Restore option to copy the boot disk onto “BootRAID”. Note that the new drive has two entries in the list of volumes (slice name and RAID group name) and only one of these has the Restore option.

3) When the copy was complete I selected “BootRAID” as my boot disk in System Preferences and rebooted. This reboot was the only downtime.

4) Now I was booted into the one-disk (degraded) RAID group and I again used the graphical Disk Utility and dragged the old boot disk into the RAID
group. This erased the old boot disk and started the mirror “repair”.

NOTE: If you have issues just dragging and dropping the disk into the RAID group, you may need to erase the drive first!!

The repair copied the mirror disk onto the original disk, and a few hours later I had an intact mirrored RAID group as my boot disk.


1 Comment

  1. THANK YOU THANK YOU THANK YOU!!!!! I had just about given up on this, and I probably tried 10 or 11 times using different “tricks” that I found on blogs, forums, and other tech-help sites. Every other site was describing how to get the non-empty drive to be a 1-disk mirrored RAID 1 array, but none of those techniques worked (for me, at least), but making the empty disk the 1-disk RAID and then copying to it worked like a charm – and I agree this is MUCH safer than most of the other suggested ways of doing this. I now have a mirrored system working perfectly for 3 weeks! In hindsight, it seems like an obvious thing to do, but hindsight is always 20-20, isn’t it? Thanks, again, and great job!!!!

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s