
29 May
2019
29 May
'19
3:55 a.m.
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