Replication not working because of not existent disk

llinty

Member
Sep 15, 2022
22
3
8
Hello,

I have created a replication task for my VM with only two hard disks.

root@server:~# qm config 100
boot: order=scsi0;ide2;net0
cores: 4
ide2: none,media=cdrom
memory: 20480
meta: creation-qemu=6.1.0,ctime=1663345612
name: cloud
net0: virtio=6A:CB:91:F7:34:2D,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: l26
scsi0: vm-storage:vm-100-disk-0,size=20G
scsi2: vm-storage:vm-100-disk-2,size=2T
scsihw: virtio-scsi-pci
smbios1: uuid=df911ecc-3247-49f5-a902-e998e14cef45
sockets: 1
unused0: vm-storage:vm-100-disk-1
vmgenid: 2eedb0ec-1610-4ebe-80a1-747a6a780d04
vmstatestorage: vm-storage

A third disk has been removed some times ago with dataset name 'vm-100-disk-1'. So now there is a gap between the disk with dataset number 0 and 2.

Replication job is failing with the message : zfs error : cannot open 'vm-storage:/vm-100-disk-1' does not exists.

Is it possible to rename the dataset 'vm-100-disk-2' by 'vm-100-disk-1' in a ZFS Volume ?

Regards
 

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!