From: "André Teichert" <andre_teichert@gmx.de>
To: linux-raid@vger.kernel.org
Subject: Re: mdadm raid5 dropped 2 disks
Date: Sat, 6 Feb 2016 11:54:59 +0100 [thread overview]
Message-ID: <56B5D103.8070908@gmx.de> (raw)
In-Reply-To: <56B479DD.7070600@gmx.de>
Hi Wol,
the raid is save now. I didnt work on the disks itself only with images.
dd if=/dev/sd[abc]1 of=/mnt/image[123].dd bs=1
losetup /dev/loop1 /mnt/image1.dd
losetup /dev/loop2 /mnt/image2.dd
mdadm --create /dev/md0 --raid-devices=3 --level=5 --assume-clean
--size=976631296 --raid-devices=3 missing /dev/loop2 /dev/loop1
fsck without any errors. Data is back!
What I maybe did wrong in the first run?
1) I wrote the first backup of the disks to partitions, that were a
little bigger than the original one. These were fresh drives with no
data writen so far.
2) I did the create with the right order (missing loo2 loop1) from
mdadm -E "Device Role"
glad it worked. Will save lsdrv and hope never to use it. Create new
backupplan!
cheers
next prev parent reply other threads:[~2016-02-06 10:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-05 10:30 mdadm raid5 dropped 2 disks André Teichert
2016-02-06 9:45 ` Wols Lists
2016-02-06 10:54 ` André Teichert [this message]
2016-02-06 11:46 ` Wols Lists
2016-02-06 14:03 ` Phil Turmel
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=56B5D103.8070908@gmx.de \
--to=andre_teichert@gmx.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;
as well as URLs for NNTP newsgroup(s).