From: Jeff Wiegley <jeffw@csun.edu>
To: Mikael Abrahamsson <swmike@swm.pp.se>
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: Repaired the sectors of a drive, how do I get the md to assemble and start degraded?
Date: Thu, 24 Apr 2014 13:24:41 -0700 [thread overview]
Message-ID: <53597309.8070506@csun.edu> (raw)
In-Reply-To: <alpine.DEB.2.02.1404241923510.19744@uplift.swm.pp.se>
I don't want to simply re-add the failed drives as I believe
they will start re-syncing won't they? I don't want their data
lost and overwritten. I want the drive to be treated like it
never failed in the first place.
I might have some filesystem corruption but not as much as I
will if the entire drive is resynced.
I also cannot repair the two other dead drives. So I need this
drive treated as is so that array can come up degraded. Then I
can get what data I can off it before replacing all drives
and probably starting fresh.
- Jeff
On 4/24/2014 10:27 AM, Mikael Abrahamsson wrote:
> On Thu, 24 Apr 2014, Jeff Wiegley wrote:
>
>> How do I do this? how do I specify a command to take these 15 drives,
>> mark two of them failed and force the assembly and start of the
>> remaining 13 good drives (though one has probably been marked as failed
>> in the past?)
>
> Try to use --assemble with all working drives (not the failed ones). If it
> doesn't work, add --force. Do not use --create --assume-clean unless you
> really really know what you're doing. If you go down that route, first
> make sure you do mdadm --examine on all devices so you know what the
> superblocks contained before you erase them (which is what --create will
> do).
>
> Did you try to re-add the failed drives initially? If you had been using a
> bitmap, they might have come online and successfully added, and then you
> could have run md repair and avoided data loss altogether.
>
next prev parent reply other threads:[~2014-04-24 20:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-24 15:05 Repaired the sectors of a drive, how do I get the md to assemble and start degraded? Jeff Wiegley
2014-04-24 17:27 ` Mikael Abrahamsson
2014-04-24 20:24 ` Jeff Wiegley [this message]
2014-04-25 3:31 ` Mikael Abrahamsson
2014-04-25 4:59 ` Jeff Wiegley
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=53597309.8070506@csun.edu \
--to=jeffw@csun.edu \
--cc=linux-raid@vger.kernel.org \
--cc=swmike@swm.pp.se \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.