VM migration succeed but disk image hasn't been copied

ppo

Renowned Member
Aug 6, 2012
49
0
71
VM is stopped. I select migrate to other node and migration has finished in second, however disk image is huge:
Code:
Jun 26 11:43:19 starting migration of VM 117 to node 'pve2' (192.168.5.229)
Jun 26 11:43:19 copying disk images
Jun 26 11:43:20 migration finished successfuly (duration 00:00:01)
TASK OK
Then attempt to start VM at destination node:
Code:
TASK ERROR: volume 'local:117/vm-117-disk-1.qcow2' does not exist
VM 117 is left at source node and hasn't been copied to destination node. Why?
Code:
root@pve1:/var/lib/vz/images# ls -lah 117
total 2.1G
drwxr-xr-x  2 root root 4.0K Jun 22 14:59 .
drwxr-xr-x 24 root root 4.0K Jun 23 10:04 ..
-rw-r--r--  1 root root 2.1G Jun 22 15:00 vm-117-disk-1.qcow2

root@pve1:/var/lib/vz/images# pveversion -v
proxmox-ve-2.6.32: 3.4-156 (running kernel: 2.6.32-39-pve)
pve-manager: 3.4-6 (running version: 3.4-6/102d4547)
pve-kernel-2.6.32-39-pve: 2.6.32-156
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.7-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.10-2
pve-cluster: 3.0-17
qemu-server: 3.4-6
pve-firmware: 1.1-4
libpve-common-perl: 3.0-24
libpve-access-control: 3.0-16
libpve-storage-perl: 3.0-33
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-8
vzctl: 4.0-1pve6
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 2.2-10
ksm-control-daemon: 1.1-1
glusterfs-client: 3.5.2-1

root@pve1:/var/lib/vz/images# pvecm status
Version: 6.2.0
Config Version: 3
Cluster Name: pve-cluster
Cluster Id: 23476
Cluster Member: Yes
Cluster Generation: 32
Membership state: Cluster-Member
Nodes: 3
Expected votes: 3
Total votes: 3
Node votes: 1
Quorum: 2  
Active subsystems: 5
Flags: 
Ports Bound: 0  
Node name: pve1
Node ID: 1
Multicast addresses: 239.192.91.16 
Node addresses: 192.168.5.227

root@pve1:/var/lib/vz/images# pvecm nodes
Node  Sts   Inc   Joined               Name
   1   M     16   2015-06-23 19:08:27  pve1
   2   M     28   2015-06-23 16:09:03  pve2
   3   M     32   2015-06-24 16:13:41  pve3
 
For Local storage there was Shared setting when I did a migration and I've removed this, so it doesn't present in output now.
Code:
root@pve1:/var/lib/vz/images# cat /etc/pve/storage.cfg
dir: local
        path /var/lib/vz
        content images,iso,vztmpl,backup,rootdir
        maxfiles 4

nfs: remote
        path /mnt/pve/remote
        server 192.168.5.200
        export /proxmox
        options vers=3
        content images,iso,vztmpl,rootdir,backup
        maxfiles 3

dir: sdb
        path /mnt/sdb
        shared
        content images,iso,vztmpl,rootdir,backup
        maxfiles 4
        nodes pve3,pve2,pve1
 
Last edited: