From: "Chris Andrews" <chrisa@inweb.co.uk>
To: <linux-kernel@vger.kernel.org>
Subject: Re: RAID5: mkraid --force /dev/md0 doesn't work properly
Date: Mon, 1 Oct 2001 13:09:50 +0100 [thread overview]
Message-ID: <00c401c14a71$f8c478f0$1e1cd2d5@chris> (raw)
Evan Harris (eharris@puremagic.com) said:
> I have a 6 disk RAID5 scsi array that had one disk go offline through a
> dying power supply, taking the array into degraded mode, and then another
> went offline a couple of hours later from what I think was a loose cable.
I had much the same happen, except that I lost 6 disks out of 12 (power
failure to one external rack of two), so I had no chance of starting in
degraded mode. In this situation, where there are not enough disks for a
viable raid, what is the recommended solution? In my case, there was nothing
wrong with the six disks, but their superblock event counters were out of
step.
Is the best idea to modify /etc/raidtab as discussed, and run mkraid with
the real force option? What I actually did was to hand-edit the superblocks
on the disks, and got the array going. That experience would lead me to
suggest that there's room for some more options to allow the use of disks
where there's actually nothing wrong, but right now the raid code won't use
them. I'm thinking of a set of '--ignore' options to raidstart:
--ignore-eventcounter, --ignore-failedflag, etc, which an admin could use as
an alternative to trying mkraid.
Right now it seems that software-raid works well, until it doesn't, at which
point you're stuck - there's very little in the way of tools or overrides to
sort problems out. Something other than 'try mkraid force as a last resort'
would be useful.
(If anyone thinks this is a good idea, yes, I am volunteering to provide
patches...)
Chris.
next reply other threads:[~2001-10-01 12:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-01 12:09 Chris Andrews [this message]
2001-10-02 5:09 ` RAID5: mkraid --force /dev/md0 doesn't work properly Jakob Østergaard
-- strict thread matches above, loose matches on Subject: below --
2001-10-01 0:29 Evan Harris
2001-10-01 0:41 ` Jakob Østergaard
2001-10-01 0:51 ` Evan Harris
2001-10-01 3:56 ` Jakob Østergaard
2001-10-01 6:25 ` Evan Harris
2001-10-01 7:36 ` Peter Svensson
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='00c401c14a71$f8c478f0$1e1cd2d5@chris' \
--to=chrisa@inweb.co.uk \
--cc=linux-kernel@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