Add existing qcow2 image to a VM without ovewrite it

Wildcat

New Member
Apr 8, 2017
10
0
1
46
Hello, (Sorry for my english)

I would like to reassing a existing qcow2 image to a VM 100 (its running alreally on a another qcow2)
Its all my data (10.42TB image) ; its important to not overwrite it.

The path Is /PoolRZ2/PROXMOX/images/100/vm-100-disk-1.qcow2

How i can make this :) Thx alot :)
 
- Shut down the VM
- Move "/PoolRZ2/PROXMOX/images/100/vm-100-disk-1.qcow2" to "/PoolRZ2/PROXMOX/images/100/vm-100-disk-1.qcow2.save" (being cautious).
- Copy your .qcow2 image to "/PoolRZ2/PROXMOX/images/100/vm-100-disk-1.qcow2"
- Restart the VM.
 
Hello
The vm are on another path. The image i would like to add are on another path.

there is my config :

boot: dc
bootdisk: virtio0
cores: 2
ide2: local:iso/XPEnoboot_DS3615xs_5.1-5022.3.iso,media=cdrom,size=15140K
memory: 512
name: XPEnology
net0: virtio=3E:E8:4E:77:83:04,bridge=vmbr0
numa: 0
onboot: 1
ostype: l26
smbios1: uuid=1a9c3585-9c8e-4c2f-bbc5-50a010203973
sockets: 1
startup: up=1
tablet: 0
virtio0: local:100/vm-100-disk-1.qcow2,format=qcow2,cache=writeback,size=10G
(This is the OS on this path )

I would like to add /PoolRZ2/PROXMOX/images/100/vm-100-disk-1.qcow2 (10.47TB)
 
I have this error :
command 'zfs create -V 11167334400k PoolRZ2/vm-100-disk-1' failed: exit code 1 (500)