linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug with RAID1 hot spares?
@ 2006-10-21  1:46 Chase Venters
  2006-10-23  4:13 ` Neil Brown
  2006-10-25  1:41 ` Bill Davidsen
  0 siblings, 2 replies; 5+ messages in thread
From: Chase Venters @ 2006-10-21  1:46 UTC (permalink / raw)
  To: linux-raid; +Cc: jason.meinzer

Greetings,
	I was just testing a server I was about to send into production on kernel 
2.6.18.1. The server has three SCSI disks with "md1" set to a RAID1 with 2 
mirrors and 1 spare. The mirrors are sda3 and sdb3, spare is sdc3. I manually 
failed sdb3, and as expected, sdc3 was activated. Strangely 
enough, /proc/mdstat did not indicate that sdc3 was being synced. I thought 
these spares weren't kept mirrored until needed?
	In order to further test my theory, I manually failed sda3, leaving only sdc3 
(the original spare) active. I ran "find /" for a bit to see if any errors 
cropped up and none did; however, when I added sda3 and sdb3 back to the 
array and a resync started, I was soon faced with what appeared to be a 
_very_ corrupted reiserfs.
	Strangely enough, after booting on a livecd and assembling md1 with just 
sda3, I was able to add sdb3 and sdc3, after which the array resynced and 
left sdb3 a mirror and sdc3 a spare.
	So there's definitely something odd happening here... why did no resync to 
the sdc3 spare start when I failed sdb3?

Thanks,
Chase

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

end of thread, other threads:[~2006-10-25 10:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-21  1:46 Bug with RAID1 hot spares? Chase Venters
2006-10-23  4:13 ` Neil Brown
2006-10-25  1:41 ` Bill Davidsen
2006-10-25  4:43   ` Chase Venters
2006-10-25 10:41     ` Mario 'BitKoenig' Holbe

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