You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Bug Reference

CLOUDSTACK-732

Branch

4.1.0

Introduction

Purpose

There are several types of snapshots:

  • disk snapshot (aka external snapshot)
  • VM state snapshot
  • system checkpoint

Disk snapshot saves the content of the disks at a desiginated point of time;
VM state snapshot tracks only the state of RAM and all other resources in use by the VM;
System checkpoint captures both the disk and the VM state.

The current KVM takes a long time to take a disk snapshot, where the VM can be unresponsive for several minutes. We would like to investigate and find out if the new KVM support the disk-only snapshot option.

h4 Implementation
There are 2 tasks :

  1. Investigate the disk only snapshot feature: does it work for current KVM on 4.1
  2. If the disk-only snapshot is supported, then we need to use the libvert API
    to add the disk snapshot support.

On a kvm system, we need to:

  • test the snapshot creation with disk-only option, and find out how long it takes;
  • revert a snapshot;
  • create snapshot of large disk file, or small disk files;

Command: snapshot-create-as <snapshot-name> "description" --disk-only

  • No labels