Recover files from Raid disk

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Post Reply
Message
Author
PhantomR13
Posts: 1
Joined: 21 Jun 2025, 15:47

Recover files from Raid disk

#1 Post by PhantomR13 »

Hello,

I have a disk, which was part of a RAID array, and I am trying to recover the files on it, without having the other RAID volumes. Could you give me a hand, please? Here's a copy of my log, and a screenshot from TestDisk:

Code: Select all


Sat Jun 21 17:49:44 2025
Command line: TestDisk

TestDisk 7.2, Data Recovery Utility, February 2024
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Windows 8 (9200)
Compiler: GCC 11.2, Cygwin 3001.4
ext2fs lib: 1.45.3, ntfs lib: available, reiserfs lib: none, ewf lib: 20140608, curses lib: ncurses 6.1
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=3000592982016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=512110190592
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive3)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive4)=61958258688
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=998038831104
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=61923655680
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=512108789760
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=599262232576
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=33554432
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\J:)=228390338560
Hard disk list
Disk \\.\PhysicalDrive0 - 3000 GB / 2794 GiB - CHS 364801 255 63, sector size=512 - ST3000DM001-1ER166, S/N:Z503APL9, FW:CC26
Disk \\.\PhysicalDrive1 - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - WD_BLACK SN850X 1000GB, S/N:E823_8FA6_BF53_0001_001B_444A_48E6_7F25., FW:620331WD
Disk \\.\PhysicalDrive2 - 512 GB / 476 GiB - CHS 62260 255 63, sector size=512 - SAMSUNG MZVLB512HAJQ-000L7, S/N:0025_3886_81B5_746D., FW:5L2QEXA7
Disk \\.\PhysicalDrive3 - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - Samsung SSD 970 EVO Plus 1TB, S/N:0025_385A_1151_0C20., FW:4B2QEXM7
Disk \\.\PhysicalDrive4 - 61 GB / 57 GiB - CHS 7532 255 63, sector size=512 - Patriot Memory, S/N:0E7F20190070, FW:PMAP

Partition table type (auto): EFI GPT
Disk \\.\PhysicalDrive0 - 3000 GB / 2794 GiB - ST3000DM001-1ER166
Partition table type: Intel

Analyse Disk \\.\PhysicalDrive0 - 3000 GB / 2794 GiB - CHS 364801 255 63
Geometry from i386 MBR: head=255 sector=63
BAD_RS LBA=1 0
check_part_i386 1 type EE: no test
Current partition structure:
 1 P EFI GPT                  0   0  2 267349  89  4 4294967295

Bad relative sector.
No partition is bootable

search_part()
Disk \\.\PhysicalDrive0 - 3000 GB / 2794 GiB - CHS 364801 255 63

recover_EXT2: s_block_group_nr=0/18, s_mnt_count=2/4294967295, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 622544
recover_EXT2: part_size 4980352
Filesystem created: Wed Sep  7 00:28:53 2016
Last mount time:    Sun Jul 10 22:08:26 2022
     Linux                    0  32 33   310  35 45    4980352 [1.42.6-7373]
     ext4 blocksize=4096 Large_file Sparse_SB, 2549 MB / 2431 MiB

Raid magic value at 310/35/46
Raid apparent size: 2180925952 sectors
Raid chunk size: 0 bytes
md0 md 0.90.0 B.Endian Raid 1: devices 0(8,1) 1(8,17) 2(8,33) 3(8,49) 4(8,65) 5(8,81)* 6(8,97) 7(8,113)
     Linux RAID               0  32 33   310  37 47    4980480 [md0]
     md 0.90.0 B.Endian Raid 1: devices 0(8,1) 1(8,17) 2(8,33) 3(8,49) 4(8,65) 5(8,81)* 6(8,97) 7(8,113), 2550 MB / 2431 MiB
     Linux Swap             310  37 48   571  56 45    4194160
     SWAP2 version 1, pagesize=4096, 2147 MB / 2047 MiB

Raid magic value at 571/56/62
Raid apparent size: 2180922880 sectors
Raid chunk size: 0 bytes
md1 md 0.90.0 B.Endian Raid 1: devices 0(8,2) 1(8,18) 2(8,34) 3(8,50) 4(8,66) 5(8,82)* 6(8,98) 7(8,114)
     Linux RAID             310  37 48   571  58 63    4194304 [md1]
     md 0.90.0 B.Endian Raid 1: devices 0(8,2) 1(8,18) 2(8,34) 3(8,50) 4(8,66) 5(8,82)* 6(8,98) 7(8,114), 2147 MB / 2048 MiB

Raid magic value at 587/111/37
Raid apparent size: 3837972614 sectors
Charly:2 md 1.x L.Endian Raid 5 - Array Slot : 10 (failed, 1, failed, 3, 4, failed, 6, failed, 2, 7, 5, 0, failed, failed, failed)
     Linux RAID             587 111 37 364788 112  4 5850889096 [Charly:2]
     md 1.x L.Endian Raid 5 - Array Slot : 10 (failed, 1, failed, 3, 4, failed, 6, failed, 2, 7, 5, 0, failed, failed, failed), 2995 GB / 2789 GiB

Results
     Linux                    0  32 33   310  41 51    4980736 [1.42.6-7373]
     ext4 blocksize=4096 Large_file Sparse_SB, 2550 MB / 2432 MiB
     Linux RAID               0  32 33   310  37 47    4980480 [md0]
     md 0.90.0 B.Endian Raid 1: devices 0(8,1) 1(8,17) 2(8,33) 3(8,49) 4(8,65) 5(8,81)* 6(8,97) 7(8,113), 2550 MB / 2431 MiB
     Linux Swap             310  37 48   571  56 45    4194160
     SWAP2 version 1, pagesize=4096, 2147 MB / 2047 MiB
     Linux RAID             310  37 48   571  58 63    4194304 [md1]
     md 0.90.0 B.Endian Raid 1: devices 0(8,2) 1(8,18) 2(8,34) 3(8,50) 4(8,66) 5(8,82)* 6(8,98) 7(8,114), 2147 MB / 2048 MiB
   * Linux RAID             587 111 37 364788 130 14 5850890240 [Charly:2]
     md 1.x L.Endian Raid 5 - Array Slot : 10 (failed, 1, failed, 3, 4, failed, 6, failed, 2, 7, 5, 0, failed, failed, failed), 2995 GB / 2789 GiB
Image
recuperation
Posts: 3032
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Recover files from Raid disk

#2 Post by recuperation »

PhantomR13 wrote: 21 Jun 2025, 15:53 Hello,

I have a disk, which was part of a RAID array, and I am trying to recover the files on it, without having the other RAID volumes. Could you give me a hand, please? Here's a copy of my log, and a screenshot from TestDisk:
Unfortunately your description is not sufficient.

Be aware that TestDisk won't assemble member disks of a RAID array. Furthermore, having one disk of a Raid array, for instance one out of three disks of a RAID5-type array, limits your recovery success to files that fit into a single RAID stripe. I guess you would need PhotoRec for that.

I don't know what you mean by saying "without having the other RAID volumes".
Does this refer to the virtual RAID device referenced to below?

When you are asking your question somewhere else, you should describe which RAID level you were using, how many disks your RAID array consisted of, how RAID was realized (software, hardware) and how you partitioned and formated the resulting virtual RAID device.
Post Reply