Hello,
I am trying to move a VM from one node to another inside the the same Proxmox VE cluster.
Storage is rather large but the destination node has enough disk capacity.
I am getting an error when I try to do an online migration:
If I run a lsblk -b inside of the VM I get a disk size of 2903784816640.
However, Proxmox reports the size of the hard disk incorrectly (scsi0: HDD:vm-101-disk-0,cache=writethrough,size=2902710697329)
While trying to change the hard disk configuration (from no cache to write through cache) I noticed the size is automatically updated to 2769265M - which is the same that I got with lsblk -b command in the VM.
After power cycling the VM and the settings updated, tried running the live migration once again but I got the error log below:
This time I got a message stating that the disk size was reverted back to the incorrect value of 2902710697329, and of course this is not a multiple of the block size so the migration fails once again.
Does anyone have any suggestions as to what I should try next?
I am using pve-manager/6.1-8/806edfe1 (running kernel: 5.3.18-3-pve)
Best regards,
Nuno
I am trying to move a VM from one node to another inside the the same Proxmox VE cluster.
Storage is rather large but the destination node has enough disk capacity.
I am getting an error when I try to do an online migration:
Code:
2020-07-15 09:20:50 starting migration of VM 101 to node 'prc23' (10.0.0.3)
2020-07-15 09:20:50 found local disk 'HDD:vm-101-disk-0' (in current VM config)
2020-07-15 09:20:50 copying local disk images
2020-07-15 09:20:50 starting VM 101 on remote node 'prc23'
2020-07-15 09:20:50 [prc23] zfs error: cannot create 'hdd/vm-101-disk-0': volume size must be a multiple of volume block size
2020-07-15 09:20:50 ERROR: online migrate failure - remote command failed with exit code 255
2020-07-15 09:20:50 aborting phase 2 - cleanup resources
2020-07-15 09:20:50 migrate_cancel
2020-07-15 09:20:51 ERROR: migration finished with problems (duration 00:00:02)
If I run a lsblk -b inside of the VM I get a disk size of 2903784816640.
However, Proxmox reports the size of the hard disk incorrectly (scsi0: HDD:vm-101-disk-0,cache=writethrough,size=2902710697329)
While trying to change the hard disk configuration (from no cache to write through cache) I noticed the size is automatically updated to 2769265M - which is the same that I got with lsblk -b command in the VM.
After power cycling the VM and the settings updated, tried running the live migration once again but I got the error log below:
Code:
2020-07-15 11:05:07 starting migration of VM 101 to node 'prc23' (10.0.0.3)
2020-07-15 11:05:07 found local disk 'HDD:vm-101-disk-0' (in current VM config)
2020-07-15 11:05:07 size of disk 'HDD:vm-101-disk-0' (scsi0) updated from 2769265M to 2902710697329
2020-07-15 11:05:07 copying local disk images
2020-07-15 11:05:07 starting VM 101 on remote node 'prc23'
2020-07-15 11:05:07 [prc23] zfs error: cannot create 'hdd/vm-101-disk-0': volume size must be a multiple of volume block size
2020-07-15 11:05:07 ERROR: online migrate failure - remote command failed with exit code 255
2020-07-15 11:05:07 aborting phase 2 - cleanup resources
2020-07-15 11:05:07 migrate_cancel
2020-07-15 11:05:08 ERROR: migration finished with problems (duration 00:00:01)
This time I got a message stating that the disk size was reverted back to the incorrect value of 2902710697329, and of course this is not a multiple of the block size so the migration fails once again.
Does anyone have any suggestions as to what I should try next?
I am using pve-manager/6.1-8/806edfe1 (running kernel: 5.3.18-3-pve)
Best regards,
Nuno