On 4/8/19 4:10 PM, Johannes Thumshirn wrote: > On Mon, Apr 08, 2019 at 11:27:51AM +0000, Leonid Bloch wrote: >> Hi List, >> >> Can you suggest a way of cryptographically verifying the content of a >> btrfs subvolume, besides the naïve approach, of running a cryptographic >> hash function on the output of btrfs send? >> >> Back in 2014, an RFC patch was sent to allow using sha256 instead of >> crc32c for checksumming. >> (https://patchwork.kernel.org/patch/5363311) >> It was not merged. Had it been merged, one could just check the return >> value of btrfs scrub, instead of checksumming the whole btrfs send >> output, correct? > > Hi Leonid, > > I'm working on this feature currently but unfortunately get distracted with > other things all too often. > > Thanks for your patience. > > Byte, > Johannes Hi Johannes, Thanks for letting know! Btrfs inspect-internal csum-dump indeed sounds awesome! Recursively, on a subvolume that would be perfect. Let me know if help is needed. Thanks, Leonid. ___
