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.