All of lore.kernel.org
 help / color / mirror / Atom feed
From: roma1390 <roma1390@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: neilb@suse.de
Subject: Re: raid6 grow "hangs" on 2.6.27 with mounted FS
Date: Mon, 23 Mar 2009 11:07:09 +0200	[thread overview]
Message-ID: <49C7513D.4080106@gmail.com> (raw)
In-Reply-To: <49C74B4D.2060003@gmail.com>

roma1390 wrote:
> Neil Brown wrote:
>  > This will only happen on very small arrays that take less than a
>  > couple of seconds for the reshape to complete.  I have a patch for
>  > mdadm which makes it more robust in this situation.  It will be in
>  > future releases.
>  >
>  > Does this explain what is happening to you?
> 
> Yes, thanks. May be if I retest this situation with same kernel and 
> limited recovery bandwith, then may be i can't hit same problem again?

Yes limiting speed also is posible workaround for this problem:

   ...
   echo 512 > /sys/block/md2/md/sync_speed_min
   echo 512 > /sys/block/md2/md/sync_speed_max
   mkfs.ext2 /dev/md2
   mount /dev/md2 -t ext2 /mnt
   mdadm --add /dev/md2  /dev/loop5
   mdadm --grow /dev/md2 --raid-devices=5
   ...

Bigger values (like 10000) doesn't help.

Thanks.


      reply	other threads:[~2009-03-23  9:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-21 20:29 raid6 grow "hangs" on 2.6.27 with mounted FS roma1390
2009-03-22  9:20 ` martin f krafft
2009-03-22 10:41   ` roma1390
2009-03-23  4:09     ` roma1390
2009-03-23  5:02 ` Neil Brown
2009-03-23  8:41   ` roma1390
2009-03-23  9:07     ` roma1390 [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=49C7513D.4080106@gmail.com \
    --to=roma1390@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@suse.de \
    /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.