Re: Snapshot of single block device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux