Recoverability with HFS Plus following removal of a disk from RAID 0 hardware or software

hfs+raid

A theoretical question (I do not have spare hardware to test for this).

Scenarios

If RAID 0 is used (no redundancy of data) with HFS Plus, and if a disk within the array is disconnected for a while whilst the file system is mounted by OS X, then I assume that:

  • the OS will at least present a red alert for an improper eject
  • worse behaviours may occur.

I'm not particularly interested in the behaviours of the Mac around the time of disconnection. Most interested in the aftermath …


Logically, I guess: switch off all hardware, replace the missing part of the RAID 0 array (reintroduce the missing disk) then restart the Mac.

The question

How likely is it that the end user – the person who found or made the disconnection of the disk – might recover data in the following situations?

  1. Where the RAID 0 is software-controlled (for example, created by Apple Disk Utility)
  2. where the RAID 0 is hardware-controlled.

I imagine that the end user would find recovery difficult or impossible; that the RAID-specific expert services of a company might be required.


Whilst the question is theoretical, I will greatly appreciate any experience-based answers.

Best Answer

In a RAID 0 set established by Disk Utility you, of course, have zero redundancy. The moment one of the drives is lost from the set the entire set becomes useless and you have a volume failure. If (and only if) no attempt was made by anything to write to the volume while the physical drive wasn't there you might be lucky and it will be OK but otherwise you will have a problem.

At that point any recovery is going to be difficult. Any attached Mac will just see the volume disappear. I've seen this happen a number of times and getting the data off was only ever partially successful (and a small part at that) and extremely expensive. My advice to a couple of customers who've had it happen is just give it up as a joke and go to the backups. Chances of good data recovery are so close to zero as makes no difference.

If you are extremely lucky and there was no attempt to write to the volume and the heavens smile upon you then it is conceivable that a volume repair might work. I've actually seen it happen - once.

For a hardware RAID 0 it's pretty much the same.

The only place I like to use RAID 0 is in a separate hardware drive array such as the Promise boxes for a user who really needs the speed for something like video editing.

If you really need the speed of RAID 0 then make sure you have really good backup policies.