lkml.org 
[lkml]   [2006]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Kernel 2.6.17 and RAID5 Grow Problem (critical section backup)
On Friday July 7, jpiszcz@lucidpixels.com wrote:
> >>
> >> Jul 7 08:44:59 p34 kernel: [4295845.933000] raid5: reshape: not enough
> >> stripes. Needed 512
> >> Jul 7 08:44:59 p34 kernel: [4295845.962000] md: couldn't update array
> >> info. -28
> >>
> >> So the RAID5 reshape only works if you use a 128kb or smaller chunk size?
> >>
>
> Neil,
>
> Any comments?
>

Yes. This is something I need to fix in the next mdadm.
You need to tell md/raid5 to increase the size of the stripe cache
before the grow can proceed. You can do this with

echo 600 > /sys/block/md3/md/stripe_cache_size

Then the --grow should work. The next mdadm will do this for you.

NeilBrown

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-08 00:03    [W:0.158 / U:25.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site