Re: mdadm regression tests, slight progress

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

 



Jes Sorensen wrote:

What I did was add a couple of 'cat /proc/mdstat' commands where the
script was failing.  At Point 1 above, I got:

++ cat /proc/mdstat
Personalities : [raid1] [raid10] [raid6] [raid5] [raid4] [multipath]
md127 : inactive md0[0](S)
       19904 blocks

md0 : active raid1 loop1[1] loop0[0]
       20000 blocks super non-persistent [2/2] [UU]
       [==>..................]  resync = 12.5% (2688/20000)
finish=0.1min speed=2688K/sec


The line with resync looked suspicious so at that point I added a
'sleep 10' command.  The test now passes.

The full log is at
http://anduin.linuxfromscratch.org/~bdubbs/files/mdadm-test1.log

Does anyone know what is going on to need this sleep in order for this
test to pass?

It sounds to like the thing hangs if you try to stop the array before
the resync completes. That could be a race in the kernel code.

Thanks. I'll try a different kernel version and report back. The above was tested with kernel version 4.2.0.

  -- Bruce


--
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