Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

I've finally been able to complete my move from a hardware RAID-5 setup running OWC Mercury Elite Pro Qx2 to a Hackintosh running OS X Lion Server using multiple RAID-1 sets. The move took about 4 days to complete because I didn't have 4 spare disks (only had 2), so had to move data temporarily to a USB disk.

Overall the procedure was painless, just time consuming and there are a bunch of things I've learned to working with partitions and disks on OS X.

1. It's possible to create a RAID set by either using the whole disk OR from a partition on that disk. In a mirror set, both disks need to be partitioned the same.

2. Encrypted partitions cannot be resized using Disk Utility. In addition, if you have an encrypted partition on the same disk as other, unencrypted partitions, the unencrypted partitions can't be resized until the encrypted partition is deleted.


3. OS X Lion Server does not notify you if there is a failure of one of the disks in a RAID set! For this I found a great piece of software called RaidEye. It starts up as a background process that monitors the RAID sets defined in OS X. If there is an error, it will play an alert sound and send an email to an email address you specify.
raideye.png


4. It's possible to change the "Automatically rebuild RAID mirror sets" option after defining the RAID set using dsutil on the terminal.
diskutil appleRAID list <- lists all raid sets
appleRAID update AutoRebuild 0 disk7 <- sets disk7 to not auto rebuild
appleRAID update AutoRebuild 1 disk7 <- sets disk7 to auto rebuild


5. Using Carbon Copy Cloner in block transfer mode is much much faster than just the usual file clone operation. Unfortunately this requires the target volume to be larger than the source.

-i

A quick disclaimer...

Although I put in a great effort into researching all the topics I cover, mistakes can happen. Use of any information from my blog posts should be at own risk and I do not hold any liability towards any information misuse or damages caused by following any of my posts.

All content and opinions expressed on this Blog are my own and do not represent the opinions of my employer (Oracle). Use of any information contained in this blog post/article is subject to this disclaimer.
Hi! You can search my blog here ⤵
NOTE: (2022) This Blog is no longer maintained and I will not be answering any emails or comments.

I am now focusing on Atari Gamer.