mailist at sokol.dynalias.net
2007-Jul-22 11:49 UTC
[CentOS] Issue with CentOS 4.5 as DomU
Hello list, I want to virtualize my physical CentOS 4.5 yet. Therefor I download the CentOS 4.5 iso. After mounting the iso on my notebook and make the mounted iso available via nfs I start on my CentOS 5 xen machine following command: virt-install -n myServer --ram=512 -f /virt/myServer.disk -s 150 --nographics -p --location=nfs:nbk:/media/centos This works for CentOS 5 DomUs but CentOS 4.5 brings following error: tail -n20 /var/log/xen/xend.log: [2007-07-22 13:46:23 xend 2385] DEBUG (image:203) cmdline = method=nfs:nbk:/media/centos [2007-07-22 13:46:23 xend 2385] DEBUG (image:204) ramdisk /var/lib/xen/initrd.img.MVoEr1 [2007-07-22 13:46:23 xend 2385] DEBUG (image:205) vcpus = 1 [2007-07-22 13:46:23 xend 2385] DEBUG (image:206) features [2007-07-22 13:46:23 xend.XendDomainInfo 2385] ERROR (XendDomainInfo:202) Domain construction failed Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 195, in create vm.initDomain() File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1377, in initDomain raise VmError(str(exn)) VmError: (22, 'Invalid argument') [2007-07-22 13:46:23 xend.XendDomainInfo 2385] DEBUG (XendDomainInfo:1463) XendDomainInfo.destroy: domid=16 [2007-07-22 13:46:23 xend.XendDomainInfo 2385] DEBUG (XendDomainInfo:1471) XendDomainInfo.destroyDomain(16) [2007-07-22 13:46:23 xend 2385] ERROR (SrvBase:88) Request create failed. Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/web/SrvBase.py", line 85, in perform return op_method(op, req) File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 82, in op_create raise XendError("Error creating domain: " + str(ex)) XendError: Error creating domain: (22, 'Invalid argument') Any suggestions? Thanks.
On Sun, 2007-07-22 at 13:49 +0200, mailist at sokol.dynalias.net wrote:> Hello list, > > I want to virtualize my physical CentOS 4.5 yet. Therefor I download the > CentOS 4.5 iso. After mounting the iso on my notebook and make the mounted > iso available via nfs I start on my CentOS 5 xen machine following command: > > virt-install -n myServer --ram=512 -f /virt/myServer.disk -s 150 > --nographics -p --location=nfs:nbk:/media/centos > > This works for CentOS 5 DomUs but CentOS 4.5 brings following error: > > tail -n20 /var/log/xen/xend.log: > [2007-07-22 13:46:23 xend 2385] DEBUG (image:203) cmdline = > method=nfs:nbk:/media/centos > [2007-07-22 13:46:23 xend 2385] DEBUG (image:204) ramdisk > /var/lib/xen/initrd.img.MVoEr1 > [2007-07-22 13:46:23 xend 2385] DEBUG (image:205) vcpus = 1 > [2007-07-22 13:46:23 xend 2385] DEBUG (image:206) features > [2007-07-22 13:46:23 xend.XendDomainInfo 2385] ERROR (XendDomainInfo:202) > Domain construction failed > Traceback (most recent call last): > File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", > line 195, in create > vm.initDomain() > File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", > line 1377, in initDomain > raise VmError(str(exn)) > VmError: (22, 'Invalid argument') > [2007-07-22 13:46:23 xend.XendDomainInfo 2385] DEBUG (XendDomainInfo:1463) > XendDomainInfo.destroy: domid=16 > [2007-07-22 13:46:23 xend.XendDomainInfo 2385] DEBUG (XendDomainInfo:1471) > XendDomainInfo.destroyDomain(16) > [2007-07-22 13:46:23 xend 2385] ERROR (SrvBase:88) Request create failed. > Traceback (most recent call last): > File "/usr/lib64/python2.4/site-packages/xen/web/SrvBase.py", line 85, in > perform > return op_method(op, req) > File > "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line > 82, in op_create > raise XendError("Error creating domain: " + str(ex)) > XendError: Error creating domain: (22, 'Invalid argument') > > Any suggestions? Thanks.I see that you're using x86_64 ... is the CentOS 4.5 iso that you've downloaded also x86_64 ? -- Fabian Arrotin <fabian.arrotin at arrfab.net> Solution ? echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq' | dc -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20070722/527814ca/attachment.sig>