[PVE-User] Fwd: Storage migration

Eneko Lacunza elacunza at binovo.es
Wed Oct 8 16:50:12 CEST 2014


Hi,

I have tried to live-migrate storage from local storage in another node 
in the same cluster, to the same NFS export, and it doesn't work either:

create full clone of drive virtio0 (local:103/vm-103-disk-1.raw)
trying to aquire cfs lock 'storage-nfs1' ... OK
Formatting '/mnt/pve/nfs1/images/103/vm-103-disk-1.raw', fmt=raw 
size=53687091200
transferred: 0 bytes remaining: 53687091200 bytes total: 53687091200 
bytes progression: 0.00 %
transferred: 41943040 bytes remaining: 53645148160 bytes total: 
53687091200 bytes progression: 0.08 %
transferred: 83886080 bytes remaining: 53603205120 bytes total: 
53687091200 bytes progression: 0.16 %
transferred: 136314880 bytes remaining: 53550776320 bytes total: 
53687091200 bytes progression: 0.25 %
transferred: 188743680 bytes remaining: 53498347520 bytes total: 
53687091200 bytes progression: 0.35 %
[...]
transferred: 53606481920 bytes remaining: 80609280 bytes total: 
53687091200 bytes progression: 99.85 %
transferred: 53648424960 bytes remaining: 38666240 bytes total: 
53687091200 bytes progression: 99.93 %
transferred: 53680340992 bytes remaining: 6750208 bytes total: 
53687091200 bytes progression: 99.99 %
transferred: 53687091200 bytes remaining: 0 bytes total: 53687091200 
bytes progression: 100.00 %
TASK ERROR: storage migration failed: mirroring error: VM 103 qmp 
command 'block-job-complete' failed - The active block job for device 
'drive-virtio0' cannot be completed
---

VM has latest virtio drivers for Windows (81)

-------- Forwarded Message --------
Subject: 	Storage migration
Date: 	Wed, 08 Oct 2014 14:17:42 +0200
From: 	Eneko Lacunza <elacunza at binovo.es>
To: 	pve-user at pve.proxmox.com



Hi all,

I've found some problems with storage migration with the recent 3.3
versión, vanilla as it is in ISO and also after updating from
pve-non-subscription.

I have a WS2012R2 with virtio block device in local storage. Local
storage (var/lib/vz) and NFS storage (srv/nfs) are on the same machine.
- Moving disk to a NFS shared storage with VM off works OK.
- Moving disk to a NFS shared storage with VM on doesn't work. First try
reports:
---
create full clone of drive virtio0 (local:100/vm-100-disk-1.raw)
Formatting '/mnt/pve/nfs1/images/100/vm-100-disk-2.raw', fmt=raw size=0
transferred: 0 bytes remaining: 53687091200 bytes total: 53687091200
bytes progression: 0.00 %
TASK ERROR: storage migration failed: mirroring error: mirroring job
seem to have die. Maybe do you have bad sectors? at
/usr/share/perl5/PVE/QemuServer.pm line 5170.
---
After re-trying:
---
create full clone of drive virtio0 (local:100/vm-100-disk-1.raw)
Formatting '/mnt/pve/nfs1/images/100/vm-100-disk-2.raw', fmt=raw
size=53687091200
transferred: 0 bytes remaining: 53687091200 bytes total: 53687091200
bytes progression: 0.00 %
transferred: 104857600 bytes remaining: 53582233600 bytes total:
53687091200 bytes progression: 0.20 %
transferred: 125829120 bytes remaining: 53561262080 bytes total:
53687091200 bytes progression: 0.23 %
transferred: 125829120 bytes remaining: 53561262080 bytes total:
53687091200 bytes progression: 0.23 %
transferred: 125829120 bytes remaining: 53561262080 bytes total:
53687091200 bytes progression: 0.23 %
transferred: 125829120 bytes remaining: 53561262080 bytes total:
53687091200 bytes progression: 0.23 %
transferred: 125829120 bytes remaining: 53561262080 bytes total:
53687091200 bytes progression: 0.23 %
transferred: 125829120 bytes remaining: 53561262080 bytes total:
53687091200 bytes progression: 0.23 %
transferred: 125829120 bytes remaining: 53561262080 bytes total:
53687091200 bytes progression: 0.23 %
transferred: 125829120 bytes remaining: 53561262080 bytes total:
53687091200 bytes progression: 0.23 %
transferred: 125829120 bytes remaining: 53561262080 bytes total:
53687091200 bytes progression: 0.23 %
transferred: 125829120 bytes remaining: 53561262080 bytes total:
53687091200 bytes progression: 0.23 %
[...]
---
Usually the % is different, but very low (<1%)

There are no hard disk errors in dmesg/syslog.

I have also found apparently slightly different issues migrating from
NFS to RBD, and from RBD to NFS.

Cheers
Eneko

-- 
Zuzendari Teknikoa / Director Técnico
Binovo IT Human Project, S.L.
Telf. 943575997
       943493611
Astigarraga bidea 2, planta 6 dcha., ofi. 3-2; 20180 Oiartzun (Gipuzkoa)
www.binovo.es



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20141008/bf0ee3c3/attachment.htm>


More information about the pve-user mailing list