2019-05-07 19:30, Chris Murphy:
<snip>

Optimally
the fs would keep the check-sums and compare only them?

No such tool exists. Btrfs doesn't checksum files, it checksums file
extents in 4KiB increments. And I don't even think there's an ioctl to
extract only checksums, in order to do a comparison in user space. The
checksums are, as far as I'm aware, only used internally within Btrfs
kernel space.

Just in case it is interesting for you: such a tool seems to exist and is not new, have a look at https://stackoverflow.com/questions/32761299/btrfs-ioctl-get-file-checksums-from-userspace. IMHO a rsync (or btrfs-send|receive), capable of utilizing the checksums, could be a great tool. Therefore, I believe that it would be better if this project merges into the main btrfs code.


=== Recapitulation ===

Since it seems that there is no more need of experiments with the damaged RAID-fs, I am going to reformat it at about 19 o'clock UCT today.

Many thanks to the developer team for the support and even more for the creation of this smart file system!

From my point of view this thread can be closed.

Best regards

Nik.
--

Reply via email to