[PVE-User] Storage migration

Eneko Lacunza elacunza at binovo.es
Wed Oct 8 14:17:42 CEST 2014


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




More information about the pve-user mailing list