All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phil Turmel <philip@turmel.org>
To: Stefan Lamby <webmaster@peter-speer.de>,
	"linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: Re: Raid 1 needs repair
Date: Thu, 4 Feb 2016 11:45:06 -0500	[thread overview]
Message-ID: <56B38012.5020404@turmel.org> (raw)
In-Reply-To: <1161942166.457494.1454601803851.JavaMail.open-xchange@app01.ox.hosteurope.de>

On 02/04/2016 11:03 AM, Stefan Lamby wrote:
> Good morning Phil.
> I was hoping you are around - thanks for answering.
> The distro is a ubuntu lts server version 14.04.
> 
> I was able to chroot und grub-install /dev/sdb.
> The system is booting again. The md0-Array needs to be fixed now.
> 
> My docu for doing so is
> mdadm --manage /dev/md0 --fail /dev/sda1    # mark as failed
> mdadm --manage /dev/md0 --remove /dev/sda1  # remove failed disk from array
> mdadm --manage /dev/md0 --add /dev/sda1     # add new disk to array (assumed
> same or greater space for partition)
> 
> Can you confirm this?

You may also need "mdadm --zero-superblock /dev/sda1" before the add
command.

But if it's currently active in the array, why do you need to fail it?

Phil


  reply	other threads:[~2016-02-04 16:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-04 14:21 Raid 1 needs repair Stefan Lamby
2016-02-04 14:51 ` Phil Turmel
2016-02-04 16:03   ` Stefan Lamby
2016-02-04 16:45     ` Phil Turmel [this message]
2016-02-04 17:41       ` Stefan Lamby
2016-02-04 21:30         ` Phil Turmel
2016-02-05 10:02           ` Stefan Lamby
     [not found]             ` <1543635690.543147.1454691080103.JavaMail.open-xchange@app03.ox.hosteurope.de>
2016-02-05 16:54               ` [SOLVED] " 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=56B38012.5020404@turmel.org \
    --to=philip@turmel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=webmaster@peter-speer.de \
    /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.