Copy ZFS Virtual HDD to another Proxmox Server

woat

New Member
Apr 14, 2023
10
4
3
Proxmox VE 7.3-3
I have some VM's that use a second virtual Hard Disk and this disk is sometimes passed around to other VMs, like a virtual external HDD.
Sometimes these VMs are on another Proxmox VE server, not in a cluster.

If I have this VM Disk sitting in ZFS call it vm-200-disk-1 located in pool as SRV1store/vm-200-disk-1
What are the ZFS commands I'd use to copy this (zfs block device?/dataset?) to another server?

I'm guessing I need to covert SRV1store/vm-200-disk-1 to RAW file and then import that using
qm importdisk 201 vm-200-disk-1 SRV2store

Perhaps there is a more direct way?
With a RAW file I can import it into ZFS and an LVM, so might be more flexible.