Re: Restoring a QEMU snapshot

2017-03-29 Thread Patrick O'Callaghan
On Wed, 2017-03-29 at 13:20 -0500, Robert Nichols wrote: > > OK, I think I get the idea. The manpage is not only unclear, it's > > actually inconsistent with what you say. There is no mention of a '-b' > > option to 'create'. The --help option doesn't say anything about it > > either, but I tried i

Re: Restoring a QEMU snapshot

2017-03-29 Thread Robert Nichols
On 03/29/2017 09:40 AM, Patrick O'Callaghan wrote: On Wed, 2017-03-29 at 08:44 -0500, Robert Nichols wrote: "Backing file" implies "qemu-img create -b ...". I agree that the manpage is horribly unclear. The snapshots from "qemu-img snapshot {-c|-a|-d}" are not separate files. They are maintain

Re: Restoring a QEMU snapshot

2017-03-29 Thread Patrick O'Callaghan
On Wed, 2017-03-29 at 08:44 -0500, Robert Nichols wrote: > On 03/29/2017 06:02 AM, Patrick O'Callaghan wrote: > > On Tue, 2017-03-28 at 18:16 -0500, Robert Nichols wrote: > > > Did you really run the VM from the file in /home/poc/Win10/ ? It would be > > > unusual to run a VM from a file in your h

Re: Restoring a QEMU snapshot

2017-03-29 Thread Robert Nichols
On 03/29/2017 06:02 AM, Patrick O'Callaghan wrote: On Tue, 2017-03-28 at 18:16 -0500, Robert Nichols wrote: Did you really run the VM from the file in /home/poc/Win10/ ? It would be unusual to run a VM from a file in your home directory and not from one in the /var/lib/libvirt/images/ director

Re: Restoring a QEMU snapshot

2017-03-29 Thread Patrick O'Callaghan
On Tue, 2017-03-28 at 18:16 -0500, Robert Nichols wrote: > Did you really run the VM from the file in /home/poc/Win10/ ? It would be > unusual to run a VM from a file in your home directory and not from one in > the /var/lib/libvirt/images/ directory. Check the modification times on the > files.

Re: Restoring a QEMU snapshot

2017-03-29 Thread Patrick O'Callaghan
On Tue, 2017-03-28 at 12:20 -0700, stan wrote: > On Tue, 28 Mar 2017 19:56:48 +0100 > Patrick O'Callaghan wrote: > > > I can only say I have no recollection of typing that, and that I did > > want to create a snapshot as a test. But it was a few days ago so I > > may be wrong. > > If you use bas

Re: Restoring a QEMU snapshot

2017-03-28 Thread Robert Nichols
On 03/28/2017 01:56 PM, Patrick O'Callaghan wrote: On Tue, 2017-03-28 at 12:38 -0500, Robert Nichols wrote: What you have is not a snapshot. A snapshot is created with "qemu-img snapshot -c ", and that is _not_ a separate file. That "" is not a file name but just a tag to identify one of po

Re: Restoring a QEMU snapshot

2017-03-28 Thread stan
On Tue, 28 Mar 2017 19:56:48 +0100 Patrick O'Callaghan wrote: > I can only say I have no recollection of typing that, and that I did > want to create a snapshot as a test. But it was a few days ago so I > may be wrong. If you use bash, and have bash history enabled, at a command line you could t

Re: Restoring a QEMU snapshot

2017-03-28 Thread InvalidPath
On Tue, Mar 28, 2017 at 12:48 PM, Patrick O'Callaghan wrote: > On Tue, 2017-03-28 at 10:21 -0600, InvalidPath wrote: > > Ahh interesting. Thanks for this info Patrick. > > I think you meant to thank Robert. > > poc > ___ > users mailing list -- users@li

Re: Restoring a QEMU snapshot

2017-03-28 Thread Patrick O'Callaghan
On Tue, 2017-03-28 at 12:38 -0500, Robert Nichols wrote: > > > What you have is not a snapshot.  A snapshot is created with "qemu-img > > > snapshot -c ", and that is _not_ a separate > > > file.  That "" is not a file name but just a tag to > > > identify one of possibly several snapshots with

Re: Restoring a QEMU snapshot

2017-03-28 Thread Patrick O'Callaghan
On Tue, 2017-03-28 at 10:21 -0600, InvalidPath wrote: > Ahh interesting. Thanks for this info Patrick. I think you meant to thank Robert. poc ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedor

Re: Restoring a QEMU snapshot

2017-03-28 Thread Robert Nichols
On 03/28/2017 10:28 AM, Patrick O'Callaghan wrote: On Tue, 2017-03-28 at 09:13 -0500, Robert Nichols wrote: On 03/27/2017 12:31 PM, Patrick O'Callaghan wrote: I have a QEMU image snapshot: $ sudo qemu-img info /var/lib/libvirt/images/Windows10.qcow2 image: /var/lib/libvirt/images/Windows10.qco

Re: Restoring a QEMU snapshot

2017-03-28 Thread InvalidPath
On Tue, Mar 28, 2017 at 8:13 AM, Robert Nichols wrote: > On 03/27/2017 12:31 PM, Patrick O'Callaghan wrote: > >> I have a QEMU image snapshot: >> >> $ sudo qemu-img info /var/lib/libvirt/images/Windows10.qcow2 >> image: /var/lib/libvirt/images/Windows10.qcow2 >> file format: qcow2 >> virtual size

Re: Restoring a QEMU snapshot

2017-03-28 Thread Patrick O'Callaghan
On Tue, 2017-03-28 at 09:13 -0500, Robert Nichols wrote: > On 03/27/2017 12:31 PM, Patrick O'Callaghan wrote: > > I have a QEMU image snapshot: > > > > $ sudo qemu-img info /var/lib/libvirt/images/Windows10.qcow2 > > image: /var/lib/libvirt/images/Windows10.qcow2 > > file format: qcow2 > > virtual

Re: Restoring a QEMU snapshot

2017-03-28 Thread Robert Nichols
On 03/27/2017 12:31 PM, Patrick O'Callaghan wrote: I have a QEMU image snapshot: $ sudo qemu-img info /var/lib/libvirt/images/Windows10.qcow2 image: /var/lib/libvirt/images/Windows10.qcow2 file format: qcow2 virtual size: 20G (21474836480 bytes) disk size: 196K cluster_size: 65536 backing file:

Re: Restoring a QEMU snapshot

2017-03-28 Thread InvalidPath
On Mar 28, 2017 6:28 AM, "Patrick O'Callaghan" wrote: On Mon, 2017-03-27 at 13:35 -0600, InvalidPath wrote: > > > You have all the required permissions I'm sure, yes? > > > > I'm using sudo, so yes. > > > > poc > > ___ > > users mailing list -- users@li

Re: Restoring a QEMU snapshot

2017-03-28 Thread Patrick O'Callaghan
On Mon, 2017-03-27 at 13:35 -0600, InvalidPath wrote: > > > You have all the required permissions I'm sure, yes? > > > > I'm using sudo, so yes. > > > > poc > > ___ > > users mailing list -- users@lists.fedoraproject.org > > To unsubscribe send an email t

Re: Restoring a QEMU snapshot

2017-03-27 Thread InvalidPath
On Mon, Mar 27, 2017 at 1:31 PM, Patrick O'Callaghan wrote: > On Mon, 2017-03-27 at 12:00 -0600, InvalidPath wrote: > > On Mon, Mar 27, 2017 at 11:31 AM, Patrick O'Callaghan < > pocallag...@gmail.com > > > wrote: > > > I have a QEMU image snapshot: > > > > > > $ sudo qemu-img info /var/lib/libvir

Re: Restoring a QEMU snapshot

2017-03-27 Thread Patrick O'Callaghan
On Mon, 2017-03-27 at 12:00 -0600, InvalidPath wrote: > On Mon, Mar 27, 2017 at 11:31 AM, Patrick O'Callaghan > wrote: > > I have a QEMU image snapshot: > > > > $ sudo qemu-img info /var/lib/libvirt/images/Windows10.qcow2 > > image: /var/lib/libvirt/images/Windows10.qcow2 > > file format: qcow2 >

Re: Restoring a QEMU snapshot

2017-03-27 Thread InvalidPath
On Mon, Mar 27, 2017 at 11:31 AM, Patrick O'Callaghan wrote: > I have a QEMU image snapshot: > > $ sudo qemu-img info /var/lib/libvirt/images/Windows10.qcow2 > image: /var/lib/libvirt/images/Windows10.qcow2 > file format: qcow2 > virtual size: 20G (21474836480 bytes) > disk size: 196K > cluster_s