Determine the actual vm/clone creation date

Omni_Laz

New Member
Jun 3, 2026
3
0
1
Is it possible to determine the actual creation date of a vm/clone? Simple scenario : clone vm2 from vm1

node/<node>/qemu/<vmid>/config has the meta field, but the meta ctime field data for vm2 will be the same as vm1. I know there's an uptime field buried somewhere but that won't do the trick if vm1 is powered off (unless uptime is used for something else).

Thanks
 
How far back does the Task history go? This could happen 2-3 months down the line (with 10k+ tasks/day for my usage)
 
I wonder how long the logs are retained. With ZFS, you can find out using the method described below.

Code:
zfs list -t volume -o name,creation
zfs list -t snapshot -o name,creation
 
I doubt the zfs commands would work. Everything has to be done via api (no shell access). It's for a github app intended to restore vm's to clean states following workflow/job executions.

Tagging the clone operation looks like the best option. Utilizing the description field when the clone call is made. Thanks.