Can't delete RAID device

I have a software RAID 1 set up on 2 external 1TB FW drives that I use for my media files. Last week I noticed the RAID was degraded, so I managed to remove the offending drive, reformat it, and rebuild the RAID. However, I must have done something wrong, because I ended up with this configuration (from diskutil checkRAID):
AppleRAID sets (1 found)
===============================================================================
Name: Media RAID Set 1
Unique ID: 0239E99E-EC79-4617-83A4-0222F330E2C3
Type: Mirror
Status: Degraded
Size: 999.9 GB (999860862976 Bytes)
Rebuild: manual
Device Node: disk5
# Device Node UUID Status
0 disk4s2 D7473B6F-9C87-4947-945F-F3E6D7671F13 Online
0 -none- 70E230BA-1E58-4F91-AC13-436A476E72B4 Missing/Damaged
2 disk3s2 430B4711-AB83-4B35-B60A-3D7AE58384F9 Online
===============================================================================
As you can see, I have an extra device listed that I'd like to remove. I tried "sudo diskutil appleRAID remove 70E230BA-1E58-4F91-AC13-436A476E72B4 0239E99E-EC79-4617-83A4-0222F330E2C3", but I get:
Started RAID operation on disk5 Media RAID Set 1
Error: -9983: Could not find RAID
Any ideas? I have another 1TB FW drive I want to add to the set, but I want to get this cleaned up first. I thought about just removing the RAID, which looks like it will leave both existing drives with a copy of the data, then recreating it, but I'm a little nervous about that option, and I'd have to copy everything back to the RAID since creating a RAID erases the drives.
Thanks for any help!

I had a similar or maybe identical situation: my boot drive is a RAID1 Mirror that was setup (under 10.5, FWIW) and used successfully for a long time, but things seemed to go awry after a drive failed and I tried to use a good replacement drive to rebuild the mirror.
At this point, I was running 10.6.2 when the drive failed. After I put the replacement disk in, but found that in the GUI Disk Utility, it was pretty crazy: the RAID showed up with the missing/damaged disk presented as +a different+ generic (striped!) raid set! It was if I had a mirror made up of one single drive plus one striped set...weird.
It wasn't showing that way using diskutil in the Terminal, so I presume that this was a Disk Utility GUI glitch, perhaps just in 10.6 (I've replaced RAID1 members in 10.5 a few times and never saw this problem).
I went to the Terminal and tried a diskutil repairMirror command, but I forgot to use sudo, and that seemingly just made it worse, adding the new drive in as a "Spare" and leaving the "Missing/Damaged" disk still there.
To avoid forgetting to sudo every command, I just went to root by using "sudo -s", which puts you at a root prompt and you don't have to worry about sudoing commands every time.
I then tried to remove the "Missing/Damaged" UUID, figuring that it would then rebuild on the "Spare", using the command:
diskutil removeFromRAID <UUID> <RaidDisk#>
but got that error message, "Error: -9983: Could not find RAID".
So I used the diskutil removeFromRAID command successfully to remove the new "Spare" drive, just to get it back to where I started, with one functioning "Online" disk and one "Missing/Damaged" disk.
I then just tried the disktutil repairMirror command again, and this time it worked perfectly and rebuilt just fine, even showing up in the Disk Utility GUI properly now.
So if you see this issue, I'd say first be sure that you're root with "sudo -s" before you do anything. I don't think that was necessarily the problem here, however, because from the first time I put the replacement disk in, things showed up weird in the Disk Utility GUI.
Perhaps add a new drive with diskUtil repairMirror, then if it fails, remove it and try again. Try addToRaid and removeFromRaid commands to fool with it until it starts doing what it's supposed to do.
My next step, had it not worked when it did, was to boot from the Snow Leopard DVD and rebuild it using the Disk Utility from the top menu in the OS X installer. I didn't get a chance to see if that would work. You could also drop into Terminal from the same top menu (and you're already root at that point) and try some diskutil commands when you're not booted from the RAID.
See this article for a good syntax reference and hints:
http://reviews.cnet.com/8301-13727_7-10330310-263.html

Similar Messages

  • Can't Delete RAID

    I have 4 Discs.
    Mirrored raid sets
    One Raid Slice is 'System Mirror'
    One Raid Slice is 'Data Mirror'
    There is a lock symbol on all 4 discs.  Status is online.
    I can't delete the raid sets.  I can't unmount them.  I am the admin but the Disk Utility says  "Deleting RAID set failed.  Deleting RAID set failed with the error:  Invalid Request"

    I had this problem as well. I'm currently on Mountain Lion 10.9.2. No matter what i did i could not get the disk to eject in Disk Utility or delete the RAID set. I had created the 2-drive striped RAID set in 10.8, and at one point had encrypted the disk, then removed the encryption. Not sure any of that is related.
    The log shows I got the following error:
    2014-03-29 11:38:01 -0500: Deleting RAID “TMData”
    2014-03-29 11:38:01 -0500:
    2014-03-29 11:38:01 -0500: Unmounting volume for RAID set DC62E024-130A-4105-993E-D5A9ABB340EB
    2014-03-29 11:38:01 -0500: Can’t unmount RAID set DC62E024-130A-4105-993E-D5A9ABB340EB to delete it
    2014-03-29 11:38:02 -0500: Error deleting RAID: Invalid attempt to unmount a whole disk containing a partition map.
    The only solution I came up with was to physically remove one of the raid drives (they were in a firewire enclosure). I could then erase the other drive in Disk Utility. I then put the removed drive back in. Disk Utility showed the RAID set as offline and I could delete it.
    After deleting it I recreated the RAID and am currently doing a secure erase writing 1 pass of zeros to the whole drive (just to make sure everything is read/writable).

  • Can't Delete Old Device From isync

    This is simple. Got a new cell phone...a PEBL. Put in my sim card from the old mobile into the new PEBL. Go to isync, to put it in. Can't..... only comes up with the old mobile, only icon isn't in the square silver box (so I can delete it?) because the old mobile doesn't have the sim card...therefore, can't delete it, to reinstate new one. The "find me"in my new mobile is highlighted, all the bluetooth's are working...but isync doesn't find it. What can I do?
    Thanks,
    Peter

    Welcome to Apple Discussions.
    The presence or absence of a SIM card should have no impact at all on your ability to remove a device from iSync. If you cannot select the device in the main window and choose Remove Device, or if that effort does not result in its removal, then do this:
    • quit iSync
    • locate the com.apple.isync.registry.plist preference file in your User Preference folder
    • drag that file to the Trash
    • relaunch iSync
    That should effectively remove the device from iSync.

  • How can I delete linked devices from my icloud account?

    Someone that I dont Know has sign in on an ipad. I've already changed my pasword but I still can see it linked. for example it apperar on my icloud tabs on safari. this really bothers me.
    How can I unlink it?

    Still seeing the other person's iCloud tabs does not necessarily indicate that they still have access to your iCloud account.  iCloud tabs will remain for up to 7 days even if a device is no longer active on your iCloud account.  After 7 days they should automatically be cleared.

  • HT5577 when my account has disabled how can I delete trusted device in my account?

    my account has been disabled for security reason so I tried to reset my password but I activated two-step verfication and now I don't have access to my trusted device.
    Now how can I remove that trusted device or enable my account in some way?

    I did it but they said I have to reset my password from iforgot.apple.com but I can't do that

  • Where do I find a list of devices associated with my apple account and how can I delete specific devices?

    I am trying to delete my daughters' phones from my apple account after setting up separate accounts for them. Where can I do this?
    Thanks!

    Hello NikkiBB,
    The article linked below details all of the potential locations that you may need to change over to the new Apple IDs created.
    Apple ID: What to do after you change your Apple ID
    http://support.apple.com/kb/HT5796
    Cheers,
    Allen

  • If I download a song, album or playlist from iCloud to an iTunes Match enable device, can I delete the download at a later date if I need to free up memory on the device?

    If I download a song, album or playlist from iCloud to an iTunes Match enable device, can I delete the download at a later date if I need to free up memory on the device?

    Hi,
    Yes.
    JIm

  • I have 3 devices on 1 Apple ID.  If I download an app on 1 it appears on all 3.  Can I avoid this or can I delete on 2 without impacting the other?

    I have 3 devices on 1 Apple ID.  If I download an app on 1, it appears on all 3.  Can I avoid this or can I delete on 2 of them without losing it on the 3rd?

    Turn off automatic downloads to stop it from automatically downloading.
    You can delete from the other two.  It has no effect on the others.

  • HT203433 How can I delete an iTunes account from my iPhone so it's no longer associated with my device?

    How can I delete an iTunes account from my iPhone so it's no longer associated with my device?

    If you mean that it has the 90 day association : http://support.apple.com/kb/HT4627
    then you can either wait for the 90 days to complete, or you can try contacting iTunes Support and see if they can remove the association : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • On an iPad with iTunes, do you know if you can edit/delete all your tunes on your device with a "clear all" button rather than having to delete a song one by one like you have to do on an iPhone if not synching via a MacBook/ PC with iTunes account?

      I'm signed up to the Cloud and itunes match - the whole game. But I cam getting annoyed with having to delete songs one by one on my iPhone once dowloaded from the cloud as I only have a 16GB phone....yes I listen to music non-stop!  So, I am thinking about getting an iPAD as I rarely use my MacBook Pro for anything other than surfing and music now...  so the question is:  "On an iPad with iTunes, do you know if you can edit/delete all your tunes on your device with a "clear all" button rather than having to delete a song one by one like you have to do on an iPhone (if not synching via a MacBook/ PC with iTunes account where I know you can clear down and refill with ease)????

    Have you tried
    Settings > General > Usage > Music > Edit > Delete

  • How can I delete a song from my itunes library which I downloaded to my Ipad device?

    I accidentally downloaded a song to the Ipad device from the cloud (from my Itunes library).  Can I delete this one song?

    I do have a very a very same question:
    I attach my iPad to my computer and open iTunes. Then I click on "iPad" (right upper corner).
    When I click on Music on the top line I don't see my music titles but only the list of iTunes albums I may want to synchronize.
    When I click on "On this iPad", I'm getting all music titles on the iPad. When I right-click on an item I'm getting "Play this music / Information / Wertung / show in iTunes store / show in playlist" (or so. I'm using a German version of iTunes). However nowhere do I get the option of Delete this music title. Please, how can I delete titles or albums from the iPad? Thanks in advance!

  • How can i delete an registered device from apple account.

    Hallo
    I registered 4 device to my itunes account sometime ago a got a virus in my network and i must re-install the operating System an all 4 devices....
    So now my question..
    How can i delete the now "not more available" devices from my apple/itunes account.
    Sorry for my bad english if it is possible you can also answer in german or in simple english
    thank you

    If your system crashes or you reinstall your operating system without deauthorising iTunes first, even a single computer can use up your limit of 5 authorisations. You can't deauthorise those dead installations individually. However once you've reached your limit of 5 you have the option to deauthorise them all in one go from your iTunes Store account and start over again. *Just note that you can only use this option once a year*: About iTunes Music Store Authorisation and Deauthorisation
    To deauthorise all computers associated with your account:
    1. Click iTunes Store in the Source pane.
    2. If you're not signed in to the store, click the Account button, then enter your account name and password.
    3. Click the Account button again (your ID appears on the button), enter your password, and then click View Account.
    4. In the Account Information window, click Deauthorize All.
    See also this article: One computer using multiple iTunes Music Store authorizations

  • How can I delete devices from icloud account?

    How can I delete devices from icloud account?

    Welcome to the Apple community.
    Simply turn off "find my phone" and delete the iCloud account from your device.

  • How can I delete an Apple ID from one device and replace it with a different ID on that same device?

    How can I delete an Apple ID from one device and replace it with a different ID on that same device?

    Tthe brute force method: start with Settings > iCloud and turn off Find My (you will need the password), then change the iCloud ID, then go to the apps such as Messages, FaceTime, etc, and delete the Apple ID and enter the new one.

  • My iphone was stolen so I decided to delete my device in find my iphone,  but the it has not yet been deleted bec the device is not connected to the internet yet. Can I undo my changes before it will be deleted from icloud? Thank you

    Hi Suport,
    My iphone was stolen yesterday so I decided to delete my device in find my iphone,  but the it has not yet been deleted bec the device is not connected to the internet yet. Can I undo my changes before it will be deleted from icloud? I want to undo the changes because I may find my phone when it connects to the internet. Thank you
    See image below:
    email is [email protected] for questions thank you Apple. I hope you could help me.

    Sorry, you can't undo your action remotely.

Maybe you are looking for