All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randall Smith <randall@tnr.cc>
To: linux-raid@vger.kernel.org
Subject: Re: resync hangs
Date: Mon, 22 Jun 2009 11:53:55 -0500	[thread overview]
Message-ID: <h1ocv7$i4h$1@ger.gmane.org> (raw)
In-Reply-To: <31c94e366685d963f1a4794853b9339f.squirrel@neil.brown.name>

NeilBrown wrote:
>>
>> ~$ grep . /sys/block/md2/md/*
> ...
>> /sys/block/md2/md/sync_speed:0
>> /sys/block/md2/md/sync_speed_max:0 (system)
>> /sys/block/md2/md/sync_speed_min:0 (system)
> 
> This looks like the culprit.  The sync_speed has been limited to
> 0.  The "(system)" means that it is using the value from
>   /proc/sys/dev/raid/speed_limit_max
> 
> It seem that that value has been set to 0 somehow.
> The default value is 200000.
> 
> Could something be setting that?  Can you set it back?
>  .../speed_limit_min should be 1000 by default.
> 
> NeilBrown

I'll set it back next time it happens.  Any guess what might set that 
value to 0 and why? mdadm is the only thing I know of that knows about 
raid.  It starts up late in the init process with this command:

/sbin/mdadm --monitor --pid-file /var/run/mdadm/monitor.pid --daemonise 
--scan --syslog

Thanks for your help.

Randall


  reply	other threads:[~2009-06-22 16:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-06 17:42 resync hangs Randall Smith
2009-06-09 21:20 ` Randall Smith
2009-06-09 21:55   ` NeilBrown
2009-06-10  4:07     ` Randall Smith
2009-06-22  3:18     ` Randall Smith
2009-06-22  3:46       ` NeilBrown
2009-06-22 16:53         ` Randall Smith [this message]
2009-06-26  2:15           ` 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='h1ocv7$i4h$1@ger.gmane.org' \
    --to=randall@tnr.cc \
    --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.