From: Jakob Oestergaard <jakob@unthought.net>
To: linux-raid@vger.kernel.org
Subject: Re: raid 5 out of sync won't mount
Date: Tue, 18 Jun 2002 18:56:38 +0200 [thread overview]
Message-ID: <20020618165638.GA11713@unthought.net> (raw)
In-Reply-To: <20020618161549.GA17321@colombina.comedia.it>
On Tue, Jun 18, 2002 at 06:15:49PM +0200, Luca Berra wrote:
> On Tue, Jun 18, 2002 at 08:45:45AM -0600, Monty Charlton wrote:
> > Hello all,
> >
> > I've got a helluva problem and I'm hoping someone here can possibly help
> > out.
> >
> > I've got raid5 (sdb1,sbc1,sdd1) on a partition, and one of the drives
> > (sdd1) went bad. So I (stupidly) hit the reset button on the computer,
> > but now the partition won't mount. Raid complains that one drive is bad
> > (which it is), and that the other is out of sync. See part of dmesg
> > below...
> >
> > Am I hosed? Can I fake out raid by commenting out some of the code that
> > tries to determine whether or not the drive is fresh?
> edit /etc/raidtab
> mark the drive you know as bad as
> failed-disk instead of raid-disk
> run mkraid --force on the array
> read the message you get and do as instructed.
Yes, that is exactly the way to do it.
If you mark the right disk as failed, everything will succeed and you
will not lose your data even though mkraid claims that you will.
If you, however, mark the wrong disk as failed, or forget to mark a
disk as failed, no amount of magic is going to bring those data back.
If it is really important data, it might be advisable to do a raw copy
of the individual partitions to some other machine - just in case. But
again, if you do it right, there's no problem ;)
--
................................................................
: jakob@unthought.net : And I see the elder races, :
:.........................: putrid forms of man :
: Jakob Østergaard : See him rise and claim the earth, :
: OZ9ABN : his downfall is at hand. :
:.........................:............{Konkhra}...............:
-
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
next prev parent reply other threads:[~2002-06-18 16:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-18 14:45 raid 5 out of sync won't mount Monty Charlton
2002-06-18 16:15 ` Luca Berra
2002-06-18 16:52 ` Monty Charlton
2002-06-18 16:58 ` Jakob Oestergaard
2002-06-18 16:56 ` Jakob Oestergaard [this message]
2002-06-18 23:57 ` Monty Charlton
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=20020618165638.GA11713@unthought.net \
--to=jakob@unthought.net \
--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).