Apple Event: May 7th at 7 am PT

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

How do you setup RAID 10 with Disk Utility?

I read a post that indicated a Mac Pro user created two mirrors and then striped them with Disk Utility to create a RAID 10.

I tried this but Disk Utiity will not allow me to stripe the two mirrors. I tried dragging and using the "+" button. In each case no RAID 10 could be created.

Could someone list the exact procedure for creating a RAID 10 using Disk Utility?

Thank you

Mac Pro 2.66, Mac OS X (10.4.7)

Posted on Sep 14, 2006 7:07 AM

Reply
37 replies

Sep 14, 2006 7:14 PM in response to Altimeter88

User uploaded fileI seem to be the only one (that we know of at least) that's managed to do it successfully using Disk Utility. Unfortunately I cannot remember the exact process I took to achieve it. Nor am I going to dismantle my RAID implementation to find out as I'm sure you can appreciate. Now, if you have 4 empty drives your want to send my way I'd be glad to help. 😉

You can however use the command-line to do it. I remember someone providing instructions for this earlier in another thread.

Sep 14, 2006 9:46 PM in response to mbean

I could not get the Disk Utility application to create a RAID 10 but I was able to figure out diskutil to get it to work to create a RAID 10. Here are the steps that I used for those interested.

1. Open Terminal. Use the command "diskutil list".

2. Look for the name of the disk with a * next to it and make sure that the real disk name is listed in the "type name". Write down the "disk number" names of the volumes you want to work with.

3. Use the following diskutil command to create the mirrors.
"diskutil createRAID mirror RAID10 HFS+ disk4 disk6"
Replace disk4 disk6 with your disk numbers that you discovered in step 2 above. This command will create each mrror. Create two mirror sets.

4. As each mirror is created write down the disk number that is reported in this line: "Creating file system on RAID volume "disk5 "

5. Use the numbers of the mirror disks, as discovered in step 4 to create the stripe of the two mirrors. Use the command:
"diskutil createRAID stripe RAID10 HFS+ disk1 disk5"
Substitute disk1 disk5 in the line above with the disk numbers discovered in step 4 above.

Your RAID 10 is now completed.

If someone else knows of a better way feel free to post it here.

Sep 20, 2006 12:13 PM in response to Macinposh

I am glad the RAID 1/0 instructions worked for you.

If a drive fails in the RAID 1/0 setup you can rebuild it with diskutil.

Drive Failure Procedure
First you determine which mirror failed by looking at it with Disk Utility. Next, use the command:
"diskutil repairMirror raidDisk newDisk"

raidDisk is replaced with the disk number of the failed mirror not the RAID 1/0 number. newDisk is simply the number of the newly inserted replacement hard drive.

The failed drive will be replaced and begin to rebuild the RAID 1/0. It takes approximately two hours for the mirror to rebuild using 300GB hard drives and the RAID 1/0 is still available for use during this process. A progress bar is displayed in Disk Utility that shows the progress of the rebuild even when diskutil was actually the initiator of the rebuild. Clicking on the progress bar shows the estimated time left to rebuild.

Have fun!

Sep 20, 2006 12:33 PM in response to mbean

Your posts on a raid 10 have been very interesting. Can you help with some (probably really stupid) basics? As I understand it, first 2 drives are striped. Second 2 drives are striped. First stripe and second stripe are mirrored. Is this right? What are the advantages of doing the opposite, ie, a 0/1 raid? Does that make any sense? Thanks in advance.

Sep 20, 2006 12:46 PM in response to fuzzydog

As I understand it, first 2 drives are
striped. Second 2 drives are striped. First stripe
and second stripe are mirrored. Is this right?


Dear fuzzydog,
To make a RAID 1/0, first you create the mirror setups. That is what the 1 indicates - RAID 1 Mirror. Then you stripe all of the the mirror volumes using RAID 0. That is why they call it RAID 1/0.

The system you are describing above is a RAID 0/1. I tried that setup and while it works, I was unable to get it to rebuild when a hard drive failure occured. While you could back it up to another set of hard drives, I wanted a RAID that would rebuild itself.

When I create a complex RAID such as RAID 1/0, RAID 0/1, RAID 5, RAID 6 or RAID 5/0 the first thing I test is the RAID sets ability to rebuild. You can do that by simply removing one of the hard drives and see if you can find a way to get the RAID to rebuild itself.

If you are successful then write the procedure down and put it somewhere where you can find it when a failure occurs. Then start using your new RAID. If you cannot find a way to rebuild your RAID then I would find another way to create the RAID until a rebuild procedure was discovered.

Have fun!

Sep 20, 2006 1:12 PM in response to mbean

Thanks for your help, but I'm slow today. Can you again walk through the steps for doing a 1/0 with 4 internal drives?

Does it work like this:

- Drives 1 and 2 are mirrored with os X installed there.
- Drives 3 and 4 are set up as a separate mirror drive.

Here is where I get lost. Is the second mirror (drives 3 &4) set up to mirror the first mirror? And, if this is so, what is striped?

Sorry for the dumb questions, but give it a go if you will. Thanks.

Sep 20, 2006 1:46 PM in response to infinite vortex

Is it possible to setp up a RAID 01 with THREE drives? The first two identical drives are set up as a RAID 0 stripe, then mirrored/RAID 0 to a single drive as large as the combined capacity of the RAID 0 stripe.

For example:

First setup a RAID O with two Raptor 150 GB drives for a combined total of 300 GB.

Then, setup a mirror RAID 1 set with the RAID 0 300 GB "drive" with some other 300 GB or larger drive, such as a Western Digital drive.

The idea is to maximize speed with an extra layer of redundancy.

How do you setup RAID 10 with Disk Utility?

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