Re: [zfs-discuss] zfs cksum calculation

2009-09-11 Thread P. Anil Kumar
Hi, Thanks for the prompt response. I tried using digest with sha256 to calculate the uberblock checksum. Now, digest gives me a 65 char's ouput, while zdb -uuu pool-name, gives me only 49 char output. how can this be accounted? I'm trying to understand how the checksum is calculated and dis

Re: [zfs-discuss] zfs cksum calculation

2009-09-10 Thread Darren J Moffat
P. Anil Kumar wrote: Hi, I've compiled /export/testws/usr/src/lib/crypt_modules/sha256/test.c and tried to use it to calculate the checksum of the uberblock. This I did as the sha256 executable that comes with solaris is not giving me the correct values for uberblock.(the output is 64chars w

[zfs-discuss] zfs cksum calculation

2009-09-10 Thread P. Anil Kumar
Hi, I've compiled /export/testws/usr/src/lib/crypt_modules/sha256/test.c and tried to use it to calculate the checksum of the uberblock. This I did as the sha256 executable that comes with solaris is not giving me the correct values for uberblock.(the output is 64chars whereas zfs output is on