Displaying 20 results from an estimated 9000 matches similar to: "virsh snapshot-create --print-xml seems to ignore most arguments"
2019 Apr 25
1
Live Disk Backup with Active Blockcommit
Hi!
I was reading the Wiki about 'Live Disk Backup with Active Blockcommit, https://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit
and see that example shown seems to be using two different names for the same file.
First showing the current block device in use:
$ virsh domblklist vm1
Target Source
------------------------------------------------
vda
2018 Mar 22
0
回复: Fwd: About libvirt domain snapshot problem(for single disk snapshot)
My negligence。
--
James Iter
在 2018年3月22日 星期四,下午11:02,Dominik Psenner 写道:
> I believe that Your mail went to the wrong recipient. As far as I'm
> concerned it should have been sent to the libvirt-users mailing list,
> shouldn't it?
>
>
> On 2018-03-22 15:55, James Iter wrote:
> > Thank your reply.
> > I found the method.
> > Now, I sharing
2014 May 22
0
Re: Live snapshots of a single block device
On 05/22/2014 04:31 PM, Andrew Martin wrote:
> Hello,
>
[Can you convince your mailer to wrap long lines?]
> I am working on a script to automatically create live snapshots of
> running VMs using qemu-kvm 1.4.0 and libvirt 1.0.2. If a VM has
Any reason you aren't upgrading to newer versions? Although these seem
sufficient for what you are trying.
> multiple disks, I'd
2018 Mar 20
2
About libvirt domain snapshot problem(for single disk snapshot)
Hi, dear friend.
My guest has two disks, vda and vdb. both are qcow2 local file.
When guest running state.
I want to take the vda snapshot of guest(just vda, no include vdb). but I met libvirt do snapshot for all disks of guest.
About methods for follow:
1、
``` bash
virsh
snapshot-create-as 8x0lbzvS --name sys_disk3 --disk-only --diskspec "vda,snapshot=external"
```
``` result
2013 Jun 26
0
Re: snapshot-create-as for a single disk not all disks
Thank you!
But snapshot-create-as will traverse all disks of the virtual machine and create snapshots for all of them. In my case, I want to create snapshot for root disk.
What's more. I understand "--diskspec" is a description of the disk. Do you mean it's used to specify a single disk to snapshot.
在 2013-06-26 09:10:31,"Gao Yongwei" <itxx00@gmail.com> 写道:
2014 May 22
2
Live snapshots of a single block device
Hello,
I am working on a script to automatically create live snapshots of running VMs using qemu-kvm 1.4.0 and libvirt 1.0.2. If a VM has multiple disks, I'd like to back them up individually with separate calls to snapshot-create-as, so I can more easily manage the disk images. The code I have now is essentially as follows:
virsh snapshot-create-as --domain "vmname" --name
2019 Jun 19
0
libvirtd does not update VM .xml configurations on filesystem after virsh snapshot/blockcommit
Hi,
Recently We've upgraded some KVM hosts from Fedora 29 to Fedora 30 and
now experience broken VM configurations on filesystem after virsh blockcommit.
Commands "virsh dumpxml ..." and "virsh dumpxml --inactive ..." is showing diffrent configuration than the one on filesystem.
In case of restart libvirtd or system reboot, there are broken VM xml configurations on
2013 Jun 26
2
Re: snapshot-create-as for a single disk not all disks
try snapshot-create-as like below:
virsh snapshot-create-as vm --disk-only --diskspec "vda,snapshot=external"
2013/6/25 cmcc.dylan <dx10years@126.com>
>
> Hi, everyone,
> I have found the API snapshotCreateXML() can create a snapshot for a
> virtual machine, and the xml configuration file - snapshot.xml as folllows:
> <domainsnapshot>
>
2015 Aug 13
0
Re: virsh create snapshot not honoring diskspec?
On 08/07/2015 09:53 AM, Silver Sky Soft Services, Inc. wrote:
> Hi,
> I'm trying to create a snapshot on a specific disk by using diskspec
> option. However, libvirt/virsh seems to ignore it and takes a snapshot of
> all disks. Am I using this option incorrectly?
>
> In below examples, I'm trying to snapshot only vdb. However even vda is
> getting snapshotted
2014 Apr 10
0
Re: Help with understanding and solving snapshot problem
On 04/10/2014 04:38 PM, rolf wrote:
>> [Can you convince your mailer to wrap long lines? It makes it easier
>> for other readers]
>
> I’ll try and keep the lines short. I don’t see any obvious setting to change the wrap.
Thanks for being accommodating; this was indeed easier to read (alas,
many web mailers these days lack settings for automatic wrap, so I end
up whacking the
2015 Oct 19
1
Re: virsh can't support VM offline blockcommit
Hi Kashyap Chamarthy:
thank you very much for answer my question:
一: lead to VM filesystem becoming read-only
1: test case
it lead to VM filesystem becoming read-only test case as follows:
we want to snapshot for VM , to obtain VM incremental data,and use virsh blockcommit,qemu-img commit,qemu-img rebase to shorten snapshot chain.
Details are as follows(when VM running state, we perform the
2017 Aug 23
0
Re: snapshot anomaly
Hi,
Can you try this command:
virsh snapshot-delete serv1r2 snap --metadata
On Wed, Aug 23, 2017 at 4:41 PM, Doug Hughes <doug.hughes@keystonenap.com>
wrote:
> I'm not sure how this snapshot got created, but, I cannot delete it, and
> its presence prevents me from creating other snapshots. I don't know if it
> was created by a command gone amok or something else.
>
2015 Aug 07
3
virsh create snapshot not honoring diskspec?
Hi,
I'm trying to create a snapshot on a specific disk by using diskspec
option. However, libvirt/virsh seems to ignore it and takes a snapshot of
all disks. Am I using this option incorrectly?
In below examples, I'm trying to snapshot only vdb. However even vda is
getting snapshotted regardless of diskspec. Is this a known issue?
I'm on CentOS 7.1, libvirtd (libvirt) 1.2.8, virsh
2011 Oct 12
1
XML file format for snapshot-create
I've created a very basic snapshot XML file, to allow for a description of
the snapshot. However when running the virsh command, it doesn't like the
formatting.
# virsh snapshot-create proxy_0 /vmstore/proxy_0/proxy_0_ss.xml
error: XML description for failed to parse snapshot xml document is not well
formed or invalid
This are the XML file contents...
# cat proxy_0_ss.xml
2017 Aug 23
0
Re: snapshot anomaly
I had the same problem yesterday. I found the solution from this article
https://kashyapc.fedorapeople.org/virt/lc-2012/snapshots-handout.html.
According to the article it deletes the tracking metadata by libvirt.
You can physically remove the snapshot now that there is no tracking stream
data by libvirt
On Wed, Aug 23, 2017 at 4:56 PM, Doug Hughes <doug.hughes@keystonenap.com>
wrote:
2019 Mar 20
2
virsh snapshot-create-as: change umask on snapshots
I scripted the creation of snapshots and it works fine. Now I'd like to run the script as non-root.
virsh snapshot-create-as --domain hq-live-v01 \
--name snappy \
--diskspec vda,file=/var/lib/libvirt/images/hq-live-v01.snappy,snapshot=external \
--diskspec vdb,file=/var/lib/libvirt/images/hq-live-storage.snappy,snapshot=external \
--disk-only --quiesce --atomic
This
2014 May 23
2
Re: Live snapshots of a single block device
----- Original Message -----
> From: "Eric Blake" <eblake@redhat.com> To: "Andrew Martin"
> <amartin@xes-inc.com>, libvirt-users@redhat.com Sent: Thursday, May 22, 2014
> 5:44:54 PM Subject: Re: [libvirt-users] Live snapshots of a single block
> device
>
> On 05/22/2014 04:31 PM, Andrew Martin wrote:
> > Hello,
> >
>
> [Can you
2019 Mar 22
1
Re: virsh snapshot-create-as: change umask on snapshots
On Wed, Mar 20, 2019 at 15:48:43 -0500, Eric Blake wrote:
> On 3/20/19 1:50 PM, Mircea Husz wrote:
> > I scripted the creation of snapshots and it works fine. Now I'd like to run the script as non-root.
> >
> > virsh snapshot-create-as --domain hq-live-v01 \
> > --name snappy \
> > --diskspec
2019 Mar 20
0
Re: virsh snapshot-create-as: change umask on snapshots
On 3/20/19 1:50 PM, Mircea Husz wrote:
> I scripted the creation of snapshots and it works fine. Now I'd like to run the script as non-root.
>
> virsh snapshot-create-as --domain hq-live-v01 \
> --name snappy \
> --diskspec vda,file=/var/lib/libvirt/images/hq-live-v01.snappy,snapshot=external \
> --diskspec
2012 Sep 13
1
After a 'virsh blockpull', 'virsh snapshot-list --tree' o/p does not reflect reality
Hi (Eric?),
A couple of questions while using the 'virsh blockpull'
Summary:
1] Created snapshots this way: base<-snap1<-snap2<-snap3 (online, external snapshot
--disk-only)
2] I did a 'virsh blockpull' from snap2 into snap3
3] Next, did another 'virsh blockpull' from snap1 into snap3
- Here, 'qemu-img info /path/to/snap3' shows its backing file