Page 1 of 1

Apple_RAID 0 - Volume deleted by mistake

Posted: 08 Apr 2012, 06:34
by arunr
Hi,

I have deleted Apple_RAID 0 ( 3 x 2TB HDD's ) - volume by mistake.After this i have tried many recovery options but not successfully mounted back.

I have connected Apple_RAID 0 - to windows pc tried using Mac Drive Pro to read data from RAID DISKS- even this din't work out.
I have again connected back to MAC and tried Test Disk
Problem may be: - of the Three disks one shows missing EFI Partition , however others are intact. attached is below LOG file of test disk3.


Sun Apr 8 10:26:23 2012
Command line: TestDisk

TestDisk 6.14-WIP, Data Recovery Utility, March 2012
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Darwin, kernel 10.8.0 (Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.1
Compiler: GCC 4.0
Compilation date: 2012-03-25T21:26:15
ext2fs lib: 1.41.8, ntfs lib: libntfs-3g, reiserfs lib: 0.3.1-rc8, ewf lib: 20100226
Hard disk list
Disk /dev/disk0 - 640 GB / 596 GiB - CHS 1250263728 1 1 (RO), sector size=512
Disk /dev/disk1 - 2000 GB / 1863 GiB - CHS 3907029168 1 1, sector size=512
Disk /dev/disk2 - 2000 GB / 1863 GiB - CHS 3907029168 1 1, sector size=512
Disk /dev/disk3 - 2000 GB / 1863 GiB - CHS 3907029168 1 1, sector size=512
Disk /dev/rdisk0 - 640 GB / 596 GiB - CHS 1250263728 1 1 (RO), sector size=512
Disk /dev/rdisk1 - 2000 GB / 1863 GiB - CHS 3907029168 1 1, sector size=512
Disk /dev/rdisk2 - 2000 GB / 1863 GiB - CHS 3907029168 1 1, sector size=512
Disk /dev/rdisk3 - 2000 GB / 1863 GiB - CHS 3907029168 1 1, sector size=512

Partition table type (auto): EFI GPT
Disk /dev/disk3 - 2000 GB / 1863 GiB
Partition table type: EFI GPT

Analyse Disk /dev/disk3 - 2000 GB / 1863 GiB - CHS 3907029168 1 1
hdr_size=512
hdr_lba_self=1
hdr_lba_alt=3907029167 (expected 3907029167)
hdr_lba_start=34
hdr_lba_end=3907029134
hdr_lba_table=2
hdr_entries=128
hdr_entsz=128
Current partition structure:
1 P Mac Raid 409640 3906766983 3906357344 [T]
2 P Mac Boot 3906766984 3907029127 262144 [b

search_part()
Disk /dev/disk3 - 2000 GB / 1863 GiB - CHS 3907029168 1 1
check_FAT: Unusual media descriptor (0xf0!=0xf8)
FAT32 at 64/0/1
FAT1 : 32-3182
FAT2 : 3183-6333
start_rootdir : 6334 root cluster : 2
Data : 6334-409599
sectors : 409600
cluster_size : 1
no_of_cluster : 403266 (2 - 403267)
fat_length 3151 calculated 3151
heads/cylinder 16 (FAT) != 1 (HD)
sect/track 32 (FAT) != 1 (HD)

FAT32 at 64/0/1
EFI System 64 409663 409600 [EFI]
FAT32, 209 MB / 200 MiB

HFS+ magic value at 529112/0/1
part_size 3129137344
Mac HFS 529112 11719601047 11719071936
HFS+, 6000 GB / 5588 GiB
This partition ends after the disk limits. (start=529112, size=3129137344, end=3129666455, disk end=3907029168)

HFS+ magic value at 529296/0/1
part_size 3129137344
Mac HFS 529296 11719601231 11719071936
HFS+, 6000 GB / 5588 GiB
This partition ends after the disk limits. (start=529296, size=3129137344, end=3129666639, disk end=3907029168)

HFS+ magic value at 529360/0/1
part_size 3129137344
Mac HFS 529360 11719601295 11719071936
HFS+, 6000 GB / 5588 GiB
This partition ends after the disk limits. (start=529360, size=3129137344, end=3129666703, disk end=3907029168)

HFS+ magic value at 529432/0/1
part_size 3129137344
Mac HFS 529432 11719601367 11719071936
HFS+, 6000 GB / 5588 GiB
This partition ends after the disk limits. (start=529432, size=3129137344, end=3129666775, disk end=3907029168)

HFS+ magic value at 529560/0/1
part_size 3129137344
Mac HFS 529560 11719601495 11719071936
HFS+, 6000 GB / 5588 GiB
This partition ends after the disk limits. (start=529560, size=3129137344, end=3129666903, disk end=3907029168)

Kindly help me to rebuild the volume structure back.



Regards
Arun Kumar
E-Mail : ravulapalliarun@gmail.com

Re: Apple_RAID 0 - Volume deleted by mistake

Posted: 13 Apr 2012, 09:34
by remy
If its a raid over partitions : first repair the gpt of the disk with missing info (with gdisk == gpt-fdisk) you should find solution to compute info with gpt duplicate at the end of the disk. Then reassemble your raid in the same way and the same order with mac, the recover your partition on the raid volume with testdisk.

If its a raid over disk, why do you want to find an EFI part on the third disk ?

And, for future : RAID0 over 3 disk :shock: it's 3 times chances to loose everything. When raid0 over multiple disk is needed, backup is an obligation.