Bug 1094746 - virt-sparsify man failes to mention what happens to snapshots within a qcow2 image (they are discarded)
Summary: virt-sparsify man failes to mention what happens to snapshots within a qcow2 ...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: libguestfs
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-06 11:57 UTC by Samo Dadela
Modified: 2014-05-07 08:05 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-07 08:05:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Samo Dadela 2014-05-06 11:57:26 UTC
Description of problem:
virt-sparsify man failes to mention what happens to snapshots within a qcow2 image


Version-Release number of selected component (if applicable):
libguestfs-tools-c-1.26.1-2.fc20.x86_64

How reproducible:
Sparsify a qcow2 image with snapshots, then try to restore a snapshot.

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Richard W.M. Jones 2014-05-06 12:38:48 UTC
Are you using virt-sparsify in the default copy mode, or using
the new --inplace option?

But yes I'm not surprised that internal snapshots aren't copied
across.  We can mention this in the manual.

Comment 2 Samo Dadela 2014-05-07 07:22:39 UTC
default copy mode without --inplace

Comment 3 Richard W.M. Jones 2014-05-07 08:05:56 UTC
I've added a note in the manual page upstream:

https://github.com/libguestfs/libguestfs/commit/c67e16734ce41b1ec8ec146531bcec20573fec7f


Note You need to log in before you can comment on or make changes to this bug.