I have read some other threads that explain about how to find the snapshot of the qcow2 disk file and how to delete them, but none of them says if it is possible to do it while VM is running.
I have a VM with snapshot on the qcow2 disk, i can see them with qemu-img snapshot -l <path-to-file.qcow2>
I can not shutdown the VM because is a dedicate Database but after a failed snapshot the client deleted the snapshot from the config file but it is still on the qcow2 disk files.
I have not found information about using "snapshot_delete_blkdev_internal device name [id]"
device?
name?
id?
If I have for example the following snapshot:
How is the sintaxis for "snapshot_delete_blkdev_internal"?
I am using: pve-manager/6.3-4/0a38c56f (running kernel: 5.4.78-2-pve)
Thanks.
I have a VM with snapshot on the qcow2 disk, i can see them with qemu-img snapshot -l <path-to-file.qcow2>
I can not shutdown the VM because is a dedicate Database but after a failed snapshot the client deleted the snapshot from the config file but it is still on the qcow2 disk files.
I have not found information about using "snapshot_delete_blkdev_internal device name [id]"
device?
name?
id?
If I have for example the following snapshot:
Code:
# qemu-img info /tmp/usb/vm-100-disk-1.qcow2
image: /tmp/usb/vm-100-disk-1.qcow2
file format: qcow2
virtual size: 1 TiB (1099511627776 bytes)
disk size: 1.42 TiB
cluster_size: 65536
Snapshot list:
ID TAG VM SIZE DATE VM CLOCK ICOUNT
1 snapshot1_A 0 B 2021-04-06 10:48:47809:06:54.109
Format specific information:
compat: 1.1
compression type: zlib
lazy refcounts: false
refcount bits: 16
corrupt: false
extended l2: false
How is the sintaxis for "snapshot_delete_blkdev_internal"?
I am using: pve-manager/6.3-4/0a38c56f (running kernel: 5.4.78-2-pve)
Thanks.
Last edited: