[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName


  • To: Fasiha Ashraf <feehapk@xxxxxxxxxxx>
  • From: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
  • Date: Mon, 26 Oct 2009 19:59:44 +0800
  • Cc: bderzhavets@xxxxxxxxx, xen <xen-devel@xxxxxxxxxxxxxxxxxxx>, space.time.universe@xxxxxxxxx
  • Delivery-date: Mon, 26 Oct 2009 05:00:27 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=VWsLttKlgXQpUY8EfuvhMykXOWw/mHKemW9KJdGGNMx4AOtOPu/w5V4RXSsCBs7ekN wN0kQGnRB2Vu0UU/8P7DqVHZx3ssPfd8c/dw8h9cO/triZTeYorPinCLlsfnuNTFcN8f y1XVsCmi6HQ+8QDXpGjm+Y8rvmWavr3WD6G2g=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

You don't have free space on your existing harddisk for you to use a physical partition for the virtual harddisk of your guest.

In your case, you need to use disk image files for the virtual harddisk of your virtual machine.

The following command creates a 20 GB disk image file for you to use as virtual harddisk for your guest operating system. This operation will take some time to execute.

Run as root:
# dd if=/dev/zero of=/path/to/guest-os-hdd.img bs=1024k seek=20000 count=0
Then you use the following disk directive in your guest os configuration:

disk = [ 'file:/path/to/guest-os-hdd.img,hda,w' ]


--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore
Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
Email: space.time.universe@xxxxxxxxx
MSN: teoenming@xxxxxxxxxxx
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore

On Mon, Oct 26, 2009 at 7:41 PM, Fasiha Ashraf <feehapk@xxxxxxxxxxx> wrote:
What should be this parameter disk = ['phy:/dev/sdc7,xvda,w' ] in my case. According to my system specs below
[root@Server1-FC11 ~]# fdisk -l

Disk /dev/sda: 438.4 GB, 438489317376 bytes
255 heads, 63 sectors/track, 53309 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000080

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          13      104391   83  Linux
/dev/sda2              14        2180    17406427+  82  Linux swap / Solaris
/dev/sda3            2181       42776   326087370   83  Linux
/dev/sda4           42777       53309    84606322+   5  Extended
/dev/sda5   *       42777       53309    84606291   83  Linux
[root@Server1-FC11 ~]# df -l
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda5             83277720  22241624  56805784  29% /
tmpfs                  4069668        92   4069576   1% /dev/shm
xenstore               4069668        40   4069628   1% /var/lib/xenstored

Regards
Fasiha Ashraf

--- On Mon, 26/10/09, Mr. Teo En Ming (Zhang Enming) <space.time.universe@xxxxxxxxx> wrote:

From: Mr. Teo En Ming (Zhang Enming) <space.time.universe@xxxxxxxxx>
Subject: Re: [Xen-devel] Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName
To: "Fasiha Ashraf" <feehapk@xxxxxxxxxxx>
Cc: bderzhavets@xxxxxxxxx, "xen" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Date: Monday, 26 October, 2009, 3:43 PM


I didn't use virt-manager. I had it un-installed. For PV guests configuration, please see

http://bderzhavets.wordpress.com/2009/06/10/setup-fedora-11-pv-domu-at-xen-3-4-1-dom0-kernel-2-6-30-rc6-tip-on-top-of-fedora-11/

--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore
Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
Email: space.time.universe@xxxxxxxxx
MSN: teoenming@xxxxxxxxxxx
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore

On Mon, Oct 26, 2009 at 6:36 PM, Fasiha Ashraf <feehapk@xxxxxxxxxxx> wrote:
Hi all
I am facing this error while installing Guest VM on FC11 using virt-manager
Unable to complete install '<class 'libvirt.libvirtError'> Domain not found: xenUnifiedDomainLookupByName
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 1575, in do_install
    dom = guest.start_install(False, meter = meter)
  File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in start_install
    return self._do_install(consolecb, meter, removeOld, wait)
  File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726, in _do_install
    self.domain = self.conn.createLinux(install_xml, 0)
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: Domain not found: xenUnifiedDomainLookupByName
'
What should i do to avoid it? please help!
Boris! How did you create PV guests using virt-manager i am following your article
 http://bderzhavets.wordpress.com/2009/08/20/setup-libvirt-0-7-0-6-xen-3-4-1-dom0-on-to-fedora-11-64-bit/#comment-623

Regards,
Fasiha Ashraf


Try the new Yahoo! India Homepage. Click here.

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






-----Inline Attachment Follows-----


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


Connect more, do more and share more with Yahoo! India Mail. Learn more.




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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.