Jump to content

[How To] recover a deleted software raid


  • Please log in to reply
9 replies to this topic

#1
peach-os

peach-os

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,286 posts
  • Location:lago di constanza
unfortunately I deleted one of my softraid´s by mistake in disk utilty. of course I did have a backup of the disk but not including my work of the last week :(

if this happens to you or the partition table is damaged for some reason - this guide is a possible solution:

1. don´t try any experiments - you could loose all your data
2. get the recovery tool "r-studio for mac"
this app has a possibility to rebuilt the raid as a virtual disk. all you need is to remember the order of the
disks and the stripe size you used with this raid before.
3. open r-studio and click on raid in the menu. choose "Virtual Block Raid"
4. choose the 2nd partitions labeled Apple_Raid_offline and drag and drop them in the right order on the new created
device. you won´t need the "efi" or the "boot osx" partitions.
5. now you still can change the order of the disks on the right side and apply.
6. define the stripe size and apply. apple default is 32 - if you use the wrong one it will end up with recovered unusable
files, but the data on the disks won´t be touched. so it´s possible to try different settings without any further damages.
7. if it worked a new partition will appear - now recover!

this way I was able to recover the whole data from the raid 100% - even with names, folders and the complete structure.
the price of r-tools is around 80 bucks and was one of my best investments ever! it´s worth every cent :)

#2
c0rk007hck

c0rk007hck

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 198 posts
Thanx mate, you're the hero of my day.

Got my data back with your tip.

Have a nice day bro ;)

#3
peach-os

peach-os

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,286 posts
  • Location:lago di constanza

Thanx mate, you're the hero of my day.

Got my data back with your tip.

Have a nice day bro :D


OMG.....I didn´t see this post sice mid june....too much travelling

happy to hear that it helped you :)

#4
Bitplumber

Bitplumber

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
I´d like to reanimate this topic.
My question to peach-os is what kind of RAID he is talking about. I´m trying to figure out a way to repair a RAID 0 which I accidently resolved via diskutility. The disks are untouched and found by diskutil as follows:


diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk0
1: EFI 209.7 MB disk0s1
2: Apple_RAID_Offline 2.0 TB disk0s2
3: Apple_Boot Boot OSX 134.2 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI 209.7 MB disk1s1
2: Apple_HFS CK 999.9 GB disk1s2
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk2
1: EFI 209.7 MB disk2s1
2: Apple_RAID_Offline 2.0 TB disk2s2
3: Apple_Boot Boot OSX 134.2 MB disk2s3

diskutil listraid
No AppleRAID sets found


The RAID disks are found and marked offline, is there any chance to put them together again or rescue the data as peach-os described??
I tried iPartition (not changing anything on that disks), it even found the Name of the lost volume an its correct size.

I appreciate any hint that could help. I asked the german support for r-studio and they said, that r-studio is not capable of repairing RAIDs.
I´m a bit confused now....

#5
peach-os

peach-os

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,286 posts
  • Location:lago di constanza
hahahaaaaa...........how stupid is that ??? that great raid functionality of r-studio was the reason i did spend 70 bucks for it.....wow - great support ;)
I had exactly the same situation as you with raid0 - r-studio working 100%.

to check that is very easy: the trial version will let you see the files but not recover - just test it. what you need to know is what block size you used - the default is 32

P.S: I speak german if it helps

#6
Bitplumber

Bitplumber

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
Thanks for replying so fast.
My hopes are growing... I will try the r-studio trial version tomorrow and post the result.
I would appreciate your help with the upcoming procedure.

P.S.: MeinEnglisch ist zwar nicht so schlecht, aber ich freue mich auch auf eine Antwort auf Deutsch. :wink2:

#7
Bitplumber

Bitplumber

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
Today I tried R-Studio Demo. No matter what block size and number of rows it always finds the same amount of data.
It shows the original structure but all indicated original folder files say 0 Bytes. Data files seem to be of correct size.
Before I buy the software I would like to be sure not to recover empty files.

I tried to add a screenshot here, but it didn´t work.

#8
peach-os

peach-os

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,286 posts
  • Location:lago di constanza
give me some time . I will check that for you with my r-studio version and compare it to the demo.

#9
Bitplumber

Bitplumber

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
Thanks a lot for checking, I´m patient...

#10
Bitplumber

Bitplumber

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
Well, I just purchased R-Studio. I was not able to recover the original folder structure, but a l l f i l e s with original names. I found them in a thousands of numbered folders and it took a couple of hours, but there were no losses. :-))

Thanks again peach-os!

I´m still wondering if it´s possible to recover the RAID with its original structure or even "mount" the virtual RAID.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy