HA Migration

fastboar154

New Member
Apr 9, 2025
22
1
3
Hello Guys
i've problem to complete HA migration between 3 hosts

i'd some issue before with iscsi but now eveything is solve but i'm still getting issue while trying to migrate any VM's
most of thos deleted and reacreated with same id but deletion were done with deleting all related things... this is the error:

1748104074288.png

task started by HA resource agent
2025-05-24 18:10:12 starting migration of VM 103 to node '' (192.168.x.x)
2025-05-24 18:10:12 found local disk 'iscsi_data:vm-103-disk-0' (attached)
2025-05-24 18:10:12 found local disk 'iscsi_data:vm-103-disk-1' (attached)
2025-05-24 18:10:12 found generated disk 'iscsi_data:vm-103-disk-2' (in current VM config)
2025-05-24 18:10:12 copying local disk images
2025-05-24 18:10:13 volume vg_data/vm-103-disk-2 already exists - importing with a different name
2025-05-24 18:10:13 WARNING: Thin pool vg_data/thinpool has unexpected transaction id 26, expecting 31.
2025-05-24 18:10:13 Thin pool vg_data-thinpool-tpool (252:8) transaction_id is 26, while expected 31.
2025-05-24 18:10:13 Failed to suspend vg_data/thinpool with queued messages.
2025-05-24 18:10:14 lvremove 'vg_data/vm-103-disk-2' error: Failed to update pool vg_data/thinpool.
2025-05-24 18:10:14 lvcreate 'vg_data/vm-103-disk-3' error: Cannot create new thin volume, free space in thin pool vg_data/thinpool reached threshold.
2025-05-24 18:10:14 command 'dd 'if=/dev/vg_data/vm-103-disk-2' 'bs=64k' 'status=progress'' failed: got signal 13
2025-05-24 18:10:14 ERROR: storage migration for 'iscsi_data:vm-103-disk-2' to storage 'iscsi_data' failed - command 'set -o pipefail && pvesm export iscsi_data:vm-103-disk-2 raw+size - -with-snapshots 0 | /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=fataihost02' -o 'UserKnownHostsFile=/etc/pve/nodes/fataihost02/ssh_known_hosts' -o 'GlobalKnownHostsFile=none' root@192.168.x.x -- pvesm import iscsi_data:vm-103-disk-2 raw+size - -with-snapshots 0 -allow-rename 1' failed: exit code 5
2025-05-24 18:10:14 aborting phase 1 - cleanup resources
2025-05-24 18:10:14 ERROR: migration aborted (duration 00:00:03): storage migration for 'iscsi_data:vm-103-disk-2' to storage 'iscsi_data' failed - command 'set -o pipefail && pvesm export iscsi_data:vm-103-disk-2 raw+size - -with-snapshots 0 | /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=fataihost02' -o 'UserKnownHostsFile=/etc/pve/nodes/fataihost02/ssh_known_hosts' -o 'GlobalKnownHostsFile=none' root@192.168.x.x -- pvesm import iscsi_data:vm-103-disk-2 raw+size - -with-snapshots 0 -allow-rename 1' failed: exit code 5
TASK ERROR: migration aborted
 
I think so
1748104559778.png

lvmthin: iscsi_data
thinpool thinpool
vgname vg_data
content images,rootdir

present on all 3 hosts

any output to show?

looking on web someone suggest:

# Deactivate the thin pool
lvchange -an vg_data/thinpool

# Repair the metadata
lvconvert --repair vg_data/thinpool

# Reactivate
lvchange -ay vg_data/thinpool


what you think
 
Last edited:
I understood this but is thin-lvm may o did wrong something is there a way to check?

1748115595634.png
 
Last edited: