Bug 662026
Summary: | No way to revert snapshot to base image by using snapshot-revert | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Nan Zhang <nzhang> | |
Component: | libvirt | Assignee: | Jiri Denemark <jdenemar> | |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | medium | Docs Contact: | ||
Priority: | low | |||
Version: | 6.1 | CC: | bsarathy, dallan, eblake, llim, xen-maint | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 674537 (view as bug list) | Environment: | ||
Last Closed: | 2011-02-02 11:33:34 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: |
Description
Nan Zhang
2010-12-10 11:13:20 UTC
The only bug that I see here is that restarting libvirtd resets current snapshot (I will create a new BZ for that with clearer problem description). The bug report is a result of misunderstanding the concept of domain snapshots. Quoting from virsh man page: Snapshots take the disk, memory, and device state of a domain at a point-of-time, and save it for future use. They have many uses, from saving a "clean" copy of an OS image to saving a domain’s state before a potentially destructive operation. That is, a snapshot is an immutable copy of domain state at the time when the snapshot was created. Just like a photography is an image of a small part of the world at the time the photography was taken. Before a snapshot is created, domain's state is a moving target and the main purpose of the snapshot is to have something one can get back to. So the first snapshot is what you want to revert to if you need to get the original pristine state. |