All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Arthur Britto <ahbritto@iat.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Help: Re-assemble raid-5 with inconsistent events.
Date: Sat, 22 Mar 2008 13:30:28 -0400	[thread overview]
Message-ID: <47E54234.3040407@tmr.com> (raw)
In-Reply-To: <1206153639.16304.30.camel@loss.redstem.com>

Arthur Britto wrote:
> Hi,
>
> I have a RAID 5 with 6 components.  The 4-port SATA controller died and
> left the RAID in an inconsistent state.  2 of the 6 components have a
> more recent event stamp than the others. 
>
> What command should I issue to re-assemble the RAID?
>
> In particular, I don't want to force the RAID to be assembled with the
> components in the wrong order.  Especially as the order given
> by /dev/sd?? does not match the component order.
>
> Thanks in advance,
>   
Might I suggest that you
- back up your mdadm.conf file
- replace the list of components in the ARRAY description with the UUID 
of the array
- change configure to use PARTITIONS and try them all
- try the assemble with mdadm figuring out what goes where

Your chances of getting something drastically wrong are lower. You may 
have to use --force to get the assembly, and should run fsck *with the 
-n option* first to see what you have.

-- 
Bill Davidsen <davidsen@tmr.com>
  "Woe unto the statesman who makes war without a reason that will still
  be valid when the war is over..." Otto von Bismark 



  reply	other threads:[~2008-03-22 17:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-22  2:40 Help: Re-assemble raid-5 with inconsistent events Arthur Britto
2008-03-22 17:30 ` Bill Davidsen [this message]
2008-03-22 20:14   ` Arthur Britto

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=47E54234.3040407@tmr.com \
    --to=davidsen@tmr.com \
    --cc=ahbritto@iat.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.