ZFS - List Disk Hashes

Memo1903

New Member
Jan 8, 2024
2
0
1
Hello,

I have been searching for a way to find a way to compare VM disk hashes. An older backup-restore test server is setup with XFS and I can easily compare VM disks with sha1sum . However, I could not find a way to do the same on ZFS which is our main cluster based on. I can list properties and other stuff but no disk hash.

Is there a way to get a sha1 hash of a VM disk on ZFS?

Thanks in advance.
 
I don't understand.

I can use $ sudo sha256sum /dev/zvol/<volume>

and get the hashvalue of that device.

A 100 GByte Volume will count 5:58.57 seconds on a Ryzen 5 5600.