[SOLVED] Live restore fails with: "Cannot get 'write' permission without 'resize'"

Feb 20, 2021
88
10
13
i've tried a live restore of a vm, but it failed:


Code:
new volume ID is 'cephrbd:vm-105-disk-0'
new volume ID is 'cephrbd:vm-105-disk-1'
new volume ID is 'cephrbd:vm-105-disk-2'
rescan volumes...
VM is locked (create)
Starting VM for live-restore
kvm: -drive file.filename=rbd:cephfs_data/vm-105-disk-0:conf=/etc/pve/ceph.conf:id=admin:keyring=/etc/pve/priv/ceph/cephrbd.keyring,if=none,id=drive-scsi0,discard=on,format=alloc-track,file.driver=rbd,cache=none,aio=native,file.detect-zeroes=unmap,backing=drive-scsi0-pbs,auto-remove=on: warning: RBD options encoded in the filename as keyvalue pairs is deprecated
kvm: -drive file.filename=rbd:cephfs_data/vm-105-disk-1:conf=/etc/pve/ceph.conf:id=admin:keyring=/etc/pve/priv/ceph/cephrbd.keyring,if=none,id=drive-scsi1,format=alloc-track,file.driver=rbd,cache=none,aio=native,file.detect-zeroes=on,backing=drive-scsi1-pbs,auto-remove=on: warning: RBD options encoded in the filename as keyvalue pairs is deprecated
kvm: -drive file.filename=rbd:cephfs_data/vm-105-disk-2:conf=/etc/pve/ceph.conf:id=admin:keyring=/etc/pve/priv/ceph/cephrbd.keyring,if=none,id=drive-scsi2,format=alloc-track,file.driver=rbd,cache=none,aio=native,file.detect-zeroes=on,backing=drive-scsi2-pbs,auto-remove=on: warning: RBD options encoded in the filename as keyvalue pairs is deprecated
kvm: -device scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=100: Cannot get 'write' permission without 'resize': Image size is not a multiple of request alignment
An error occured during live-restore: start failed: QEMU exited with code 1

error before or during data restore, some or all disks were not completely restored. VM 105 state is NOT cleaned up.
TASK ERROR: live-restore failed


an idea whats wrong?

PVE 6.4-6
PBS 1.1-5

vm config:

Code:
agent: 1
boot: order=scsi0
cores: 2
memory: 2048
name: oldserver
net0: virtio=00:50:56:a2:83:9a,bridge=vmbr0,firewall=1
ostype: wxp
scsi0: cephrbd:vm-105-disk-0,discard=on,size=15363M
scsi1: cephrbd:vm-105-disk-1,size=160G
scsi2: cephrbd:vm-105-disk-2,size=10G
scsihw: virtio-scsi-pci
smbios1: uuid=eecbfc0d-7126-49e7-a910-67436723b6f7
tablet: 1
vga: qxl
vmgenid: 563a5bcd-1784-40d0-89ae-6176ce0d5390

the normal restore works, so no big issue...
 
scsi0: cephrbd:vm-105-disk-0,discard=on,size=15363M
At the moment, due to limitations in QEMU, live-restore is not available for disks that are not aligned to 4MiB (corresponding the the chunk size of PBS). This may change in the future.
 

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!