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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!