HI,
I found no solution to this, so I made one myself ;-)
EDIT on 2019-07-13:
regards,
maxprox
I found no solution to this, so I made one myself ;-)
EDIT on 2019-07-13:
Code:
##shutdown the VM
qm shutdown 106
## edit the VMID in the storage line[for me from local-zfs:vm-106-disk-0 to local-zfs:vm-104-disk-0]:
vim /etc/pve/nodes/name/qemu-server/106.conf
## rename the conf file:
mv /etc/pve/nodes/name/qemu-server/106.conf /etc/pve/nodes/name/qemu-server/104.conf
## list the ZFS volume or all:
zfs list -t all
...
rpool/data/vm-106-disk-0 1,11G 7,02T 1,10G -
...
## rename it with zfs rename:
zfs rename rpool/data/vm-106-disk-0 rpool/data/vm-104-disk-0
## host restart is not needed
qm start 104
maxprox
Last edited: