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] DomU Lock on xm restore

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] DomU Lock on xm restore
From: David Della Vecchia <ddv@xxxxxxxxxxxxxxxx>
Date: Fri, 21 Oct 2011 16:30:54 -0400
Delivery-date: Fri, 21 Oct 2011 13:32:19 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=+NMbSy6LWznlqO6PjifXIpoC+pgAyGl9I3xtEsXqur8=; b=BJGdGbYbmzz+S4xYST1p+fUaHoxCh4Tj3BqihB7phaPEYQSRbH7VOH5dpa6y+DTBFS RQR5+nPxZBF3zSZP37Jnf+2+lrk/X+zi1gGqWv6e7C9D3rY2DpTf291yuSGxaKTiU0b2 K4lRUg/bS4snbkGrP2c9tv69EZ3rM+tjEs8vg=
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Here is my setup on this server: 
Debian Wheezy (testing) with kernel 3.0.1 and xen 4.1.1 installed via apt-get 
DomU storage is lvm-based over iscsi

Everything else works fine as far as i can tell however when i do an xm save and then try to xm restore the domain does not come back fully, it gets added to the xm list but the cpu time used sits at 0.0 and when i console to it it does not respond to any keystrokes (except to escape out of the console)

I don't see any error messages in the /var/log/xend.log and xen-debug.log and i have logging turned way up. 

Here is the procedure i follow:
gibson:~# xm create zetas
Using config file "/etc/xen/zetas".
Started domain zetas (id=6)
gibson:~# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  2048     4     r-----    932.5
zetas                                        6   512     4     -b----      2.1
gibson:~#
gibson:~# xm save zetas zetas.xmsave2
gibson:~# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  2048     4     r-----    922.6
gibson:~# xm restore zetas.xmsave2 
gibson:~# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  2048     4     r-----    929.3
zetas                                        7   512     4     -b----      0.0
gibson:~#

Here is the DomU config file as generated by xen-tools:

#
# Configuration file for the Xen instance zetas.darkholdings.com, created
# by xen-tools 4.2.1 on Fri Oct 21 01:15:30 2011.
#

#
#  Kernel + memory size
#
kernel      = '/usr/lib/xen-4.1/boot/pv-grub-x86_64.gz'

extra     = '(hd0)/boot/grub/menu.lst'

vcpus       = '4'
memory      = '512'
cpu_weight  = '512'
#
#  Disk device(s).
#
disk        = [ 'phy:/dev/vg_san/zetas.darkholdings.com-disk,xvda1,w','phy:/dev/vg_san/zetas.darkholdings.com-swap,xvdb1,w' ]


#
#  Physical volumes
#


#
#  Hostname
#
name            = 'zetas'
hostname        = 'zetas.darkholdings.com'

#
#  Networking
#
vif         = [ 'ip=173.244.165.28,mac=00:16:3E:74:A2:F6,vifname=zetas,bridge=eth0' ]

#
#  Behaviour
#
>
on_reboot   = 'restart'
on_crash    = 'restart'

xen_shell = 'zetas'
################################################

Anyone have any ideas? 

Thanks,
David
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>