On Thursday November 17, [EMAIL PROTECTED] wrote:
> Hello,
> 
> Now i trying the patch....
> 
> [EMAIL PROTECTED] root]# mdadm -G --bitmap=/raid.bm /dev/md0
> mdadm: Warning - bitmaps created on this kernel are not portable
>   between different architectured.  Consider upgrading the Linux kernel.
> mdadm: Cannot set bitmap file for /dev/md0: Cannot allocate memory

How big is your array?
The default bitmap-chunk-size when the bitmap is in a file is 4K, this
makes a very large bitmap on a large array.
Try a larger bitmap-chunk size e.g.

   mdadm -G --bitmap-chunk=256 --bitmap=/raid.bm /dev/md0

> [EMAIL PROTECTED] root]# free
>              total       used       free     shared    buffers     cached
> Mem:       2073152      75036    1998116          0          4      29304
> -/+ buffers/cache:      45728    2027424
> Swap:            0          0          0
> [EMAIL PROTECTED] root]# mdadm -X /dev/md0

This usage is only appropriate for arrays with internal bitmaps (I
should get mdadm to check that..).
> 
> And now what? :-)

Either create an 'internal' bitmap, or choose a --bitmap-chunk size
that is larger.

Thanks for the report.

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