two disk vm can't replicate, thinks one is local

randyqx

Member
May 21, 2024
21
3
8
US Left Coast
i cam not replicate a two drive vm, getting "missing replicate feature on volume 'local:103/rcuss.raw' (500)", which si the second of the two drives, which i admit to farbling

i imported a two drive vm from ganeti to proxmox. when importing the second drive, i made the mistake of not specifying the target storage, so it went to local instead of images, the zfs filesystem. so i had to move it from local to zfs. which, i assume, is why some attribute store thinks it is still on local, see error msg above.

Code:
# cat /etc/pve/nodes/vm1/qemu-server/103.conf
autostart: 1
boot: order=virtio0
memory: 65536
meta: creation-qemu=11.0.3,ctime=1787422463
name: rcuss-build-rg.net
net0: virtio=BC:24:11:A6:07:2E,bridge=br-vlan42,firewall=1
onboot: 1
serial0: socket
smbios1: uuid=eda5c66d-cc57-4d6a-b606-2825296b61fd
unused0: local:103/rcuss.raw
virtio0: images:vm-103-disk-0,size=316G
virtio1: images:vm-103-disk-1,iothread=1,size=300G
vmgenid: 0d7573e0-4d08-4f12-afd7-9b3d263ccb85

where should i be looking?

randy
 
It's in the config you posted:
unused0: local:103/rcuss.raw

Replication checks every volume referenced in the VM config, not just the attached ones.

That entry is the leftover original from your move: "Move disk" keeps the source as an unused disk unless you tick "Delete source". virtio1: images:vm-103-disk-1 is the copy that made it onto ZFS.

Confirm the VM is fine running off virtio1 first, because removing an unused disk frees the underlying volume (i.e. the raw file gets deleted, not just detached.) Then run:

qm set 103 --delete unused0
 
  • Like
Reactions: UdoB