Wrong disk used in software raid. Can I recover data?

Using TestDisk to undelete files
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
erkan
Posts: 2
Joined: 10 Oct 2017, 08:16

Wrong disk used in software raid. Can I recover data?

#1 Post by erkan » 10 Oct 2017, 08:23

Instead of using my two new drives for creating a software raid 1 (using mdadm), I have used one new and one my existing disk that has some important files on it. I have created the array everything is ok.
Once I tried to copy my data to new raid array, I realized that I added wrong disk to raid 1 array. (I'm am complete idiot, I admit)
Is it possible to recover data from my data disk (that is part of raid 1 mdadm array) using testdisk or photorec? I have tried testdisk wihout success and running photorec at the moment.
My main question is when I create the raid 1 array, it resyncs the drives. Is this process overwrites all the data present on the disk?
Is there any way to restore this data?
Thank you for your help.

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 4392
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Wrong disk used in software raid. Can I recover data?

#2 Post by cgrenier » 11 Oct 2017, 06:16

If the Raid 1 re-synchronization is complete, you may have lost all your data, it depends if it has been from the new disk to the old or from the old disk to the new.
Let's wait for PhotoRec results...

erkan
Posts: 2
Joined: 10 Oct 2017, 08:16

Re: Wrong disk used in software raid. Can I recover data?

#3 Post by erkan » 11 Oct 2017, 12:06

Unfortunately, PhotoRec couldn't recover any file.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests