O'Reilly logo

KVM Virtualization Cookbook by Konstantin Ivanov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

To inspect a snapshot, run the following commands:

  1. List all available snapshots for the specified KVM instance:
root@kvm:~# virsh snapshot-list kvm1 Name                Creation Time              State------------------------------------------------------------ 1492797458          2017-04-21 17:57:38 +0000  running kvm1_ext_snapshot   2017-04-21 18:08:49 +0000  disk-snapshotroot@kvm:~#
  1. Get information about the running snapshot:
root@kvm:~# virsh snapshot-info kvm1 --snapshotname 1492797458Name: 1492797458Domain: kvm1Current: noState: runningLocation: internalParent: -Children: 1Descendants: 1Metadata: yesroot@kvm:~#
  1. Get information about the disk snapshot:
root@kvm:~# virsh snapshot-info kvm1 --snapshotname kvm1_ext_snapshotName: kvm1_ext_snapshotDomain: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required