Dear all,
Envirorment:
Proxmox 8.2.4
VM backed up using PBS
Description:
Recently I had to change the way to backup a VM by excluding some disks, currently the VM configuration is the following:
Doing a restore test on a new VM I expected that it would create the 4 disks and restore data only for scsi0 and scsi1, instead the backup restore created only scsi0 and scsi1 and completely ignored the missing disk even though it was present in the hardware configuration:
I did not find anything on internet searching about it, I would expect that Proxmox will not silenty change the hardware configuration and just create the two empty disks.
Any suggestion ? Maybe I should open a bug?
Thanks,
Regards
Envirorment:
Proxmox 8.2.4
VM backed up using PBS
Description:
Recently I had to change the way to backup a VM by excluding some disks, currently the VM configuration is the following:
Code:
#```
agent: 1
balloon: 6144
boot: order=scsi0;ide2
cores: 6
cpu: x86-64-v2-AES
ide2: none,media=cdrom
memory: 8192
meta: creation-qemu=9.0.0,ctime=1720086143
name: web1
net0: virtio=BC:24:11:AC:AB:37,bridge=vmbr1,firewall=1
numa: 0
onboot: 1
ostype: l26
protection: 1
scsi0: local-lvm:vm-202-disk-0,iothread=1,size=32G
scsi1: local-lvm:vm-202-disk-1,iothread=1,size=120G
scsi2: local-lvm:vm-202-disk-2,backup=0,iothread=1,size=325G
scsi3: local-lvm:vm-202-disk-3,backup=0,cache=writeback,iothread=1,size=1G
scsihw: virtio-scsi-single
smbios1: uuid=958ece15-d09b-47b8-b0fa-d40ac7b98d52
sockets: 1
startup: order=6
vmgenid: f72fa436-21ef-42ce-9c6e-7b73658e4b5e
#qmdump#map:scsi0:drive-scsi0:local-lvm:raw:
#qmdump#map:scsi1:drive-scsi1:local-lvm:raw:
Doing a restore test on a new VM I expected that it would create the 4 disks and restore data only for scsi0 and scsi1, instead the backup restore created only scsi0 and scsi1 and completely ignored the missing disk even though it was present in the hardware configuration:
Code:
Logical volume "vm-902-disk-0" created.
new volume ID is 'local-lvm:vm-902-disk-0'
Logical volume "vm-902-disk-1" created.
new volume ID is 'local-lvm:vm-902-disk-1'
restore proxmox backup image: /usr/bin/pbs-restore --repository xxxx@pbs@xxxxx:pbs vm/202/2024-08-20T14:11:09Z drive-scsi0.img.fidx /dev/pve/vm-902-disk-0 --verbose --format raw --skip-zero
connecting to repository 'xxxx@pbs@xxxxx:pbs'
open block backend for target '/dev/pve/vm-902-disk-0'
starting to restore snapshot 'vm/202/2024-08-20T14:11:09Z'
download and verify backup index
progress 1% (read 343932928 bytes, zeroes = 3% (12582912 bytes), duration 13 sec)
[...]
progress 100% (read 34359738368 bytes, zeroes = 33% (11479810048 bytes), duration 601 sec)
restore image complete (bytes=34359738368, duration=601.29s, speed=54.50MB/s)
restore proxmox backup image: /usr/bin/pbs-restore --repository xxxx@pbs@xxxxxx:pbs vm/202/2024-08-20T14:11:09Z drive-scsi1.img.fidx /dev/pve/vm-902-disk-1 --verbose --format raw --skip-zero
connecting to repository 'xxx@pbs@xxxxx:pbs'
open block backend for target '/dev/pve/vm-902-disk-1'
starting to restore snapshot 'vm/202/2024-08-20T14:11:09Z'
download and verify backup index
progress 1% (read 1291845632 bytes, zeroes = 9% (125829120 bytes), duration 56 sec)
[...]
progress 100% (read 128849018880 bytes, zeroes = 7% (9982443520 bytes), duration 5808 sec)
restore image complete (bytes=128849018880, duration=5808.80s, speed=21.15MB/s)
rescan volumes...
TASK OK
I did not find anything on internet searching about it, I would expect that Proxmox will not silenty change the hardware configuration and just create the two empty disks.
Any suggestion ? Maybe I should open a bug?
Thanks,
Regards