Benjamin Brumaire wrote:
> I try to calculate it assuming only uberblock is relevant. 
> #dd if=/dev/dsk/c0d1s4 bs=1 iseek=247808 count=168 | digest -a sha256
> 168+0 records in
> 168+0 records out
> 710306650facf818e824db5621be394f3b3fe934107bdfc861bbc82cb9e1bbf3

Is this on SPARC or x86 ?

ZFS stores the SHA256 checksum in 4 words in big endian format, see

http://src.opensolaris.org/source/xref/zfs-crypto/gate/usr/src/uts/common/fs/zfs/sha256.c


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

Reply via email to