pve-manager/7.4-3 backup of VM with disk passthrough(s) to a PBS fails with "no storage id" error

k.jings

Member
Dec 4, 2021
15
0
6
63
pveversion: pve-manager/7.4-3/9002ab8a (running kernel: 5.15.102-1-pve)
VM: debian 11.6.
VM Conf without disk passthrough:
Code:
agent: 1
balloon: 0
bios: ovmf
boot: order=scsi0;net0
cores: 2
efidisk0: local-btrfs:100/vm-100-disk-0.raw,efitype=4m,pre-enrolled-keys=1,size=528K
machine: q35
memory: 13312
meta: creation-qemu=7.2.0,ctime=1679860501
name: pve4-nas
net0: virtio=E6:AD:9D:AD:A3:83,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: l26
scsi0: pve4.virtuals:100/vm-100-disk-2.raw,iothread=1,size=32G
scsi1: pve4.virtuals:100/vm-100-disk-3.raw,iothread=1,size=160G
scsihw: virtio-scsi-single
smbios1: uuid=3a44b954-1d5f-45c8-9f19-c93b179e2e95
sockets: 1
vga: virtio
vmgenid: bc6e2d04-cee6-4edf-b869-79fc4369673a
Result: Backup to a PBS runs fine with the above VM config.

VM Conf with disk passthrough:
Code:
agent: 1
balloon: 0
bios: ovmf
boot: order=scsi0;net0
cores: 2
efidisk0: local-btrfs:100/vm-100-disk-0.raw,efitype=4m,pre-enrolled-keys=1,size=528K
machine: q35
memory: 13312
meta: creation-qemu=7.2.0,ctime=1679860501
name: pve4-nas
net0: virtio=E6:AD:9D:AD:A3:83,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: l26
scsi0: pve4.virtuals:100/vm-100-disk-2.raw,iothread=1,size=32G
scsi1: pve4.virtuals:100/vm-100-disk-3.raw,iothread=1,size=160G
scsi2: /dev/disk/by-id/ata-WDC_WD102KFBX-68M95N0_VCHD8S1P,size=9314G  <===
scsihw: virtio-scsi-single
smbios1: uuid=3a44b954-1d5f-45c8-9f19-c93b179e2e95
sockets: 1
vga: virtio
vmgenid: bc6e2d04-cee6-4edf-b869-79fc4369673a

Result:
Code:
INFO: starting new backup job: vzdump 100 --compress zstd --remove 0 --node pve4 --notes-template '{{guestname}}' --storage local-btrfs --mode snapshot
INFO: Starting Backup of VM 100 (qemu)
INFO: Backup started at 2023-03-26 21:33:59
INFO: status = running
INFO: VM Name: pve4-nas
INFO: include disk 'scsi0' 'pve4.virtuals:100/vm-100-disk-2.raw' 32G
INFO: include disk 'scsi1' 'pve4.virtuals:100/vm-100-disk-3.raw' 160G
INFO: include disk 'scsi2' '/dev/disk/by-id/ata-WDC_WD102KFBX-68M95N0_VCHD8S1P' 9314G
INFO: include disk 'efidisk0' 'local-btrfs:100/vm-100-disk-0.raw' 528K
ERROR: Backup of VM 100 failed - no storage ID specified
INFO: Failed at 2023-03-26 21:33:59
INFO: Backup job finished with errors
TASK ERROR: job errors

No such issue on PVE7.3.
 
Same issue on my end. Unchecked the backup option from the passthrough disk and backup executed no problem. All my VMs with disk passthrough are behaving this way.
 
Hi,
thank you for the report! This is an oversight for passed-through disks. A fix has been sent the the mailing list.
EDIT: a version with the fix, i.e. qemu-server=7.4-3, is available on the no-subscription repository.
 
Last edited:

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!