Error Message: encrypted dataset may not be sent with properties without the raw flag

uiffiu

Active Member
Jun 26, 2020
21
5
43
37
Hello,

I tried to migrate a VM, on both PVE the ZFS pools are encrypted with the same keyfile.
Is there something I should do different or are encrypted pools not supported?

Thanks!

Code:
2025-07-17 19:50:20 remote: started tunnel worker 'UPID:pve2::qmtunnel:128:root@pam!pdm-admin:'
tunnel: -> sending command "version" to remote
tunnel: <- got reply
2025-07-17 19:50:21 local WS tunnel version: 2
2025-07-17 19:50:21 remote WS tunnel version: 2
2025-07-17 19:50:21 minimum required WS tunnel version: 2
websocket tunnel started
2025-07-17 19:50:21 starting migration of VM 128 to node 'pve2'
tunnel: -> sending command "bwlimit" to remote
tunnel: <- got reply
tunnel: -> sending command "bwlimit" to remote
tunnel: <- got reply
2025-07-17 19:50:21 found local disk 'tank:vm-128-disk-0' (attached)
2025-07-17 19:50:21 found local disk 'tank:vm-128-disk-1' (attached)
2025-07-17 19:50:21 copying local disk images
tunnel: -> sending command "disk-import" to remote
tunnel: <- got reply
tunnel: accepted new connection on '/run/pve/128.storage'
tunnel: requesting WS ticket via tunnel
tunnel: established new WS for forwarding '/run/pve/128.storage'
cannot send tank/vm-128-disk-0@__migration__: encrypted dataset tank/vm-128-disk-0 may not be sent with properties without the raw flag
warning: cannot send 'tank/vm-128-disk-0@__migration__': backup failed
command 'zfs send -Rpv -- tank/vm-128-disk-0@__migration__' failed: exit code 1
command 'set -o pipefail && pvesm export tank:vm-128-disk-0 zfs - -with-snapshots 1 -snapshot __migration__' failed: exit code 1

tunnel: -> sending command "query-disk-import" to remote
tunnel: done handling forwarded connection from '/run/pve/128.storage'
tunnel: <- got reply
2025-07-17 19:50:21 disk-import: cannot receive: failed to read from stream
tunnel: -> sending command "query-disk-import" to remote
tunnel: <- got reply
2025-07-17 19:50:22 disk-import: cannot open 'sn850x/vm-128-disk-0': dataset does not exist
tunnel: -> sending command "query-disk-import" to remote
tunnel: <- got reply
2025-07-17 19:50:23 disk-import: command 'zfs recv -F -- sn850x/vm-128-disk-0' failed: exit code 1
tunnel: -> sending command "query-disk-import" to remote
tunnel: <- got reply
2025-07-17 19:50:24 ERROR: unknown query-disk-import result: error
2025-07-17 19:50:25 ERROR: command 'set -o pipefail && pvesm export tank:vm-128-disk-0 zfs - -with-snapshots 1 -snapshot __migration__' failed: exit code 1
2025-07-17 19:50:25 aborting phase 1 - cleanup resources
tunnel: -> sending command "quit" to remote
tunnel: <- got reply
2025-07-17 19:50:26 ERROR: migration aborted (duration 00:00:06): command 'set -o pipefail && pvesm export tank:vm-128-disk-0 zfs - -with-snapshots 1 -snapshot __migration__' failed: exit code 1
TASK ERROR: migration aborted