Recovering linux RAID 1 partitions + files on 1 TB drive requires more than 3.6 TB

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
wazoo42
Posts: 5
Joined: 03 Nov 2026, 05:19

Recovering linux RAID 1 partitions + files on 1 TB drive requires more than 3.6 TB

#1 Post by wazoo42 »

I have a number of old drives (WDC Black 1 TB sata HDD) that had between 2 and 5 RAID 1 partitions on them (EXT4 or XFS). Each RAID 1 setup had either 2 or 3 drives mirrored and I tried using testdisk on Rocky Linux 10 to save the files. Running the Quick Search works well and lots of recognizable files and folders turn up. When I go to save a partition that is about 600 GB I run out of space on the drive to which I transfer the data. I tried a single 2 TB drive, and when that ran out of space I used 4 of the 1 TB drives in RAID 0 to create a 3.6 TB partition. Once again, trying to copy these files from the 600 GB partition completely filled up the 3.6 TB RAID 0 array after 24-30 hours. How do I go about recovering these partitions and files without resorting to exceedingly large drives?
recuperation
Posts: 3190
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Recovering linux RAID 1 partitions + files on 1 TB drive requires more than 3.6 TB

#2 Post by recuperation »

Please post your log file.
Quick search is searching for partitions, not for files and folders.
Please explain what you mean when you say "a lot of files and folders turn up".
Did you use TestDisk or PhotoRec?
Try to be specific so that a third person can understand what you did exactly.
Running the Quick Search works well
I don't know what "works well" means.
wazoo42
Posts: 5
Joined: 03 Nov 2026, 05:19

Re: Recovering linux RAID 1 partitions + files on 1 TB drive requires more than 3.6 TB

#3 Post by wazoo42 »

Apologies for not creating a sufficiently detailed initial post and thank you for helping me better understand all of the parts I need.

I am using Testdisk and the log file is attached.

It appears there are some EXT2 part_offset problems in the beginning, and then loads of 2133571369 errors. Are there other errors that tell me more about what is going wrong with the file copy?

My procedure was:
1) Select the drive (/dev/sda) and perform Quick Search (this results in 4 partitions found)
2) I navigated to the 4th partition (which showed lots of files that I wanted to recover)
3) I pressed "a" to select all of the files, then "C" to copy them, and finally navigated to the final location (a 2 TB drive with 800+ GB left for this particular log file) and pressed "c"
4) The copy process proceeded overnight and filled the entire space (this is exactly what happened for the 3.6 TB RAID 0 array too, but it took over a day)
Attachments
testdisk.log
(329.13 KiB) Downloaded 4 times
wazoo42
Posts: 5
Joined: 03 Nov 2026, 05:19

Re: Recovering linux RAID 1 partitions + files on 1 TB drive requires more than 3.6 TB

#4 Post by wazoo42 »

Here are some images showing the process.

1) The partitions found on /dev/sda by Quick Search
Image

2) Contents of the 4th partition (files to be recovered)
Image

3) After pressing "a" to select all of the files for recovery
Image
Attachments
3-testdisk_selected-all-files-for-recovery.jpg
3-testdisk_selected-all-files-for-recovery.jpg (421.6 KiB) Viewed 43 times
2-testdisk_4th-part-found-by-quick-search.jpg
2-testdisk_4th-part-found-by-quick-search.jpg (449.25 KiB) Viewed 43 times
1-testdisk_partitions-found-by-quick-search.jpg
1-testdisk_partitions-found-by-quick-search.jpg (329.75 KiB) Viewed 43 times
wazoo42
Posts: 5
Joined: 03 Nov 2026, 05:19

Re: Recovering linux RAID 1 partitions + files on 1 TB drive requires more than 3.6 TB

#5 Post by wazoo42 »

4) Directory for saving the recovered files
Image

5) Starting the recovery file copy
Image
Attachments
5-testdisk_beginning-of-save-process.jpg
5-testdisk_beginning-of-save-process.jpg (320.92 KiB) Viewed 43 times
4-testdisk_save-directory.jpg
4-testdisk_save-directory.jpg (334.14 KiB) Viewed 43 times
wazoo42
Posts: 5
Joined: 03 Nov 2026, 05:19

Re: Recovering linux RAID 1 partitions + files on 1 TB drive requires more than 3.6 TB

#6 Post by wazoo42 »

6) df -h shows 858 GB free on /dev/sdb where the recovered files are copied to
Image

7) Testdisk error once /dev/sdb ran out of space
Image
Attachments
7-testdisk_ran-out-of-space.jpg
7-testdisk_ran-out-of-space.jpg (416.2 KiB) Viewed 43 times
6-testdisk_858GB-on-sdb.jpg
6-testdisk_858GB-on-sdb.jpg (367.74 KiB) Viewed 43 times
Post Reply