2 # create a raid1 with bitmap, remove the bitmap and verify it is still
3 # gone when re-assembling the array
5 mdadm --create --run $md0 --metadata=1.1 --level=1 -n2 --bitmap internal --bitmap-chunk=4 --delay=1 $dev1 $dev2
8 testdev $md0 1 $mdsize1b 64
11 testdev $md0 1 $mdsize1b 64
14 # Re-assemble the array and verify the bitmap is still present
15 mdadm --assemble $md0 $dev1 $dev2
17 testdev $md0 1 $mdsize1b 64