Greetings,
I failed to migrate a Windows Server 2022 guest from PVE 7.3.3 to PVE 8.0.3. It failed with the following message.
drive-ide0: transferred 80.2 GiB of 2.1 TiB (3.82%) in 6m 8s
drive-ide0: transferred 80.2 GiB of 2.1 TiB (3.82%) in 6m 9s
drive-ide0: transferred 80.2 GiB of 2.1 TiB (3.82%) in 6m 10s
drive-ide0: Cancelling block job
drive-ide0: Done.
2023-07-01 20:52:10 ERROR: online migrate failure - block job (mirror) error: drive-ide0: 'mirror' has been cancelled
2023-07-01 20:52:10 aborting phase 2 - cleanup resources
2023-07-01 20:52:10 migrate_cancel
2023-07-01 20:52:15 ERROR: migration finished with problems (duration 00:06:24)
TASK ERROR: migration problems
We noticed that the disk in question is the OS/System drive, but also has an unallocated 2050.00 GB partition. We do not need that partition.
Here is the config of the VM in question.
root@vmhost52a:~# qm config 4802
bios: ovmf
boot: order=ide0;ide2;net0
cores: 4
efidisk0: zpool0:vm-4802-disk-0,efitype=4m,pre-enrolled-keys=1,size=528K
ide0: local-lvm:vm-4802-disk-0,size=2100G
ide2: none,media=cdrom
machine: pc-q35-7.1
memory: 256000
meta: creation-qemu=7.1.0,ctime=1675423459
name: mssql02
net0: e1000=DE:F9:24:E2:93:8E,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsi0: zpool0:vm-4802-disk-2,iothread=1,size=6500G
scsihw: virtio-scsi-single
smbios1: uuid=c09633e4-04dd-4e30-a9bf-eebb0c744ea7
sockets: 4
tpmstate0: zpool0:vm-4802-disk-1,size=4M,version=v2.0
vmgenid: cce0dfc7-e4dd-426f-b949-e8f1b90cfcd5
root@vmhost52a:~# cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content backup,iso,vztmpl
lvmthin: local-lvm
thinpool data
vgname pve
content rootdir,images
zfspool: zpool0
pool zpool0
content images,rootdir
mountpoint /zpool0
nodes vmhost50a,vmhost52a,vmhost50b,vmhost52b,vmhost51b,vmhost51a
sparse 1
nfs: store08a-nfs
export /zpool0/proxmox_storage
path /mnt/pve/store08a-nfs
server store08a
content backup,iso,images
prune-backups keep-all=1
root@vmhost52a:~# pvesm status
Name Type Status Total Used Available %
local dir active 67286400 2857332 60965288 4.25%
local-lvm lvmthin active 136929280 32630247 104299032 23.83%
store08a-nfs nfs active 17837517824 9226263552 8611254272 51.72%
zpool0 zfspool active 18028429312 4716540163 13311889148 26.16%
The full task log is attached.
I failed to migrate a Windows Server 2022 guest from PVE 7.3.3 to PVE 8.0.3. It failed with the following message.
drive-ide0: transferred 80.2 GiB of 2.1 TiB (3.82%) in 6m 8s
drive-ide0: transferred 80.2 GiB of 2.1 TiB (3.82%) in 6m 9s
drive-ide0: transferred 80.2 GiB of 2.1 TiB (3.82%) in 6m 10s
drive-ide0: Cancelling block job
drive-ide0: Done.
2023-07-01 20:52:10 ERROR: online migrate failure - block job (mirror) error: drive-ide0: 'mirror' has been cancelled
2023-07-01 20:52:10 aborting phase 2 - cleanup resources
2023-07-01 20:52:10 migrate_cancel
2023-07-01 20:52:15 ERROR: migration finished with problems (duration 00:06:24)
TASK ERROR: migration problems
We noticed that the disk in question is the OS/System drive, but also has an unallocated 2050.00 GB partition. We do not need that partition.
Here is the config of the VM in question.
root@vmhost52a:~# qm config 4802
bios: ovmf
boot: order=ide0;ide2;net0
cores: 4
efidisk0: zpool0:vm-4802-disk-0,efitype=4m,pre-enrolled-keys=1,size=528K
ide0: local-lvm:vm-4802-disk-0,size=2100G
ide2: none,media=cdrom
machine: pc-q35-7.1
memory: 256000
meta: creation-qemu=7.1.0,ctime=1675423459
name: mssql02
net0: e1000=DE:F9:24:E2:93:8E,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsi0: zpool0:vm-4802-disk-2,iothread=1,size=6500G
scsihw: virtio-scsi-single
smbios1: uuid=c09633e4-04dd-4e30-a9bf-eebb0c744ea7
sockets: 4
tpmstate0: zpool0:vm-4802-disk-1,size=4M,version=v2.0
vmgenid: cce0dfc7-e4dd-426f-b949-e8f1b90cfcd5
root@vmhost52a:~# cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content backup,iso,vztmpl
lvmthin: local-lvm
thinpool data
vgname pve
content rootdir,images
zfspool: zpool0
pool zpool0
content images,rootdir
mountpoint /zpool0
nodes vmhost50a,vmhost52a,vmhost50b,vmhost52b,vmhost51b,vmhost51a
sparse 1
nfs: store08a-nfs
export /zpool0/proxmox_storage
path /mnt/pve/store08a-nfs
server store08a
content backup,iso,images
prune-backups keep-all=1
root@vmhost52a:~# pvesm status
Name Type Status Total Used Available %
local dir active 67286400 2857332 60965288 4.25%
local-lvm lvmthin active 136929280 32630247 104299032 23.83%
store08a-nfs nfs active 17837517824 9226263552 8611254272 51.72%
zpool0 zfspool active 18028429312 4716540163 13311889148 26.16%
The full task log is attached.