On 4/4/19 11:57 AM, Lentes, Bernd wrote:
virsh # snapshot-create-as --disk-only --name sn --domain sim
error: unsupported configuration: source for disk 'vdb' is not a regular file;
refusing to generate external snapshot name
That just means that libvirt refuses to create a new block device name
(new file names are easy, new block devices not so much); so you'll have
to tell libvirt what filename (which may or may not be a block device)
to use instead, with the --diskspec parameter. Something like:
snapshot-create-as --disk-only --name sn --domain sim --diskspec
vdb,file=/path/to/file.sn
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization:
qemu.org |
libvirt.org