[et-mgmt-tools] Can't clone a DomU

Daniel P. Berrange berrange at redhat.com
Wed Sep 5 03:33:51 UTC 2007


On Tue, Aug 28, 2007 at 05:09:45PM +0200, Krammer Oliver wrote:
> Hi Everybody,
> 
> I hobe i am at the right list. I used virt-clone for cloning a domu i
> started the clone process with:
> 
> ./virt-clone -o defaultsuse10 -n suseclone01 -f
> /var/lib/xen/images/suseclone01/disk0 -d
> This worked after that i got 
> servxen01:/etc/xen/vm # xm list
> Name                                      ID   Mem VCPUs      State
> Time(s)
> Domain-0                                   0 15093     8     r-----   4509.4
> defaultsuse10                             13  1024     2     -b----     24.6
> suseclone01                                   1024     1                 0.0
> 
> When i start the dom with 
> xm start suseclone01
> Xen will hang up and dosn't respond any more
> 
> The log file give me following statemantes:
> 
> [2007-08-28 19:08:35 xend.XendDomainInfo 31046] DEBUG (XendDomainInfo:1335)
> XendDomainInfo.constructDomain
> [2007-08-28 19:08:35 xend 31046] DEBUG (balloon:146) Balloon: 16724 KiB
> free; need 16384; done.
> [2007-08-28 19:08:35 xend.XendDomainInfo 31046] DEBUG (XendDomainInfo:1382)
> XendDomainInfo.initDomain: 17 256
> [2007-08-28 19:08:35 xend 31113] DEBUG (XendBootloader:69) Launching
> bootloader as ['/usr/lib/xen/boot/domUloader.py', '-q', '--args=TERM=xterm
> ', '--output=/var/run/xend/boot/xenbl.23654',
> '/var/lib/xen/images/suseclone01/disk0'].

If that's the last line in the xend.log, I'd say the bootloader is hanging while
trying to extract the kernel/initrd. What happens if you run the domUloader.py
script directly with the args shown in the log ?


It sounds like the virt-clone command itself completed successfully but it
may be worth checking in /root/.virtinst/virt-clone.log to see if any problems
were logged. Alternatively run it in --debug flag which makes it more verbose.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the et-mgmt-tools mailing list