Sometimes you want to get rid of a VM template. In doing so, you might encounter the following issue:
TASK ERROR: base volume 'nas02:base-9403-disk-0' is still in use by linked cloned
In the case where we have a template with 9403, the syntax is:
grep ':base-9403-disk-[0-9]*/' /etc/pve/qemu-server/*.conf /etc/pve/qemu-server/144.conf:scsi0: nas02:base-9403-disk-0/vm-144-disk-0,cache=none,size=20G
If your objective is to delete the template, and it’s ZFS, you might have an issue.
LVM-thin is an exception here, because AFAIK the linked clones there are independent of the parent volume.
See post about this here by Fiona:
Question
Is there a way to unlink a clone?
Right click, create clone
Reference: https://forum.proxmox.com/threads/convert-linked-clone-to-full-clone.71925/