[libvirt-users] Snapshot of single block device

Peter Krempa pkrempa at redhat.com
Wed May 29 12:12:51 UTC 2019


On Wed, May 29, 2019 at 13:35:12 +0200, jarek wrote:
> Hi,
> 
> W dniu 29.05.2019, śro o godzinie 09∶55 +0200, użytkownik Peter Krempa
> napisał:
> > I understand, that it is not possible to make a snapshot of
> > > physical
> > > device, but it is enough for me to take snapshot of vda. How to
> > > force
> > > virsh to ignore sda ?
> > 
> > --diskspec sda,snapshot=no
> 
> now it works, thanks a lot!

By the way. You can also create a snapshot of sda, but you need to
specify the destination of the overlay manually e.g.:

--diskspec sda,file=/path/to/sda.snap.qcow2

Libvirt just does not want to generate the filename for block devices
since we can't know where to put the snapshot.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20190529/6f751715/attachment.sig>


More information about the libvirt-users mailing list