Re: is it possible to create a snapshot from a guest residing in a plain partition ?

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

 



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

Attachment: signature.asc
Description: OpenPGP digital 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