All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chase Venters <chase.venters@clientec.com>
To: linux-raid@vger.kernel.org
Cc: jason.meinzer@gmail.com
Subject: Bug with RAID1 hot spares?
Date: Fri, 20 Oct 2006 20:46:19 -0500	[thread overview]
Message-ID: <200610202046.43033.chase.venters@clientec.com> (raw)

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

             reply	other threads:[~2006-10-21  1:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-21  1:46 Chase Venters [this message]
2006-10-23  4:13 ` Bug with RAID1 hot spares? Neil Brown
2006-10-25  1:41 ` Bill Davidsen
2006-10-25  4:43   ` Chase Venters
2006-10-25 10:41     ` Mario 'BitKoenig' Holbe

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=200610202046.43033.chase.venters@clientec.com \
    --to=chase.venters@clientec.com \
    --cc=jason.meinzer@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.