how know the relation about template and cloned VM

tcicy

New Member
Mar 15, 2019
3
1
1
45
I creat many template,and link clone many VM。
now I want delete one template,PVE tell me:
TASK ERROR: base volume 'aaa:base-101-disk-0' is still in use by linked cloned

how I know the relation about template and cloned VM??
who linked 101 template??

thx.
 
check your storages for orphaned images that rely on that base image
 
I got the info by use pvesh get /nodes/{node}/storage/{storage}/status.
API is /api2/json/nodes/{node}/storage/{storage}/status
thx.