Re: RAID resync stalled at 99.7% ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday September 2, csmith@xxxxxxxxxxxxxxxx wrote:
> In doing some benchmarking, I've found a curious problem - after
> creating an array the resync has stalled at 99.7%:
> 
> [root@justinstalled ~]# cat /proc/mdstat
> Personalities : [raid6]
> md0 : active raid6 sdm1[11] sdl1[10] sdk1[9] sdj1[8] sdi1[7] sdh1[6]
> sdg1[5] sdf1[4] sde1[3] sdd1[2] sdc1[1] sdb1[0]
>       4963200 blocks level 6, 32k chunk, algorithm 2 [12/12]
> [UUUUUUUUUUUU]
>       [===================>.]  resync = 99.7% (496320/496349)
> finish=0.0min speed=628K/sec
> unused devices: <none>

$ bc -l 
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'. 
496349/32
15510.90625000000000000000
15510*32
496320


Get the picture?

I suspect you are using mdadm-2.0 - yes?  This is a bug triggered by
they way mdadm 2.0 creates arrays (differently to 1.x).  It is fixed
in 2.6.13.

> The command used to create the aray was:
> 
> mdadm -C /dev/md0 -l6 -n12 -c 32 -z 496349 /dev/sd[b-m]1
> 

If you replace 496349 with 496320, it should work fine.

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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux