Problem Migrating VM

Mar 16, 2023
10
0
1
Hello,

I am having a problem migrating a VM. I have moved all of its disks to shared storage but it still says:

Problem found while scanning volumes - storage '<local_disk>' is not available on node <new node>

Basically it looks like something is still referencing the local disk even though the VM has no drives on it.

Any suggestions?



qm config 1206

agent: 1,fstrim_cloned_disks=1
bios: ovmf
boot: order=virtio0;ide2
cores: 16
cpu: host
efidisk0: pure-cifs:1206/vm-1206-disk-0.qcow2,efitype=4m,pre-enrolled-keys=1,size=528K
ide2: none,media=cdrom
machine: pc-q35-7.0
memory: 24576
name: PTJVMRFOVSS-04-100.65.1.51
net0: virtio=5E:6A:46:AA:70:75,bridge=vmbr0
net1: e1000=CA:08:05:2C:88:98,bridge=vmbr0,firewall=1,tag=316
numa: 1
onboot: 1
ostype: win10
scsihw: virtio-scsi-single
smbios1: uuid=efcda4d5-e2b6-469e-b3e3-c1413a39fb32
sockets: 2
vga: virtio,memory=512
virtio0: pure-lvm-iscsi:vm-1206-disk-1,aio=native,discard=on,iothread=1,size=200G
virtio1: pure-lvm-iscsi:vm-1206-disk-0,backup=0,discard=on,iothread=1,size=5T
vmgenid: d79ec380-d533-465d-97b4-e3b79f12cbda
 
please post the full log, pveversion -v from both nodes, storage.cfg and "pvesm status" from both nodes.
 
Thanks

The host I am migrating from is Host16

The host I am migrating to is Host 13

Please see attachments
 

Attachments

the full migration task log is still missing ;)
 
Sorry, are you looking for this:

deprecated setting 'migration_unsecure' and new 'migration: type' set at same time! Ignore 'migration_unsecure'
2024-01-10 13:21:04 starting migration of VM 1206 to node 'proxmox-host-13' (x.x.x.x)
2024-01-10 13:21:05 ERROR: Problem found while scanning volumes - storage 'SSD_Data-16' is not available on node 'proxmox-host-13'
2024-01-10 13:21:05 aborting phase 1 - cleanup resources
2024-01-10 13:21:05 ERROR: migration aborted (duration 00:00:01): Problem found while scanning volumes - storage 'SSD_Data-16' is not available on node 'proxmox-host-13'
TASK ERROR: migration aborted


...or is there a log file you need?
 
what does "pvesm list SSD_Data-16 --vmid 1206" output on "proxmox-host-16"?
 
Apologes for the delay, I thought I had replied:

sudo pvesm list SSD_Data-16 --vmid 1206
Volid Format Type Size VMID
SSD_Data-16:vm-1206-disk-0 raw images 214748364800 1206
 
so - the migration scans all storages for disks belonging to your VM. it then wants to migrate all those disks. without --targetstorage mapping SSD_DATA-16 to some other storage, your VM is not migratable to other nodes, since that storage only works on one node.

solutions:
- pass "--targetstorage" to tell the migration which storage(s) to move the volume(s) to OR
- investigate this volume which is not in the config, and if not needed anymore, delete it ("pvesm free ...")
 
  • Like
Reactions: Nips