Hi LuKreme,

I tried to follow your instructions for rebuilding my RAID, but I had problems.

I replaced the failing drive with an identical one and powered up the 
enclosure.  I opened Disk Utility, and chose the missing drive, but I could not 
find anything about "Demote".  There was an option for "Delete" and I chose 
that, but I was unable to drag the new disk to the RAID set.  And the "Rebuild" 
option was grayed out.

Here are a few things that may complicate things:

1. This was a RAID10 configuration, in which I first created 2 pairs of mirrors 
and then striped them.  Perhaps that configuration does not allow one to demote 
a drive or rebuild the RAID.

2. Before I created the RAID10, I partitioned each of the 4 drives into a big 
partition and a small partition.  I created the RAID10 from the 4 large 
partitions.  Perhaps your suggestion does not apply when partitions rather than 
entire disks are used to create the RAID.

For now, I ended up putting the failing drive back in the enclosure.  Do you 
have any other ideas about how to rebuild my RAID?  I noticed that there was an 
option to automatically rebuild.  It was a box that I could have checked when I 
first set up the RAID.  Perhaps I should have selected that option.  It looked 
like I could still check the box, but I did not want to mess things up further, 
so for now I left it unchecked.

Please let me know if you have any other suggestions.

Thanks,

Gregg

On Nov 10, 2014, at 2:12 PM, LuKreme <krem...@kreme.com> wrote:

> On Nov 9, 2014, at 9:26 PM, Dinse, Gregg (NIH/NIEHS) [C] 
> <di...@niehs.nih.gov> wrote:
>> 
>> What is the best way to "fix" the RAID10 array?
> 
> Unmount the RAID, Turn off the enclosure. Remove the failing drive, replace 
> it with an identical drive, turn on the enclosure.
> 
> Open up Disk Utility. Choose the missing drive on the left and then “Demote”.
> 
> Drag the new disk into the raid set and chose “Rebuild”.
> 
> You can also do it from the command line:
> 
> sudo diskutil list
> sudo diskutil appleraid list
> sudo diskutil appleraid add member <disk4> <RAID-UUID>
> 
> where disk4 is the new disk you just added and UUID is the UUID of the RAID 
> set.
> 
> Note the UUID of the failed disk (listed in the appleraid list above) and 
> then:
> 
> diskutil appleraid remove DISK-UUID RAID-UUID
> 
> There is no need to turn off the computer.

_______________________________________________
MacOSX-talk mailing list
MacOSX-talk@omnigroup.com
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to