Re: Re: Re: Re[2]: Bugreport mdadm-2.0-devel-1

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

 



Hi Neil!
Thanks much for the patch, the array can now be started again.
However, I observe some strange behaviour with raid1 intelligent
resync. I'm not sure if your new patch (md/raid1: clear bitmap when
fullsync completes)
http://marc.theaimsgroup.com/?l=linux-raid&m=112140143401678&w=2
addresses this strangeness, cause I still didn't apply it.

When we create a raid1 array with bitmap it starts a full resync.
Let's wait a couple of minutes, so the resync will proceed to, say,
50%. Then stop the array and assemble it again with the same bitmap.
We expect it should resync only the remaining part, but it does a full
resync again instead.
Please see a log below.

What do you think?

Thanks,

Maxim Kozover.

# mdadm -C /dev/md0 --bitmap /bitmap -e 1 -l 1 -n 2 /dev/sdb /dev/sdc
mdadm: array /dev/md0 started.
# more /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdc[1] sdb[0]
      16777208 blocks [2/2] [UU]
      [===========>.........]  resync = 55.6% (9339328/16777208) finish=4.2min speed=29091K/sec
      bitmap: 2048/2048 pages [8192KB], 4KB chunk, file: /bitmap
      
unused devices: <none>
# mdadm -S /dev/md0
# mdadm -A /dev/md0 --bitmap /bitmap /dev/sdb /dev/sdc
mdadm: /dev/md0 has been started with 2 drives.
# more /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdb[0] sdc[1]
      16777208 blocks [2/2] [UU]
      [>....................]  resync =  0.3% (53248/16777208) finish=5.2min spe
ed=53248K/sec
      bitmap: 2048/2048 pages [8192KB], 4KB chunk, file: /bitmap

unused devices: <none>


MK> Thanks much, Neil, will try.
MK> Thanks,
MK> Maxim.



-
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