I have one pve cluster, nodes : pve, pve-2, pve-3.
pve storage: local(dir), local-lvm(LVM-Thin), local-lvm2(LVM)
pve-2 storage: local(dir), local-lvm(LVM-Thin), local-zfs(zfs)
PS: migrate VM from pve to pve-2 and change the 'Target storage' to 'local-lvm' will success!
I migrate a VM from pve to pve-2, and change the 'Target storage' to 'local-zfs', then failure.
Error as follow:
storage.cfg
VM config is 101.conf
pve storage: local(dir), local-lvm(LVM-Thin), local-lvm2(LVM)
pve-2 storage: local(dir), local-lvm(LVM-Thin), local-zfs(zfs)
PS: migrate VM from pve to pve-2 and change the 'Target storage' to 'local-lvm' will success!
I migrate a VM from pve to pve-2, and change the 'Target storage' to 'local-zfs', then failure.
Error as follow:
Code:
Header
Proxmox
Virtual Environment 7.2-4
Search
Virtual Machine 101 (cloud-init-1-pve-1) on node 'pve'
Server View
Logs
()
2022-06-01 14:13:52 use dedicated network address for sending migration traffic (10.0.0.12)
2022-06-01 14:13:52 starting migration of VM 101 to node 'pve-2' (10.0.0.12)
2022-06-01 14:13:52 found generated disk 'local-lvm:vm-101-cloudinit' (in current VM config)
2022-06-01 14:13:52 found local disk 'local-lvm:vm-101-disk-0' (in current VM config)
2022-06-01 14:13:52 found local disk 'local-lvm:vm-101-disk-1' (in current VM config)
2022-06-01 14:13:52 copying local disk images
2022-06-01 14:13:52 ERROR: storage migration for 'local-lvm:vm-101-cloudinit' to storage 'local-zfs' failed - cannot migrate from storage type 'lvmthin' to 'zfspool'
2022-06-01 14:13:52 aborting phase 1 - cleanup resources
2022-06-01 14:13:52 ERROR: migration aborted (duration 00:00:01): storage migration for 'local-lvm:vm-101-cloudinit' to storage 'local-zfs' failed - cannot migrate from storage type 'lvmthin' to 'zfspool'
TASK ERROR: migration aborted
storage.cfg
Code:
dir: local
path /var/lib/vz
content iso,vztmpl,backup
lvmthin: local-lvm
thinpool data
vgname pve
content rootdir,images
lvm: local-lvm2
vgname local-lvm2
content rootdir,images
nodes pve
shared 0
lvmthin: pve-3-sdb
thinpool pve-3-sdb
vgname pve-3-sdb
content images,rootdir
nodes pve-3
zfspool: local-zfs
pool local-zfs
content images,rootdir
mountpoint /local-zfs
nodes pve-2
VM config is 101.conf
Code:
agent: 1
boot: order=scsi0;ide0;net0
cipassword: ***
cores: 1
cpu: host
hotplug: disk,network,usb
ide0: local-lvm:vm-101-cloudinit,media=cdrom,size=4M
ipconfig0: ip=dhcp,ip6=dhcp
memory: 1024
name: cloud-init-1-pve-1
net0: virtio=66:****:4F,bridge=vmbr0,firewall=1
numa: 1
ostype: l26
protection: 1
scsi0: local-lvm:vm-101-disk-0,size=8396M,ssd=1
scsi1: local-lvm:vm-101-disk-1,size=1G
scsihw: virtio-scsi-pci
smbios1: uuid=90e27a02-***dae9
sockets: 1
sshkeys: ssh-rsa***
vmgenid: 90f73837-***8866