pct clone complains about missing snapshot.

tonuonu

Member
Mar 30, 2022
2
0
6
Proxmox VE 7.1 with all updates I believe. I am unsure what I do wrong:

Bash:
# pct snapshot 120 "myclone"
# pct listsnapshot 120
`-> myclone                     2022-03-30 19:24:46     no-description
  `-> current                                           You are here!
# pct clone 120 125
Cannot do full clones on a running container without snapshots
#
 
I think I found what I do wrong. Correct one:

Bash:
# pct clone 120 200 --snapname "myclone"
create full clone of mountpoint rootfs (local-zfs:subvol-120-disk-0)
 
a full clone needs access to the data in a consistent state. if the container is running, it can change the state - so in that case a full clone is only possible from a read-only snapshot, not the current (possibly changing) state.