Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Wols Lists <antlists@youngman.org.uk>
To: Jinpu Wang <jinpuwang@gmail.com>,
	William Morgan <therealbrewer@gmail.com>
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: Need help with degraded raid 5
Date: Thu, 5 Mar 2020 17:22:20 +0000	[thread overview]
Message-ID: <5E61354C.2090901@youngman.org.uk> (raw)
In-Reply-To: <CAD9gYJ+3gP+6aannsjzq=L0DsQ-dC2wj4SJfU3+n-t3pG0q3pg@mail.gmail.com>

On 05/03/20 14:53, Jinpu Wang wrote:
> "mdadm /dev/md0 -a /dev/sdl1"  should work for you to add the disk
> back to array, maybe you can check first with "mdadm -E /dev/sdl1" to
> make sure.

Or better, --re-add or whatever the option is. If it can find the
relevant data in the superblock, like bitmap or journal or whatever, it
will just bring the disk up-to-date. If it can't, it functions just like
add, so you've lost nothing but might gain a lot.

Cheers,
Wol

  reply	other threads:[~2020-03-05 17:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-05  0:31 Need help with degraded raid 5 William Morgan
2020-03-05 14:53 ` Jinpu Wang
2020-03-05 17:22   ` Wols Lists [this message]
2020-03-06 21:33     ` William Morgan
2020-03-06 22:55       ` David C. Rankin
2020-03-09  8:39       ` Jack Wang

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=5E61354C.2090901@youngman.org.uk \
    --to=antlists@youngman.org.uk \
    --cc=jinpuwang@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=therealbrewer@gmail.com \
    /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