Decrease the time for rebuilding the RAID 1 array
To reduce RAID 1 rebuild time, use the command below: #mdadm -C /dev/md0 -l1 -n2 /dev/sda1 /dev/sda2 —bitmap=internal —bitmap (Write-intent bitmap) reduces synchronization time. If a disk temporarily goes offline or the kernel crashes, only changed blocks are synchronized. Blocks that have not been synchronized are copied instead. —bitmap=internal means the metadata is stored on the RAID itself.