From: David Mansfield <centos@dm.cobite.com>
To: linux-raid@vger.kernel.org
Subject: RAID1: can't remove (or set-faulty) a disk during resync with mdadm
Date: Tue, 02 May 2006 15:36:45 -0400 [thread overview]
Message-ID: <4457B4CD.7030709@dm.cobite.com> (raw)
Hi,
I'm running on Centos 4.3 with the latest kernel so perhaps this is a
'vendor uses old/modified kernel' problem, (kernel is 2.6.9-34.EL) but
anyway here goes:
I have a degraded mirror. The rebuild is proceeding with /dev/hda1
'good' and /dev/hdb1 'syncing'.
I'd like to pull /dev/hdb1 out of the raid and go back to 'degraded'
mode with no resync.
When I run mdadm --manage -f /dev/md1 /dev/hdb2 it only causes the
resync to start again from the beginning, it doesn't actually mark it bad.
The same thing happens if there's a write error to /dev/hdb1 during
resync, instead of failing, it simply restarts the resync.
I imagine the two are related - maybe 'set faulty' simply simulates an
i/o error on the member, but during resync, the behavior is 'retry'.
Is there anything that can be done about this (other than politely ask
vendor for a fix ;-)?
David
next reply other threads:[~2006-05-02 19:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-02 19:36 David Mansfield [this message]
2006-05-02 19:44 ` RAID1: can't remove (or set-faulty) a disk during resync with mdadm Gil
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=4457B4CD.7030709@dm.cobite.com \
--to=centos@dm.cobite.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 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).