LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 12-19-2018, 05:14 PM   #1
ptrivino
Member
 
Registered: May 2008
Location: San Diego CA
Distribution: CentOS
Posts: 40

Rep: Reputation: 5
Question Snapshot converted KVM guest?


I built a CentOS 7.6.1810 KVM (libvirtd 4.5.0) system, and I have several VMWare converted guests. The guests are CentOS 7.4, Windows 7 Pro, and Windows Server 2008 or 2012 (I think). I have also built a single (so far) CentOS 7.6.1810 guest "natively" (i.e., not converted from VMWare) under this system.

The only one of which I am able to create a snapshot is the native-built CentOS 7 guest. All the rest give an error for which there's not a lot of information:

Quote:
Error creating snapshot: internal error: Child process (/usr/bin/qemu-img snapshot -c Testsnap1) unexpected exit status 1
Naturally, since I'm writing a post asking for help, when I tried again on the CentOS 7.4 guest which is now running (all the previous attempts were on stopped VMs), it worked. The other difference is that I used a snapshot name 'snapshot1' with only alphanumeric characters, and I used 'xxx' for description (no spaces, no non-a/n characters).

Does anyone know if there are rules I haven't found yet, concerning snapshots on converted guests, and/or running vs. stopped guests?

Thanks - Paul
 
Old 12-19-2018, 05:19 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quick answer: No, I don’t know, but libvirt should have a log file with more information. If necessary, increase the log level.

EDIT: I should have asked you how you take the snapshot.

Last edited by berndbausch; 12-19-2018 at 05:22 PM.
 
Old 12-19-2018, 05:53 PM   #3
ptrivino
Member
 
Registered: May 2008
Location: San Diego CA
Distribution: CentOS
Posts: 40

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by berndbausch View Post
Quick answer: No, I don’t know, but libvirt should have a log file with more information. If necessary, increase the log level.

EDIT: I should have asked you how you take the snapshot.
The successful one I did in the "Virtual Machine Manager" GUI, View | Snapshots | "+" button, Name=snapshot1, Desc='xxx'

The successful one on my CentOS 7.6 guest was in the cli: sudo virsh snapshot-create-as --domain pactest --name "D20181214-B4-xrdp" --description "C7.6.1810 before adding xrdp"

Paul
 
Old 12-19-2018, 06:50 PM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by ptrivino View Post
The successful one I did in the "Virtual Machine Manager" GUI, View | Snapshots | "+" button, Name=snapshot1, Desc='xxx'

The successful one on my CentOS 7.6 guest was in the cli: sudo virsh snapshot-create-as --domain pactest --name "D20181214-B4-xrdp" --description "C7.6.1810 before adding xrdp"

Paul
I suppose you also used VMM or virsh for the unsuccessful snapshots.

That means you use libvirt. The log file and logging options are probably defined in /etc/libvirt/libvirtd.conf. At least that's the location on RHEL-derived distros and Fedora. Check if there is anything in the log; if not, increase the log level and try again.
 
  


Reply

Tags
kvm



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel-based Virtual Machine (KVM): Switching from KVM guest to host (e.g. Linux Mint) & maximize guest screen fanoflq Linux - Newbie 2 07-13-2016 06:10 PM
How to take a Snapshot of a KVM at Location A and Restore that Snapshot at Location B LinuxRSA Linux - Virtualization and Cloud 4 06-22-2016 11:59 AM
How to get snapshot backup the KVM Virtual Guest ? splinux Linux - Virtualization and Cloud 0 06-30-2012 01:06 AM
Guest to Host message passing - guest's memory usage statistics & guest's IP address Prince_Pangeni Linux - Virtualization and Cloud 2 03-03-2012 03:06 AM
KVM: Mouse under Windows Guest performs way better than under Centos Guest martdj Linux - Virtualization and Cloud 3 03-29-2010 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 09:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration