Hi Neil,

I have set --bitmap-chunk=1024 and RAID5 gets created successfully.

But why I will have to set --bitmap-chunk for big size devices such as 500GB
each in my case?

What is the default value of --bitmap-chunk?

Thanks,
Yogesh

-----Original Message-----
From: Neil Brown [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 12:37 PM
To: Yogesh Pahilwan
Cc: [email protected]
Subject: Re: Problem in creating RAID5 MD array with kernel 2.6.15

On Tuesday April 11, [EMAIL PROTECTED] wrote:
> Hi Folks,
> 
> I am trying to create RAID5 array using mdadm on kernel 2.6.15 as
> 
> # mdadm -Cv /dev/md0 --assume-clean --force --bitmap=/tmp/bitmap.txt -l5
-n4
> /dev/sd{a,b,c,d}
> 
> But when I execute this command getting the following error:
> 
> mdadm: RUN_ARRAY failed: Cannot allocate memory

How big are your devices?

Try setting a larger bitmap chunk size
    --bitmap-chunk=1024
maybe.

NeilBrown

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to