Hi,
currently we are evaluating Proxmox as a replacement for vSphere. In our usual setup, we work with master VMs that are used to create linked clones from snapshots of these master VMs.
This feature is important for us, as our workflow would become much more complex and costly if we had to rely solely on templates.
I was already able to achieve this in Proxmox when using Ceph. However, this was not on ZFS, which is what we are planning to use on the final server.
AI tools were not able to provide further guidance on how to enable this with ZFS. Can someone help me with this? I would mainly like to know whether this is even possible with ZFS and, if so, under which configuration.
This is what i tried:
currently we are evaluating Proxmox as a replacement for vSphere. In our usual setup, we work with master VMs that are used to create linked clones from snapshots of these master VMs.
This feature is important for us, as our workflow would become much more complex and costly if we had to rely solely on templates.
I was already able to achieve this in Proxmox when using Ceph. However, this was not on ZFS, which is what we are planning to use on the final server.
AI tools were not able to provide further guidance on how to enable this with ZFS. Can someone help me with this? I would mainly like to know whether this is even possible with ZFS and, if so, under which configuration.
This is what i tried:
Code:
root@<server-name>:~# qm clone 107 1071 --name linked-clone-1071 --snapname snapshot-1 --full 0
Linked clone feature is not supported for a snapshot of 'local-zfs:vm-107-disk-1' (efidisk0)
root@<server-name>:~# qm config 107
agent: 1
bios: ovmf
boot: order=ide0;ide1;sata0
cores: 1
cpu: host
efidisk0: local-zfs:vm-107-disk-1,efitype=4m,size=1M
ide0: none,media=cdrom
ide1: none,media=cdrom
machine: pc-i440fx-11.0
memory: 65536
meta: creation-qemu=11.0.0,ctime=1781098982
name: MvmW11Proxmox
net0: vmxnet3=00:50:56:85:36:05,bridge=VLAN61
ostype: win10
parent: snapshot-1
sata0: local-zfs:vm-107-disk-0,size=2T
scsihw: virtio-scsi-single
serial0: socket
smbios1: uuid=420534a0-e064-1795-9be7-94f24a53cb22
sockets: 4
template: 0
vmgenid: c775a5e3-cc9f-4a63-8b5c-91335bd56453
root@<server-name>:~# qm set 107 --bios seabios
update VM 107: -bios seabios
root@<server-name>:~# qm set 107 --delete efidisk0
update VM 107: -delete efidisk0
root@<server-name>:~# qm snapshot 107 snapshot-1
snapshotting 'drive-sata0' (local-zfs:vm-107-disk-0)
root@<server-name>:~# qm clone 107 1071 --name linked-clone-1071 --snapname snapshot-1 --full 0
Linked clone feature is not supported for a snapshot of 'local-zfs:vm-107-disk-0' (sata0)
root@<server-name>:~# qm set 107 --scsi0 local-zfs:vm-107-disk-0
update VM 107: -scsi0 local-zfs:vm-107-disk-0
root@<server-name>:~# qm set 107 --delete sata0qm set 107 --delete sata0qm set 107 --delete sata0^C
root@<server-name>:~# ^C
root@<server-name>:~# ^C
root@<server-name>:~# ^C
root@<server-name>:~# ^C
root@<server-name>:~# ^C
root@<server-name>:~# qm set 107 --delete sata0
update VM 107: -delete sata0
root@<server-name>:~# qm delsnapshot 107 snapshot-1
root@<server-name>:~# qm snapshot 107 snapshot-1
snapshotting 'drive-scsi0' (local-zfs:vm-107-disk-0)
root@<server-name>:~# qm clone 107 1071 --name linked-clone-1071 --snapname snapshot-1 --full 0
Linked clone feature is not supported for a snapshot of 'local-zfs:vm-107-disk-0' (scsi0)