11-03-2014
Snapshot revert fails in my KVM setup
Hi All,
I am trying to revert a snapshot and I am getting the below error message in my KVM setup (RHEL6.5). Reverting to a snapshot is failing.
Quote:
#virsh snapshot-revert TestImg Deployed-Stage --force
error: An error occurred, but the cause is unknown
I used the below command to create the snapshot.
Quote:
virsh snapshot-create-as TestImg Deployed-Stage --disk-only --atomic --no-metadata
Below is my snapshot list:
virsh snapshot-list TestImg –tree
Quote:
Deployed-Stage
|
+- Snapshot1
|
+- Snapshot2
Snapshot Info:
Quote:
virsh snapshot-info TestImg --snapshotname Deployed-Stage
Name: Deployed-Stage
Domain: TestImg
Current: no
State: shutoff
Location: external
Parent: -
Children: 1
Descendants: 2
Metadata: yes
Virsh version:
Quote:
virsh version
Compiled against library: libvirt 0.10.2
Using library: libvirt 0.10.2
Using API: QEMU 0.10.2
Running hypervisor: QEMU 0.12.1
libvirtd.log has below warning message
Quote:
2014-11-03 14:14:17.261+0000: 8025: warning : qemuDomainSnapshotForEachQcow2Raw:1723 : skipping snapshot action on vda
Please help me on this.
Thanks,
Kalpeer
Last edited by kalpeer; 11-03-2014 at 10:16 AM..
Reason: Update the text
10 More Discussions You Might Find Interesting
1. Solaris
hi i have created a pool using zpool command for my /dev/dsk/c1d0s3 disk.
The poolname is qwertyuiopasdfghjklmnbvcxzzxcvbnmasdfghjklqwertyuiopoiuytrewqasdfghjklkjhgfdsazxcvbnmmnbnbcxczxzassd
ddddvfhfghgjjgjhgkhkljfjlhohihiuyuioyguioyguiowyuiogwyuigwrigywuigyguiyuiogyugiyguioyuyguiowygiuygui... (1 Reply)
Discussion started by: SankarV
1 Replies
2. AIX
I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it?
I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame.
Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies
3. Emergency UNIX and Linux Support
Instead of importing a project/folder as
svn import vlsms/ file:///home/repo/vlsms -m "Initial Upload"
I did
svn import vlsms/ file:///home/repo -m "Initial Upload"
How to undo this import (in a clean way,without trace?)
---------- Post updated at 03:10 AM ---------- Previous update was at... (0 Replies)
Discussion started by: johnbach
0 Replies
4. Linux
Long story short, there was some sort of corruption with my ide and the script I was working on has been over written with nothing (the file is blank now). The IDE doesn't store a back up from what I know (I'm using notepadd++ in wine lol I know I know I'm addictted to the nppftp sidebar and geany... (1 Reply)
Discussion started by: noPermissions
1 Replies
5. HP-UX
All,
I have inherited some software that is running on HP-HX 11.11. The software ofers a GUI login and the user passwords can be either internal to the software, user defined or based on the matching unix account. The problem I have is that the server has been converted to 'trusted' years... (7 Replies)
Discussion started by: rbatte1
7 Replies
6. UNIX for Advanced & Expert Users
I thought I would share gmail revert to old look permanently. I am sure I am not the only one annoyed by the new look.
Install Stylish extension
Choose the Stylish UserStyle that you want.
I know The Return of Old Gmail and gmail-b2b both work but I prefer gmail-b2b since I think it looks... (0 Replies)
Discussion started by: cokedude
0 Replies
7. UNIX for Advanced & Expert Users
Hi,
I have deleted a file and commited in CVS.
So, is there any CVS command to revert back that deleted file with existing log messages.
--Thanks in advance
Madhu (1 Reply)
Discussion started by: madhuti
1 Replies
8. Emergency UNIX and Linux Support
I know, its stupid..
MYSQL on CENTOS 5 using WHM
Imported a lot of users/posts from old forum to new forum, but my backup was lost.
Can I somehow simply remove all mysql table changes for the last 3 hours, returning to pre-import status.
---------- Post updated at 03:44 AM ----------... (6 Replies)
Discussion started by: lawstudent
6 Replies
9. UNIX for Dummies Questions & Answers
I have given as:
PS1="Karthick>" in linux.
Now the prompt changed as:
Karthick>
Now I need to get back the default prompt .
How to achieve this?
Thanks in advance (13 Replies)
Discussion started by: karthick nath
13 Replies
10. Ubuntu
Hi,
I copied the key of rsa.pub to authorized_keys using the below command
cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys
By mistake i have executed another command
view cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys
so now additional keys are copied.so please help me... (3 Replies)
Discussion started by: SA_Palani
3 Replies
LEARN ABOUT DEBIAN
sys::virt::domainsnapshot
Sys::Virt::DomainSnapshot(3pm) User Contributed Perl Documentation Sys::Virt::DomainSnapshot(3pm)
NAME
Sys::Virt::DomainSnapshot - Represent & manage a libvirt guest domain
DESCRIPTION
The "Sys::Virt::DomainSnapshot" module represents a guest domain managed by the virtual machine monitor.
METHODS
my $str = $domss->get_name()
Return the name of the snapshot
my $xml = $domss->get_xml_description($flags)
Returns an XML document containing a complete description of the domain's configuration.
$domss->delete($flags)
Deletes this snapshot object & its data. The optional $flags parameter controls what should be deleted via the
"Sys::Virt::DomainSnapshot::DELETE_*" constants.
$domss->revert_to($flags)
Revert the domain to the state associated with this snapshot. The optional $flags control the state of the vm after the revert via the
"Sys::Virt::DomainSnapshot::REVERT_*" constants.
$parentss = $domss->get_parent();
Return the parent of the snapshot, if any
$count = $domss->num_of_child_snapshots()
Return the number of saved snapshots which are children of this snapshot
@names = $domss->list_child_snapshot_names()
List the names of all saved snapshots which are children of this snapshot . The names can be used with the "lookup_snapshot_by_name"
@snapshots = $domss->list_child_snapshots()
Return a list of all snapshots that are children of this snapshot. The elements in the returned list are instances of the
Sys::Virt::DomainSnapshot class.
CONSTANTS
SNAPSHOT CREATION
The following constants are useful when creating snapshots
Sys::Virt::DomainSnapshot::CREATE_CURRENT
Set the defined snapshot to be the current snapshot
Sys::Virt::DomainSnapshot::CREATE_DISK_ONLY
Only snapshot the disk, not the memory state
Sys::Virt::DomainSnapshot::CREATE_HALT
Stop the guest after creating the snapshot
Sys::Virt::DomainSnapshot::CREATE_NO_METADATA
Do not save any metadata for the snapshot
Sys::Virt::DomainSnapshot::CREATE_REDEFINE
Replace/set the metadata with the snapshot
Sys::Virt::DomainSnapshot::CREATE_QUIESCE
Quiesce the guest disks while taking the snapshot
Sys::Virt::DomainSnapshot::CREATE_REUSE_EXT
Reuse the existing snapshot data files (if any)
Sys::Virt::DomainSnapshot::CREATE_ATOMIC
Create multiple disk snapshots atomically
SNAPSHOT DELETION
The following constants are useful when deleting snapshots
Sys::Virt::DomainSnapshot::DELETE_CHILDREN
Recursively delete any child snapshots
Sys::Virt::DomainSnapshot::DELETE_CHILDREN_ONLY
Only delete the child snapshots
Sys::Virt::DomainSnapshot::DELETE_METADATA_ONLY
Only delete the snapshot metadata
SNAPSHOT LIST
The following constants are useful when listing snapshots
Sys::Virt::DomainSnapshot::LIST_METADATA
Only list snapshots which have metadata
Sys::Virt::DomainSnapshot::LIST_ROOTS
Only list snapshots which are root nodes in the tree
Sys::Virt::DomainSnapshot::LIST_DESCENDANTS
Only list snapshots which are descendants of the current snapshot
Sys::Virt::DomainSnapshot::LIST_LEAVES
Only list leave nodes in the snapshot tree
SNAPSHOT REVERT
The following constants are useful when reverting snapshots
Sys::Virt::DomainSnapshot::REVERT_PAUSED
Leave the guest CPUs paused after reverting to the snapshot state
Sys::Virt::DomainSnapshot::REVERT_RUNNING
Start the guest CPUs after reverting to the snapshot state
Sys::Virt::DomainSnapshot::REVERT_FORCE
Force the snapshot to revert, even if it is risky to do so
AUTHORS
Daniel P. Berrange <berrange@redhat.com>
COPYRIGHT
Copyright (C) 2006 Red Hat Copyright (C) 2006-2007 Daniel P. Berrange
LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of either the GNU General Public License as
published by the Free Software Foundation (either version 2 of the License, or at your option any later version), or, the Artistic License,
as specified in the Perl README file.
SEE ALSO
Sys::Virt, Sys::Virt::Error, "http://libvirt.org"
perl v5.14.2 2012-05-21 Sys::Virt::DomainSnapshot(3pm)