WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] problem creating a new domain

To: Sanjay Kumar <ksanjay@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] problem creating a new domain
From: "M.A. Williamson" <maw48@xxxxxxxxx>
Date: 18 Oct 2004 14:20:17 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: 2004年10月19日 12:14:01 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <4172FB8F.7070602@xxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <4172FB8F.7070602@xxxxxxxxxxxxx>
Reply-to: maw48@xxxxxxxxxx
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Hi Folks,
I am using xen1.2.
I create the disk image as described in the Xen2.0 user manual chapter 5.
Sorry but that won't work :-(
Xen 1.2 can only export sections of physical disks (e.g. partitions, whole disks, or Xen Virtual Disks) to other domains. If you want to store filesystems in disk files, you should move to Xen 2.0-beta (soon to be Xen 2.0-release). The nearest you can get on Xen 1.2 is to create a Virtual Disk and then use that. Tying yourself to 1.2 is probably not a good idea though - Virtual Disks aren't supported by 2.0. We'd certainly prefer people to move to 2.0 now - it's stable and virtually release-ready and has a whole load of new features, improved tools and better hardware support. A good way to install a new domain's filesystem is using debootstrap (as described in the appendix of the manual).
Let us know how you get on.
HTH,
Mark
#dd if=/dev/zero of=vm1disk bs=1k seek=6144k count=1
#losetup /dev/loop1 vm1disk
#mkfs -t ext3 /dev/loop1
#mount /dev/loop1 /mnt
#cp -ax /<directory>/ /mnt/ /* I do this instead of copying the whole / directory because I don't want some of the directories in Dom 1 */
I modify /mnt/etc/fstab to put /dev/sda1 to root
# umount /dev/loop1
then I put this line in /etc/xc/defaults (I used a copy of it called dom1)
vbd_list = [ ('phy:loop1','sda1','w' ) ]
After this I try to create the dom1 by saying but I get an error.
#xc_dom_create.py -D vmid=1 -f dom1
Parsing config file 'dom1'
VM image : "/boot/xenolinux.gz"
VM ramdisk : ""
VM memory (MB) : "64"
VM IP address(es) : "130.207.98.36; 169.254.1.1"
VM block device(s) : "phy:loop1,sda1,w"
VM cmdline : "ip=130.207.98.36:169.254.1.0:130.207.98.1:255.255.255.0::eth0:off root=/dev/sda1 ro 4 VMID=1 usr=/dev/sda6"
Error looking up phy:loop1
Can someone please help me with this error?
Thanks,
Sanjay
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: RE: [Xen-devel] single kernel for xen0 & xenU , M.A. Williamson
Next by Date: Re: [Xen-devel] experience with gnbd , Jacob Gorm Hansen
Previous by Thread: [Xen-devel] problem creating a new domain , Sanjay Kumar
Next by Thread: Re: [Xen-devel] problem creating a new domain , Sanjay Kumar
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /