storage migration failed - zfs error - volume size must be a multiple of volume block size

corsinvest

Renowned Member
Hello,
I tried to move a virtual machine from vmware to proxmox.
The virtual machine on proxmox is working.

Moving hard disk from storage directory to storage zfs I notice this error:
Task viewer: VM 117 - Move disk
create full clone of drive virtio1 (ZFS_tank:117/vm-117-disk-3.vmdk)
TASK ERROR: storage migration failed: zfs error: cannot create 'tank/vm-117-disk-1': volume size must be a multiple of volume block size


In the syslog file:
May 3 16:20:02 pve1 pvedaemon[20547]: storage migration failed: zfs error: cannot create 'tank/vm-117-disk-1': volume size must be a multiple of volume block size

May 3 16:20:02 pve1 pvedaemon[12948]: <root@pam> end task UPID:pve1:00005043:00B37ABE:5909E711:qmmove:117:root@pam: storage migration failed: zfs error: cannot create 'tank/vm-117-disk-1': volume size must be a multiple of volume block size

May 3 16:20:49 pve1 pvedaemon[12948]: worker exit

May 3 16:20:49 pve1 pvedaemon[2603]: worker 12948 finished

May 3 16:20:49 pve1 pvedaemon[2603]: starting 1 worker(s)

May 3 16:20:49 pve1 pvedaemon[2603]: worker 20666 started

May 3 16:22:19 pve1 pvedaemon[8000]: <root@pam> move disk VM 117: move --disk virtio1 --storage tank

May 3 16:22:19 pve1 pvedaemon[8000]: <root@pam> starting task UPID:pve1:00005194:00B3B099:5909E79B:qmmove:117:root@pam:

May 3 16:22:19 pve1 pvedaemon[20884]: storage migration failed: zfs error: cannot create 'tank/vm-117-disk-1': volume size must be a multiple of volume block size

May 3 16:22:19 pve1 pvedaemon[8000]: <root@pam> end task UPID:pve1:00005194:00B3B099:5909E79B:qmmove:117:root@pam: storage migration failed: zfs error: cannot create 'tank/vm-117-disk-1': volume size must be a multiple of volume block size

Package versions
proxmox-ve: 4.4-87 (running kernel: 4.4.49-1-pve)
pve-manager: 4.4-13 (running version: 4.4-13/7ea56165)
pve-kernel-4.4.6-1-pve: 4.4.6-48
pve-kernel-4.4.13-1-pve: 4.4.13-56
pve-kernel-4.4.35-1-pve: 4.4.35-77
pve-kernel-4.2.6-1-pve: 4.2.6-36
pve-kernel-4.4.8-1-pve: 4.4.8-52
pve-kernel-4.4.13-2-pve: 4.4.13-58
pve-kernel-4.4.35-2-pve: 4.4.35-79
pve-kernel-4.4.21-1-pve: 4.4.21-71
pve-kernel-4.4.59-1-pve: 4.4.59-87
pve-kernel-4.4.44-1-pve: 4.4.44-84
pve-kernel-4.4.24-1-pve: 4.4.24-72
pve-kernel-4.4.19-1-pve: 4.4.19-66
pve-kernel-4.4.10-1-pve: 4.4.10-54
pve-kernel-4.4.49-1-pve: 4.4.49-86
pve-kernel-4.4.40-1-pve: 4.4.40-82
lvm2: 2.02.116-pve3
corosync-pve: 2.4.2-2~pve4+1
libqb0: 1.0.1-1
pve-cluster: 4.0-49
qemu-server: 4.0-110
pve-firmware: 1.1-11
libpve-common-perl: 4.0-94
libpve-access-control: 4.0-23
libpve-storage-perl: 4.0-76
pve-libspice-server1: 0.12.8-2
vncterm: 1.3-2
pve-docs: 4.4-4
pve-qemu-kvm: 2.7.1-4
pve-container: 1.0-99
pve-firewall: 2.0-33
pve-ha-manager: 1.0-40
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u3
lxc-pve: 2.0.7-4
lxcfs: 2.0.6-pve1
criu: 1.6.0-1
novnc-pve: 0.5-9
smartmontools: 6.5+svn4324-1~pve80
zfsutils: 0.6.5.9-pve15~bpo80
ceph: 0.94.10-1~bpo80+1

What can it be?

Best Regards

Lorenzo Piseddu
 
root@pve1:~# ls -la /tank/images/117
total 40568522
drwxr----- 2 root root 4 May 3 16:10 .
drwxr-xr-x 11 root root 11 May 4 15:27 ..
-rw-r----- 1 root root 10240 May 4 17:01 vm-117-disk-3.vmdk
-rw------- 1 root root 53687091200 May 5 16:36 Win8.1-flat.vmdk

upload_2017-5-5_17-19-4.png
 
Please can you post the output of

# qemu-img info /tank/images/117/vm-117-disk-3.vmdk

and

# qemu-img info /tank/images/117/Win8.1-flat.vmdk
 
sure

root@pve1:~# qemu-img info /tank/images/117/vm-117-disk-3.vmdk
image: /tank/images/117/vm-117-disk-3.vmdk
file format: raw
virtual size: 10K (10240 bytes)
disk size: 13K

root@pve1:~# qemu-img info /tank/images/117/Win8.1-flat.vmdk
image: /tank/images/117/Win8.1-flat.vmdk
file format: raw
virtual size: 50G (53687091200 bytes)
disk size: 39G
root@pve1:~#
 

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!