<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;">On Friday 13 February 2009 23:16:15 you wrote:<br>
&gt; On Fri, February 13, 2009 10:44 pm, martin f krafft wrote:<br>
&gt; &gt; also sprach Arthur Chuvashov &lt;artur@sugardas.lt&gt; [2009.02.13.1002 +0100]:<br>
&gt; <br>
&gt; &gt; [...]<br>
&gt; &gt;&gt;      Array Size : 3907039232 (3726.04 GiB 4000.81 GB)<br>
&gt; &gt; [...]<br>
&gt; &gt;<br>
&gt; &gt;&gt; But /proc/mdstats contains invalid couln of blocks<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; cat /proc/mdstat<br>
&gt; &gt;&gt; Personalities : [raid6] [raid5] [raid4]<br>
&gt; &gt;&gt; md0 : active (auto-read-only) raid6 sdf1[5] sde1[4] sdd1[3] sdc1[2]<br>
&gt; &gt;&gt; sdb1[1] sda1[0]<br>
&gt; &gt;&gt;       1759555584 blocks level 6, 1024k chunk, algorithm 2 [6/6] [UUUUUU]<br>
&gt; <br>
&gt; 3907039232-1759555584 == 2147483648 == 2^31<br>
&gt; <br>
&gt; It looks very much like you are using a 32-bit architecture and your<br>
&gt; kernel is compiled without CONFIG_LBD being set.<br>
&gt; <br>
&gt; Can you please report what your host architecture is, and confirm that<br>
&gt; CONFIG_LBD=y is set in your kernel .config file.<br>
&gt; <br>
&gt; NeilBrown<br>
&gt; <br>
&gt; <br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>You are right, the above mentioned working raid6 was built on x86_64 architecture. CONFIG_LBD seems to have solved this issue, thank you!<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>cat /proc/mdstat<br>
Personalities : [raid6] [raid5] [raid4]<br>
md0 : active raid6 sdf1[5] sde1[4] sdd1[3] sdc1[2] sdb1[1] sda1[0]<br>
      <span style=" font-weight:600;">3907039232</span> blocks level 6, 1024k chunk, algorithm 2 [6/6] [UUUUUU]<br>
      [=====&gt;...............]  resync = 26.8% (262123072/976759808) finish=146.2min speed=81434K/sec</p></body></html>