HI, I have cluster with three nodes - pve19lvm)-pve2(lvm)-pve3(zfs). pve 3 installed on ZFS RAID10, I add rpool as zfs-data storage in Datacenter menu. Pve1 is a main cluster node. Both pve 1 and pve2 configured with LVM. When I try to migrate to pve3(zfs) from pve2(lvm), I see error
storage.cfg
Code:
2024-03-06 11:58:02 starting migration of VM 103 to node 'pve3' (172.16.17.130)
2024-03-06 11:58:03 found generated disk 'local-lvm:vm-103-disk-0' (in current VM config)
2024-03-06 11:58:03 found local disk 'local-lvm:vm-103-disk-1' (attached)
2024-03-06 11:58:03 found local disk 'local-lvm:vm-103-disk-2' (attached)
2024-03-06 11:58:03 copying local disk images
2024-03-06 11:58:03 ERROR: storage migration for 'local-lvm:vm-103-disk-0' to storage 'zfs-data' failed - cannot migrate from storage type 'lvmthin' to 'zfspool'
2024-03-06 11:58:03 aborting phase 1 - cleanup resources
2024-03-06 11:58:03 ERROR: migration aborted (duration 00:00:01): storage migration for 'local-lvm:vm-103-disk-0' to storage 'zfs-data' failed - cannot migrate from storage type 'lvmthin' to 'zfspool'
TASK ERROR: migration aborted
storage.cfg
Code:
root@pve3:~# cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content iso,vztmpl,backup
shared 1
lvmthin: local-lvm
thinpool data
vgname pve
content rootdir,images
nfs: NFS_STORAGE
export /volume1/pve_data
path /mnt/pve/NFS_STORAGE
server 172.16.17.67
content vztmpl,images,snippets,iso,rootdir,backup
prune-backups keep-all=1
lvm: hdd500gb
vgname hdd500gb
content rootdir,images
nodes pve1
shared 1
lvm: pve2-lvm-pool
vgname pve2-lvm-pool
content rootdir,images
nodes pve2
shared 1
zfspool: zfs-data
pool rpool/data
content rootdir,images
nodes pve3
sparse 1