From: Moritz Rosin <moritz.rosin@itrosinen.de>
To: linux-raid@vger.kernel.org
Subject: Recover data from accidentally created raid5 over raid1
Date: Tue, 11 Apr 2023 20:11:35 +0200 [thread overview]
Message-ID: <c0a9e08b91e86c86038be889907f0796@itrosinen.de> (raw)
Hey there,
unfortunately I have to admit, that I learned my lesson the hard way
dealing with software raids.
I had a raid1 running reliable over month using two 4TB HDDs.
Since I ran short on free space I tried to convert the raid1 to a raid5
in-place (with the plan to add the 3rd HDD after converting).
That's where my incredibly stupid mistake kicked in.
I followed an internet tutorial that told me to do:
mdadm --create /dev/md0 --level=5 --raid-devices=2 /dev/sdX1 /dev/sdY1
I learned that I re-created a raid5 array instead of converting the
raid1 :-(
Is there any chance to un-do the conversion or restore the data?
Has the process of creation really overwritten data or is there anythins
left on the disk itself that can be rescued?
Any help would be appreciated. Thanks!!!
Moritz
next reply other threads:[~2023-04-11 18:20 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-11 18:11 Moritz Rosin [this message]
2023-04-11 19:47 ` Recover data from accidentally created raid5 over raid1 John Stoffel
2023-04-12 0:18 ` Wol
2023-04-12 0:26 ` Phil Turmel
2023-04-12 10:15 ` Moritz Rosin
2023-04-13 6:10 ` Moritz Rosin
2023-04-13 12:10 ` Phil Turmel
2023-04-12 10:22 ` Reindl Harald
2023-04-12 12:21 ` Phil Turmel
2023-04-12 20:22 ` Mark Wagner
2023-04-13 8:05 ` Wols Lists
2023-04-13 12:12 ` Phil Turmel
2023-04-13 14:58 ` Wols Lists
-- strict thread matches above, loose matches on Subject: below --
2023-04-11 18:12 Moritz Rosin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c0a9e08b91e86c86038be889907f0796@itrosinen.de \
--to=moritz.rosin@itrosinen.de \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox