linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RAID1: can't remove (or set-faulty) a disk during resync with mdadm
@ 2006-05-02 19:36 David Mansfield
  2006-05-02 19:44 ` Gil
  0 siblings, 1 reply; 2+ messages in thread
From: David Mansfield @ 2006-05-02 19:36 UTC (permalink / raw)
  To: linux-raid

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-05-02 19:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-02 19:36 RAID1: can't remove (or set-faulty) a disk during resync with mdadm David Mansfield
2006-05-02 19:44 ` Gil

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).