Move disk error...

christophe

Renowned Member
Mar 31, 2011
191
5
83
Hi,

root@node1:~# pveversion -v
proxmox-ve-2.6.32: 3.1-109 (running kernel: 2.6.32-20-pve)
pve-manager: 3.1-3 (running version: 3.1-3/dc0e9b0e)
pve-kernel-2.6.32-20-pve: 2.6.32-100
pve-kernel-2.6.32-19-pve: 2.6.32-96
pve-kernel-2.6.32-22-pve: 2.6.32-107
pve-kernel-2.6.32-18-pve: 2.6.32-88
pve-kernel-2.6.32-23-pve: 2.6.32-109
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-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.0-1
pve-cluster: 3.0-7
qemu-server: 3.1-1
pve-firmware: 1.0-23
libpve-common-perl: 3.0-6
libpve-access-control: 3.0-6
libpve-storage-perl: 3.0-10
pve-libspice-server1: 0.12.4-1
vncterm: 1.1-4
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-17
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.0-2

root@node1:~# pvesm status
Backup-VM nfs 1 7672806912 3884612096 3788092416 51.13%
Backup-distant dir 1 976758780 976758776 4 100.50%
Images-ISO nfs 1 528444928 164738176 363604352 31.68%
disques-VM-1 iscsi 1 0 0 0 100.00%
disques-VM-2 iscsi 1 0 0 0 100.00%
disques-VM-3 iscsi 1 0 0 0 100.00%
disques-VM-DFS-1 iscsi 1 0 0 0 100.00%
local dir 1 249296796 44275004 205021792 18.26%
lvm-disques-VM-1 lvm 1 536866816 0 440381440 0.50%
lvm-disques-VM-2 lvm 1 536866816 0 426762240 0.50%
lvm-disques-VM-3 lvm 1 536866816 0 183496704 0.50%
lvm-disques-VM-DFS-1 lvm 1 1073737728 0 6283264 0.50%

I try to move a disk (165GB) from an iSCSI storage to a local one, with 200GB free space, to be able to snapshot this VM.

I get this error :

create full clone of drive ide1 (lvm-disques-VM-3:vm-909-disk-2)
Formatting '/var/lib/vz/images/909/vm-909-disk-2.raw', fmt=raw size=177167400960
transferred: 0 bytes remaining: 177167400960 bytes total: 177167400960 bytes progression: 0.00 %
...
transferred: 177164517376 bytes remaining: 2883584 bytes total: 177167400960 bytes progression: 100.00 %
transferred: 177167400960 bytes remaining: 0 bytes total: 177167400960 bytes progression: 100.00 %
TASK ERROR: storage migration failed: mirroring error: VM 909 qmp command 'block-job-complete' failed - The active block job for device 'drive-ide1' cannot be completed

Any idea?

Thanks,

Christophe.
 
is your VM running? if yes, try it when your VM is stopped.
 
Ok, did some more tests.

This VM has 2 disks :
ide0: local:909/vm-909-disk-3.qcow2,cache=unsafe,size=42G
ide1: local:909/vm-909-disk-2.raw,format=raw,cache=unsafe,size=165G

- ide0 (system disk. A WSUS server) can move successfully, live. Probably VM stopped, did not try that.
- ide1 doesn't move on a running VM, see above post : fails at 100% (grrr!).
- ide1 moves correctly when the VM is stopped.

Storage migration is a really cool feature, but needs to be rock solid.

Christophe.
Christophe.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!