Take snapshot of KVM image

Q: How to take snapshot:
A: [root@islpfdbldkvm2 ~]# qemu-img info  /home/Vms/SLES_11_SP0_PSMB_BKP2/SLES11_SP0_BKP2.img                                             image: /home/Vms/SLES_11_SP0_PSMB_BKP2/SLES11_SP0_BKP2.img
file format: raw
virtual size: 1.0T (1073741824000 bytes)
disk size: 21G

[root@islpfdbldkvm2 SLES_11_SP0_PSMB_BKP2]# qemu-img create -f qcow2 -b SLES11_SP0_BKP2.img SP0-snapshot.img
Formatting 'SP0-snapshot.img', fmt=qcow2 size=1073741824000 backing_file='SLES11_SP0_BKP2.img' encryption=off cluster_size=65536

[root@islpfdbldkvm2 SLES_11_SP0_PSMB_BKP2]# qemu-img info SP0-snapshot.img
image: SP0-snapshot.img
file format: qcow2
virtual size: 1.0T (1073741824000 bytes)
disk size: 148K
cluster_size: 65536
backing file: SLES11_SP0_BKP2.img

Comments

Popular posts from this blog

How to delete SEA in VIOS

More VIOS commands

Webmin configuration for LDAP