All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Patrik Horník" <patrik@dsl.sk>
To: linux-raid@vger.kernel.org
Cc: Neil Brown <neilb@suse.de>
Subject: Fwd: Making spare device into active
Date: Fri, 8 Aug 2014 19:45:00 +0200	[thread overview]
Message-ID: <CAAOsTSmDv=9pB2QJx+2OazzSfwJ8MZN=kb_qccg+K+6L4K0Pig@mail.gmail.com> (raw)
In-Reply-To: <CAAOsTSmkyCqLxrG-q2PQxnbXiAC1zz=qw6+ekMUmY=N+ZoHZ-w@mail.gmail.com>

Hello Neil,

I am experiencing the problem with one RAID6 array.

- I was running degraded array with 3 of 5 drives. When adding fourth
HDD one of the drives reported read errors, later disconnected and
then it was kicked out from array. (It was maybe doing of controller
and not drive, not important.)

- The array has internal intent bitmap. After the drive reconnected
I've tried it to --re-add to array with 2 of 5 drives. I am not sure
if that should work? But it did not, recovery got interrupted just
after start and drive was marked as spare.

- Right now I want to assemble array to get data out of it. Is it
possible to change "device role" field in device's superblock so it
can be assembled? I I have --examine and --detail output from before
the problem and so I know at which position the kicked drive belongs.

- Changing device role field seems much safer way than recreating
array with --assume-clean, because with recreating too much things can
go wrong...

Thanks.

Patrik

  reply	other threads:[~2014-08-08 17:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-08 17:25 Making spare device into active Patrik Horník
2014-08-08 17:45 ` Patrik Horník [this message]
2014-08-09  0:31 ` NeilBrown
2014-08-09  8:33   ` Patrik Horník
2014-08-12  7:13     ` NeilBrown

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='CAAOsTSmDv=9pB2QJx+2OazzSfwJ8MZN=kb_qccg+K+6L4K0Pig@mail.gmail.com' \
    --to=patrik@dsl.sk \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.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.