Bill Sommerfeld <[EMAIL PROTECTED]> wrote on 01/08/2007 03:41:53 PM: > > Note that you'd actually have to verify that the blocks were the same; > > you cannot count on the hash function. If you didn't do this, anyone > > discovering a collision could destroy the colliding blocks/files. > > Given that nobody knows how to find sha256 collisions, you'd of course > need to test this code with a weaker hash algorithm. > > (It would almost be worth it to have the code panic in the event that a > real sha256 collision was found) > > - Bill That reminds me, I had a few more questions about this. 1, If a fs was started with a fletcher hash, and switched later to sha256, is there a way to resilver the hashes to sha256 that existed before the set? 2, Also is there any way to get zdb to dump a list of blocks and their associated hashes (zdb seems to be lightly documented and the source files for it require a little more familiarity with zfs internals than I have groked yet). _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss