diglloyd Mac Performance Guide

The Speed You Need

100% Kona, 100% Family Owned

RAID-1 Software Mirror With SoftRAID 4

Last updated February 26, 2011 - Send Feedback

For software RAID-1 mirroring, I recommend SoftRAID 4. I’ve used SoftRAID for striping and mirroring for years— not for every situation, but for a variety of things, or for when I want ease of use.

Compared to Apple’s Disk Utility, SoftRAID has a better interface, notifications and warnings, and does a better job of recovering from failures. It also has a “fast mirror rebuild feature”, which can be used for highly-efficient backups (“break” a mirror, then sync it up again later).

See failure recovery further below to understand what happens.

Primary and secondary drives in a mirror

Think of a RAID-1 mirror

Creating a RAID-1 mirrored volume with SoftRAID 4

Select two or more drives (initialize them first if they are new drives), then choose New… from the Volume menu.

Choose a Volume Type of Mirror and click Create, as shown below.

Note that if you so desire, you can make the mirrored volume be any size you wish, and thus you can have more than one mirrored volume using the same drives.

Two newly-initialized drives that will become RAID-1 mirror volume DataMirror
Two newly-initialized drives that will become RAID-1 mirror volume DataMirror

You will be prompted to select the primary drive. All that matters here is that you know which physical drive it is, so that if you ever replace a drive you can remember which is which.

Click OK, and you’re done!

Primary drive for the RAID-1 mirror
Primary drive for the RAID-1 mirror

The RAID-1 mirror volume will show up on your desktop, I called this one DataMirror. Use a descriptive name, like “Master”, or “Time Machine” or “MainData” or whatever reflects its intended usage (calling it Mirror is not helpful in indicating its intended purpose).

At any later time, you can add another “secondary” drive to the mirror for a 2/3/4/.../10 drive mirror.

SoftRAID 4 RAID-1 mirror
SoftRAID 4 RAID-1 mirror

How SoftRAID 4 handles drive failures

If a drive fails, SoftRAID will tell you.

This is a major advantage of SoftRAID: Apple’s Disk Utility is passive, and will not warn you when a drive fails; you have to remember to start start Disk Utility and check manually. SoftRAID 4 can even send you an email when a drive fails.

SoftRAID warning: missing mirror drive
SoftRAID warning: missing mirror drive

If you have removed the drive, the auto-rebuild feature is a fast and efficient way to bring the drive up to date. If it’s a full drive failure, it will take much longer, in proportion to the drive capacity, since the entire volume must be replicated onto the replacement drive (at the driver level, there is no knowledge of what is used vs free).

SoftRAID warning: missing mirror drive
SoftRAID warning: rebuild in progress

While in progress, you can open the SoftRAID application to see how long it will take. The time it takes is proportional to how much data must be copied. You can continue to work normally while this proceeds.

SoftRAID warning: missing mirror drive
SoftRAID warning: rebuild in progress

When done, you’re safe again, and you’re told.

SoftRAID warning: missing mirror drive
SoftRAID warning: rebuild in progress

Conclusions

SoftRAID offers a superior feature set for a RAID-1 mirror than does Apple’s Disk Utility.


Get Up To 64GB of Memory!

diglloyd.com | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2008-2014 diglloyd Inc, all rights reserved.