[EMAIL PROTECTED] wrote:
>>> Does some script-usable ZFS API (if any) provide for fetching
>> block/file hashes (checksums) stored in the filesystem itself? In
>> fact, am I wrong to expect file-checksums to be readily available?
>> Yes.  Files are not checksummed, blocks are checksummed.
>>  -- richard
> 
> Further,  even if they were file level checksums, the default checksums in
> zfs are too collision prone to be used for that purpose.  If I were to
> write such a script I would md5+sha and then bit level compare collisions
> to be safe.

zfs set checksum=sha256

Remembering that doesn't change existing data.

-- 
Darren J Moffat
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to