On 2020-09-26 23:31, Daniel Pocock wrote:

1) check for differences between source file sectors on each source drive

[...]

I could imagine using kpartx to script a solution to (1) above, skipping
over the md headers.  Some kind of shim may be needed to fool the kernel
to see a different UUID for each source volume so they can be mounted
simultaneously without md.
The kernel can do it, on a fully operational array.

cat /sys/block/md0/md/sync_action
echo check > /sys/block/md0/md/sync_action
cat /sys/block/md0/md/sync_action

then

cat /proc/mdstat
cat /sys/block/md0/md/mismatch_cnt

Regards.

--
   Roberto Ragusa    mail at robertoragusa.it
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to