All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Robinson <john.robinson@anonymous.org.uk>
To: Anshuman Aggarwal <anshuman@brillgene.com>
Cc: Linux RAID <linux-raid@vger.kernel.org>
Subject: Re: 4 partition raid 5 with 2 disks active and 2 spare, how to force?
Date: Fri, 26 Mar 2010 19:29:56 +0000	[thread overview]
Message-ID: <4BAD0B34.9060102@anonymous.org.uk> (raw)
In-Reply-To: <6093BE49-EE3B-41B5-9519-C6D5D0496C64@brillgene.com>

On 26/03/2010 16:28, Anshuman Aggarwal wrote:
[...]
> mdadm --assemble  /dev/md_d127 /dev/sda1 /dev/sdb5 /dev/sdc5 /dev/sdd5
> mdadm: /dev/md_d127 assembled from 2 drives and 1 spare - not enough to start the array.
[...]

You said sda was broken, so forget that. Goodness knows how sdd5 managed 
to end up being a spare. I think you want `mdadm --assemble /dev/md_d127 
--force /dev/sd[bcd]5`. I don't think you can start it read-only but 
with a member missing you're not going to get a resync going so this is 
unlikely to cause data loss. Still, don't do this if you don't believe 
it's the correct answer, and certainly don't blame me if it wastes your 
data. Good luck!

Cheers,

John.

      parent reply	other threads:[~2010-03-26 19:29 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <S1753093Ab0CYHZE/20100325072504Z+37@vger.kernel.org>
2010-03-25  9:30 ` 4 partition raid 5 with 2 disks active and 2 spare, how to force? Anshuman Aggarwal
2010-03-25 11:37   ` Michael Evans
2010-03-25 14:09     ` Anshuman Aggarwal
2010-03-26  3:38       ` Michael Evans
2010-03-26 16:28         ` Anshuman Aggarwal
2010-03-26 19:04           ` Michael Evans
2010-03-28 15:18             ` Anshuman Aggarwal
2010-03-28 16:35               ` Anshuman Aggarwal
2010-03-29  5:32                 ` Luca Berra
2010-03-29  6:41                   ` Michael Evans
2010-04-06 18:07                     ` linux raid recreate Anshuman Aggarwal
2010-04-06 22:55                       ` Neil Brown
2010-04-07  0:24                         ` Berkey B Walker
2010-04-07  7:27                         ` Anshuman Aggarwal
2010-04-07 13:15                           ` Neil Brown
2010-03-26 19:29           ` John Robinson [this message]

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=4BAD0B34.9060102@anonymous.org.uk \
    --to=john.robinson@anonymous.org.uk \
    --cc=anshuman@brillgene.com \
    --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 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.