All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Dunlap <dunlapg@umich.edu>
To: Cendrin Sa <cendrinoe@gmail.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>,
	Wei Liu <Wei.Liu2@citrix.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>
Subject: Re: Save/Restore is not working properly
Date: Wed, 10 Aug 2016 10:31:12 +0100	[thread overview]
Message-ID: <CAFLBxZaZ2ETHwqvZgho-1O51jNbv45Lf-genTonTR7ZJ-9_CtQ@mail.gmail.com> (raw)
In-Reply-To: <CACfP=EPZ9VNNm9OssnNoYeZpcks9RGk6CWGr--i8zCZbYuzaGw@mail.gmail.com>

On Sun, Aug 7, 2016 at 4:21 PM, Cendrin Sa <cendrinoe@gmail.com> wrote:
> Hi,
> I was searching a way to clone a machine using both memory and disk
> approach.
> I checked xen save/restore but after restoring, I can only work some seconds
> with my machine and it will crash with the_kernel_task_hang_up.
> using an script* to clone a machine is not working either.
> so is it a bug or something or I'm cloning the wrong way?

Thanks for the bug report -- but you're missing a lot of important
information to help us figure out what's going wrong.  You need to let
us know what version of Xen you're running, attach all the relevant
config files, and include the relevant console output.

So to begin with -- just to understand -- if you do a simple save /
restore, does that work?

Also, if you just do a save (without pausing), and then restore with
the alternate VM config, does that work?

Thanks,
 -George



>
>
>
> *
> #!/bin/bash
>
> : ${2? "Usage: $0 <domain> <destination>"}
> echo "$1 is source domain id";
> echo "$2 is the destination file to store the image";
> xl save -p $1 $2 ;
> lvremove -f /dev/vg0/vm-clone-lv;
> lvcreate -L10G -s -n vm-clone-lv /dev/vg0/orig-vm ;
> xl restore -e -p /etc/xen/vm-clone.cfg $2;
> xl unpause $1;
>
> --
> Regards
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> https://lists.xen.org/xen-devel
>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  parent reply	other threads:[~2016-08-10  9:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-07 15:21 Save/Restore is not working properly Cendrin Sa
2016-08-07 17:23 ` Cendrin Sa
2016-08-10  9:31 ` George Dunlap [this message]
2016-08-10 11:11 ` Roger Pau Monné
2016-08-10 13:24   ` George Dunlap
2016-08-11 15:18     ` Wei Liu
2016-08-13  6:34       ` Cendrin Sa
2016-08-13  6:40         ` Cendrin Sa
2016-08-19 16:15           ` Cendrin Sa
2016-08-24 10:50             ` Wei Liu
2016-08-24 11:08             ` Roger Pau Monné
2016-08-29 10:27               ` Cendrin Sa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFLBxZaZ2ETHwqvZgho-1O51jNbv45Lf-genTonTR7ZJ-9_CtQ@mail.gmail.com \
    --to=dunlapg@umich.edu \
    --cc=Wei.Liu2@citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=cendrinoe@gmail.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.