## CHANGER 103 en 102 (pve est le nom groupe de volumes > datastore > stockage 
lvs -a
lvrename pve*/vm-103-disk-0 pve/vm-102-disk-0
sed -i "s/103/102/g" /etc/pve/qemu-server/103.conf
mv /etc/pve*/qemu-server/103.conf /etc/pve*/qemu-server/102.conf

#### ZFS ######
##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