All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: Joe Bryant <tenminjoe@yahoo.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Spare drive won't spin down
Date: Fri, 7 May 2010 16:20:34 +1000	[thread overview]
Message-ID: <20100507162034.1370d645@notabene.brown> (raw)
In-Reply-To: <922812.29139.qm@web31703.mail.mud.yahoo.com>

On Thu, 6 May 2010 10:49:06 -0700 (PDT)
Joe Bryant <tenminjoe@yahoo.com> wrote:

> Hello -
> 
> I hope some kind soul is able to help. I have configured a RAID1 array - two mirrored drives, one spare. My understanding is that the spare disk should  be allowed to spin down, but it won't. 

Yes, it should.  But as you say, it doesn't.
More precisely, it seems to work if you create an array with 1.x metadata
(e.g. --metadata=1.0) but not if you use 0.90 (which the default for mdadm
before 3.1).

It seems I broke it with commit 51d5668cb2e3f in 2.6.31.

I'll see about fixing that.

> 
> This box is a fresh build and can be rebuilt if that's necessary to fix 
> or diagnose the problem.

Recreate the array with "--metadata 1.0" or "--metadata 1.2" and it should
work better.

> 
> Thanks in advance for any help. Linux software RAID is just terrific - I report this minor issue largely because, as I said, it seems like this is something that is *supposed* to work.
> 

Yes, thanks for reporting it.

NeilBrown


  parent reply	other threads:[~2010-05-07  6:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-06 17:49 Spare drive won't spin down Joe Bryant
2010-05-07  5:07 ` Michael Evans
2010-05-07  7:39   ` Joe Bryant
2010-05-07  6:20 ` Neil Brown [this message]
2010-05-07  7:40   ` Joe Bryant
2010-05-07  9:47     ` Neil Brown
2010-05-07 10:05       ` Joe Bryant
2010-05-10 16:59       ` Bill Davidsen
2010-05-11 20:53         ` Neil Brown
2010-05-17 18:11           ` Doug Ledford
2010-05-18  0:23             ` Neil Brown
2010-05-18  0:38               ` Michael Evans
2010-05-18  0:50                 ` Neil Brown
2010-05-18  0:20           ` Neil Brown

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=20100507162034.1370d645@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=tenminjoe@yahoo.com \
    /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.