Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Howto recreate a broken RAID-1 volume



Hi all.

I have a problem recreating an Apple RAID v2 volume from its two comprising disks (previously part a working RAID-1 set but accidently broken as described below).

Yesterday I was about to move two RAID disks (2 x Maxtor S-ATA 300 GB, Apple RAID v2, type RAID-1 mirrored) to another machine. The operation was carried out as follows:

1) First I removed the drives from my PowerMac G5 and put them into external S-ATA drive bays fitting the external S-ATA cabinet (Stardom ST3620-2S-S2 S-ATA cabinet).

2) I attached the S-ATA cabinet using two USB2-ESATA adapters (each disk connects to one USB port) on my Intel Mac mini. No drivers required for the adapters.

3) I booted the Mac mini on the internal disk and launched Disk Utility. At first, Disk Utility had a problem to see the volumes, but after disconnecting and re-connecting the USB adapters the three disks appeared (RAID unit and the two physical disks), however, Disk Utility claimed that the RAID volume was online but the two comprising disks were not. The re-build button for each drive was enabled but it felt like a bad idea since none of the mirrors seamed ok, so I skipped this.

4) To fix things ;-) I did some fiddling (restarts, disk switching, disconnecting and re-connecting USB) but with the result that the RAID volume permanently disappeared (bad!).

5) Finally I moved the two drives back to the original PowerMac G5 machine but the problem persists. Now Disk Utility is only manages to see the two physical drives but no RAID unit.

6) Slightly upset, I realized the disks were inaccessible to the Finder and I ran Data Rescue II on one of the disks to try to get the data back. To my great relief, Data Rescue II seam to be able to see/ restore the data to a third backup drive.

To summarize, the problem is similar to a problem posted on the darwin-drivers list (lists.apple.com/archives/darwin-drivers/2005/Dec/ msg00017.html) and if I understood that post, the problem could be fixed with the “artest” utility part of the AppleRAID Darwin source.

Now, I would like to get some advice on how this problem could be fixed. I am considering testing the following alternatives:

1) Running “diskutil enableRAID” on one of the physical disks. Note. diskutil claims the type of the disk is Apple_RAID and “diskutil checkRAID” is UNABLE to find the RAID volume.

2) Running artest tool (the name of my missing RAID volume is “RAID”) , i.e.
./artest --create --name RAID --level mirror disk2s4 disk3s4


3) Changing the partition type of one of the disks from Apple_RAID to Apple_HFS (this will probably not work since there are some headers involved here…)

Intuitively it feels like alternative 2) is the correct one, however I tried to build the latest 10.4.8 AppleRAID tools from source to get the artest program, but the build fails on including <iokit/iokit.h> and <mediakit/mediakit.h> …

Any help appreciated

/ Jon


BTW: If someone has an Intel compiled artest I would greatly appreciate a direct mail to jon (at) jattesaker.com _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden


This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.