[code][/code]
tags so that all the formatting stays intact zfs rename rpool/data/vm-105-disk-0 /rpool/data/vm-110-disk-2
/etc/pve/qemu-server/105.conf
. Look for the line referencing local-zfs:vm-105-disk-0
and remove that line.qm rescan --vmid 110
. The disk image should show up as unused disk in the VMs hardware panel. From there you can edit it to attach it.that is something that we are currently working on to make it nicer. For the time being, you will have to do it manually.
Same here.Hi guys,
On Oct. 1, 2021 you said:
my use-case for this is, when I have to restore a vm to a previous state, to restore some files.
The best way so far was to restore the vm in question, add a small transfer-disk - say 1GB to recover the file(s) needed, detach the disk, rename it to match the current productive vm and manually edit the matching .conf file under /etc/pve/qemu-server or on clusters under /etc/pve/nodes/..../qemu-server.
After recovery, I mostly delete the transfer-disk.
It would be nice, if there was an option from either within the vm hardware-config tab, in case a disk is unused, there could be an option "transfer disk to vm...." or there could be a section from within the storage "unused disks" and from there on the option "transfer disk to vm..."
regards,
Félix
We use essential cookies to make this site work, and optional cookies to enhance your experience.