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

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



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


 


Rackspace

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