WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Error trying to migrate vm

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Error trying to migrate vm
From: Shavian Shakes <shavian78@xxxxxxxxx>
Date: Thu, 6 Oct 2005 19:09:54 -0700
Delivery-date: Fri, 07 Oct 2005 02:07:25 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=Yld7g0RwR4B01KTH75NJvXcMbHAaXTsI8YdnlV4IBtMrdeWcEBom3Bw+YxlmPWMVgnQiy0W/3xMsVEeejjp/JXbrtvfpMB4T4QKs1ZEDPWTpFV4kP/FcN8GKMLLo8uEN6K+nqx42dLzEOnAyPg+3TvYFDdukSkoo15AS25lV+Z8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Shavian Shakes <shavian78@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
 
I get this error trying to migrate a domU:
 
 # xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0      443    0  r----    540.7       
Domain_2_Migrate   7      256    1  -b---      5.0    9607
 
# xm migrate -l Domain_2_Migrate 10.182.12.24
Error: errors: transfer daemon (xfrd) error: 1
 
The /var/log/xfrd log shows:

(xfr.migrate 7 "(domain (id 7) (name Domain_2_Migrate) (memory 256) (maxmem 262144) (state -b---) (cpu 1) (cpu_time 4.956601097) (up_time 1869.840451) (start_time 1128623464.58) (console (status connected) (id 16) (domain 7) (local_port 16) (remote_port 1) (console_port 9607) (connected 127.0.0.1 32798)) (devices (vif (idx 0) (vif 0) (mac aa:00:00:12:d8:cc) (vifname vif7.0) (evtchn 18 4) (index 0)) (vbd (idx 0) (vdev 2049) (device 1792) (mode w) (dev sda1) (uname file:/net/netapp/vol/vol1/neerajk/xen-fs/root_dom2.img) (node /dev/loop0) (index 0))) (config (vm (name Domain_2_Migrate) (memory 256) (image (linux (kernel /boot/vmlinuz- 2.6.8-24.16-xen) (root '/dev/sda1 rw') (args 4))) (device (vbd (uname file:/net/netapp/vol/vol1/neerajk/xen-fs/root_dom2.img) (dev sda1) (mode w))) (device (vif (mac aa:00:00:12:d8:cc))))))" 10.182.12.24 8002 1 0)[DEBUG] Conn_sxpr< err=0
[DEBUG] Conn_connect> addr=10.182.12.24:8002
[DEBUG] Conn_init> flags=1
[DEBUG] Conn_init> write stream...
[DEBUG] stream_init>mode=w flags=1 compress=0
[DEBUG] stream_init> unbuffer...
[DEBUG] stream_init< err=0
[DEBUG] Conn_init> read stream...
[DEBUG] stream_init>mode=r flags=1 compress=0
[DEBUG] stream_init> unbuffer...
[DEBUG] stream_init< err=0
[DEBUG] Conn_sxpr>
(xfr.err 0)[DEBUG] Conn_sxpr< err=0

[1128625334.430336] xc_linux_save start 7

xc_linux_save start 7
[1128625334.431728] Saving memory pages: iter 1   0%
Saving memory pages: iter 1   0%Error when writing to state file (5)
Error when writing to state file (5)
12826 [WRN] XFRD> Transfer errors:
12826 [WRN] XFRD> state=XFR_STATE    err=1
12826 [INF] XFRD> Xfr service err=1

The FS for the domain is kept on a NAS filer. I can start the dom on either machine with the exact same configuration file.

I have made sure that memoery is available on the destination machine. xfrd is also running on both the machines. I have tried migrating in both directions and the result is the same.

Where should I look for debugging ?

-Shavian.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Error trying to migrate vm, Shavian Shakes <=