Bug#515075: SOLVED: Bug#515075: mdadm: Real array size does not correspond to created FS size

Artur Čuvašov artur at sugardas.lt
Sat Feb 14 10:22:11 UTC 2009


On Friday 13 February 2009 23:16:15 you wrote:
> On Fri, February 13, 2009 10:44 pm, martin f krafft wrote:
> > also sprach Arthur Chuvashov <artur at sugardas.lt> [2009.02.13.1002 +0100]:
> 
> > [...]
> >>      Array Size : 3907039232 (3726.04 GiB 4000.81 GB)
> > [...]
> >
> >> But /proc/mdstats contains invalid couln of blocks
> >>
> >> cat /proc/mdstat
> >> Personalities : [raid6] [raid5] [raid4]
> >> md0 : active (auto-read-only) raid6 sdf1[5] sde1[4] sdd1[3] sdc1[2]
> >> sdb1[1] sda1[0]
> >>       1759555584 blocks level 6, 1024k chunk, algorithm 2 [6/6] [UUUUUU]
> 
> 3907039232-1759555584 == 2147483648 == 2^31
> 
> It looks very much like you are using a 32-bit architecture and your
> kernel is compiled without CONFIG_LBD being set.
> 
> Can you please report what your host architecture is, and confirm that
> CONFIG_LBD=y is set in your kernel .config file.
> 
> NeilBrown
> 
> 

You are right, the above mentioned working raid6 was built on x86_64 architecture. CONFIG_LBD seems to have solved this issue, thank you!

cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : active raid6 sdf1[5] sde1[4] sdd1[3] sdc1[2] sdb1[1] sda1[0]
      3907039232 blocks level 6, 1024k chunk, algorithm 2 [6/6] [UUUUUU]
      [=====>...............]  resync = 26.8% (262123072/976759808) finish=146.2min speed=81434K/sec
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20090214/e0c70479/attachment.htm 


More information about the pkg-mdadm-devel mailing list