Mailing List Archive

Can't restore a domain
Hi

I'm trying to restore a domain, but get an error when doing so. The xend.log file is below. The domain appears in "xm list" following the restore, but it is paused and the "xm unpause" command returns "Error: (22, 'Invalid argument')".

[root@ngstest root]# xm list
Name Id Mem(MB) CPU State Time(s) Console
Domain-0 0 245 0 r---- 6346.7
td2 4 128 0 --p-- 0.0 9604

Any help would be appreciated, especially if it's something obvious ;-)

Kind Regards

Kevin Haines
System Administrator
R.A.L.

/var/log/xend.log:
===================

[2005-07-05 09:53:42 xend] INFO (XendMigrate:421) restore BEGIN: ['restore', ['id', '3'], ['file', '/root/tiny']]
[2005-07-05 09:53:42 xend] INFO (XendRoot:112) EVENT> xend.restore ['begin', ['restore', ['id', '3'], ['file', '/root/tiny']]]
[2005-07-05 09:53:43 xend] INFO (XendRoot:112) EVENT> xend.domain.create ['Domain-4', '4']
[2005-07-05 09:53:43 xend] DEBUG (XendDomain:384) domain_configure> id=4 config=['vm', ['name', 'td2'], ['memory', '128'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.4.30-xenU'], ['root', '/dev/sda1 ro'], ['args', '3']]], ['device', ['vbd', ['uname', 'file:/xen/ttylinux-xen'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vif', ['mac', 'aa:00:00:00:00:11'], ['bridge', 'xen-br0']]]]
[2005-07-05 09:53:43 xend] INFO (console:94) Created console id=11 domain=4 port=9604
[2005-07-05 09:53:43 xend] DEBUG (XendDomainInfo:1130) Creating vbd dom=4 uname=file:/xen/ttylinux-xen
[2005-07-05 09:53:43 xend] DEBUG (blkif:155) Connecting blkif <BlkifBackendInterface 4 0>
[2005-07-05 09:53:43 xend] DEBUG (XendDomainInfo:1107) Creating vif dom=4 vif=0 mac=aa:00:00:00:00:11
[2005-07-05 09:53:43 xend] INFO (XendRoot:112) EVENT> xend.console.create [11, 4, 9604]
[2005-07-05 09:53:43 xend] INFO (XendRoot:112) EVENT> xend.domain.create ['td2', '4']
[2005-07-05 09:53:44 xend] ERROR (SrvBase:163) op=restore: errors: restore failed
None
[2005-07-05 09:53:44 xend] INFO (XendMigrate:440) Restore ERROR: ['restore', ['id', '3'], ['file', '/root/tiny']]
[2005-07-05 09:53:44 xend] INFO (XendRoot:112) EVENT> xend.restore ['error', ['restore', ['id', '3'], ['file', '/root/tiny']]]


/var/log/xfrd.log:
===================

(xfr.restore /root/tiny)[DEBUG] Conn_sxpr< err=0
[1120553622.950683] xc_linux_restore start

xc_linux_restore start
[1120553622.954841] Created domain 4

Created domain 4
(Domain-0 Domain-4)'domain id=4 name=td2 memory=128 console=9604 image=/boot/vmlinuz-2.4.30-xenU'[1120553623.198715] Reloading memory pages: 0%
Reloading memory pages: 6% 100%[1120553624.334396] Received all pages

Received all pages 100%
100%
[1120553624.340079] Memory reloaded.

Memory reloaded.


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users