xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Save/Restore is not working properly
@ 2016-08-07 15:21 Cendrin Sa
  2016-08-07 17:23 ` Cendrin Sa
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Cendrin Sa @ 2016-08-07 15:21 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 661 bytes --]

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?



*
#!/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

[-- Attachment #1.2: Type: text/html, Size: 861 bytes --]

[-- Attachment #2: Type: text/plain, Size: 127 bytes --]

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-08-29 10:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).