[libvirt-users] Snapshot of single block device
Peter Krempa
pkrempa at redhat.com
Wed May 29 07:55:40 UTC 2019
On Wed, May 29, 2019 at 09:32:37 +0200, jarek wrote:
> Hello!
>
> I have a guest with one qcow2 disk image (vda) and one physical
> partition (sda) from host. When I'm trying to get snapshot with:
>
> virsh snapshot-create-as .....
>
> It fails with message: error: unsupported configuration: source for
> disk 'sda' is not a regular file; refusing to generate external
> snapshot name
According to this error message it looks like you are attempting to do
an external snapshot, e.g. by using --disk-only.
This is fortunate because external snapshots can be selected on a per
disk basis:
>
> 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
-------------- 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/7240a0f6/attachment.sig>
More information about the libvirt-users
mailing list