linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "J. Ali Harlow" <ali@juiblex.co.uk>
To: linux-raid@vger.kernel.org
Subject: Re: Can't work out how to recover after multiple failures
Date: Tue, 26 Jul 2005 09:51:47 +0100	[thread overview]
Message-ID: <1122367907.1184.239244752@webmail.messagingengine.com> (raw)
In-Reply-To: <1122222141.13200.239118760@webmail.messagingengine.com>


On Sun, 24 Jul 2005 17:22:21 +0100, "J. Ali Harlow" <ali@juiblex.co.uk>
said:
> Can anyone please help me get my raid 1 device back up and running? I
> had a chipset failure which took out one disk and then just after
> replacing the disk and resyncing, the original disk lost power due to a
> loose connection. mdadm seems to think that both devices are fine, but I
> can't seem to fine the magic vodoo to get the raid array working again.
> Sorry if this is a really stupid question. I did read the documentation
> for mdadm pretty carefully, but I'm obviously missing something. Many
> thanks,

Finally got this working. There seem to have been two issues. First,
mdadm didn't like running an array as a seperate step to assembling it.
(mdadm -R /dev/md0 was giving me "Invalid Argument"). Doing this in one
step however did work. Secondly, I suspect the two devices weren't
synced even though mdadm -E wasn't showing this which was casuing
attempts to assemble an array containing both devices to quietly fail.
The final sequence which worked was:

reboot
mdadm --assemble /dev/md0 --run /dev/hda2
mdadm /dev/md0 -a /dev/hde2

Easy when you know :-)

Ali.

-- 
http://www.fastmail.fm - Same, same, but different…

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2005-07-26  8:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-24 16:22 Can't work out how to recover after multiple failures J. Ali Harlow
2005-07-26  8:51 ` J. Ali Harlow [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=1122367907.1184.239244752@webmail.messagingengine.com \
    --to=ali@juiblex.co.uk \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).