Had a strange error before trying to copy a zfs backed virtual machine to another remote host also running ZFS.
Seemed to error on trying to create a directory with mkdir.
I got past the error by manually creating the remote directory using mkdir -p
root@p20:/etc/systemd/system# lxc copy mptcp-server lm1:mptcp-server --stateless Error: Failed instance creation: Error transferring instance data: Failed to create mount directory "/var/snap/lxd/common/lxd/storage-pools/zfs1/virtual-machines/mptcp-server": mkdir /var/snap/lxd/common/lxd/storage-pools/zfs1/virtual-machines/mptcp-server: no such file or directory
Just thought I’d put it out there just in case its a bug?