linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: Jed Davidow <jed@ultralame.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: md rotates RAID5 spare at boot
Date: Fri, 11 Jan 2008 12:12:27 +1100	[thread overview]
Message-ID: <18310.49787.951925.456483@notabene.brown> (raw)
In-Reply-To: message from Jed Davidow on Thursday January 10

On Thursday January 10, jed@ultralame.com wrote:
> (Sorry- yes it looks like I posted an incorrect dmesg extract)

This still doesn't seem to match your description.
I see:

> [   41.247389] md: bind<sdf1>
> [   41.247584] md: bind<sdb1>
> [   41.247787] md: bind<sda1>
> [   41.247971] md: bind<sdc1>
> [   41.248151] md: bind<sdg1>
> [   41.248325] md: bind<sde1>
> [   41.256718] raid5: device sde1 operational as raid disk 0
> [   41.256771] raid5: device sdc1 operational as raid disk 4
> [   41.256821] raid5: device sda1 operational as raid disk 3
> [   41.256870] raid5: device sdb1 operational as raid disk 2
> [   41.256919] raid5: device sdf1 operational as raid disk 1
> [   41.257426] raid5: allocated 5245kB for md0
> [   41.257476] raid5: raid level 5 set md0 active with 5 out of 5 
> devices, algorithm 2

which looks like 'md0' started with 5 of 5 drives, plus g1 is there as
a spare.  And

> [   41.312250] md: bind<sdf2>
> [   41.312476] md: bind<sdb2>
> [   41.312711] md: bind<sdg2>
> [   41.312922] md: bind<sdc2>
> [   41.313138] md: bind<sda2>
> [   41.313343] md: bind<sde2>
> [   41.313452] md: md1: raid array is not clean -- starting background 
> reconstruction
> [   41.322189] raid5: device sde2 operational as raid disk 0
> [   41.322243] raid5: device sdc2 operational as raid disk 4
> [   41.322292] raid5: device sdg2 operational as raid disk 3
> [   41.322342] raid5: device sdb2 operational as raid disk 2
> [   41.322391] raid5: device sdf2 operational as raid disk 1
> [   41.322823] raid5: allocated 5245kB for md1
> [   41.322872] raid5: raid level 5 set md1 active with 5 out of 5 
> devices, algorithm 2

md1 also assembled with 5/5 drives and sda2 as a spare.  
This one was not shut down cleanly so it started a resync.  But there
is not evidence of anything starting degraded.

????

NeilBrown

      reply	other threads:[~2008-01-11  1:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-09 20:07 md rotates RAID5 spare at boot Jed Davidow
2008-01-10 18:03 ` Jed Davidow
2008-01-10 21:23   ` this goes go my megaraid probs too was: " Eric S. Johansson
2008-01-10 20:47 ` Bill Davidsen
2008-01-10 20:53   ` Jed Davidow
2008-01-10 22:01     ` Neil Brown
2008-01-10 23:41       ` Jed Davidow
2008-01-10 23:43       ` Jed Davidow
2008-01-11  0:24         ` Neil Brown
     [not found]       ` <47869D2C.7020805@ultralame.com>
2008-01-11  0:22         ` Neil Brown
2008-01-11  0:38           ` Jed Davidow
2008-01-11  1:12             ` Neil Brown [this message]

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=18310.49787.951925.456483@notabene.brown \
    --to=neilb@suse.de \
    --cc=jed@ultralame.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).