From: Niraj Tolia <ntolia@gmail.com>
To: Rune Johan Andresen <runejoha@idi.ntnu.no>
Cc: xen-devel@lists.sourceforge.net
Subject: Re: Create domain, partition question & errormsg
Date: Thu, 15 Jul 2004 12:03:37 +0100 [thread overview]
Message-ID: <7e45e2ac04071504031d504880@mail.gmail.com> (raw)
In-Reply-To: <A7F2A1A0-D64A-11D8-A13B-000A95B44940@idi.ntnu.no>
Rune,
the default xmdefaults file has this
disk = [ 'phy:sda%d,sda1,w' % (7+vmid),
'phy:sda6,sda6,r' ]
Therefore when you pass vmid=1, it attempts to pass sda8 from dom0
into dom1 as sda1. However, it does not look like you have sdaXX.
Therefore, just copy the defaults file and change the above line to
disk= [ 'phy:hda1,sda1,w',
'phy:hda2,sda2,w']
where I am assuming that hda2 is your swap partition. Make sure that
your /etc/fstab file in your root partition for dom1 has the correct
entries to load sda1 as / and sda2 as swap.
You can then start a new domain by using xm create -f <new defaults file> vmid=1
Also, just make sure you are not sharing partitions between dom0 and dom1.
Niraj
On Thu, 15 Jul 2004 12:35:14 +0200, Rune Johan Andresen
<runejoha@idi.ntnu.no> wrote:
> Hi, I have one partition, hda1 and one for swapping. I use the default
> xmdefaults config file (with edited link to the image). When I try
> xm create vmid=1 i get an error:
>
> Error creating domain: [Failure instance: Trackeback:
> xen.xend.XendError.vmError, vdb: Segment not foundXXXXXX:
> unname=phy:sda8
>
> How can I edit to make Xen use the right partition, I am not sure how
> Xen really is setup to manage this(?)
>
> Rune
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
>
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
next prev parent reply other threads:[~2004-07-15 11:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-15 7:36 New to Xen. Eth0 not being detected and Domain0 starts up with some difficulty Richard Ta-Min
2004-07-15 8:21 ` Ian Pratt
2004-07-15 9:13 ` Keir Fraser
2004-07-15 10:35 ` Create domain, partition question & errormsg Rune Johan Andresen
2004-07-15 11:03 ` Niraj Tolia [this message]
2004-07-15 15:12 ` DHCP request Rune Johan Andresen
2004-07-15 15:23 ` Ian Pratt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7e45e2ac04071504031d504880@mail.gmail.com \
--to=ntolia@gmail.com \
--cc=runejoha@idi.ntnu.no \
--cc=xen-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.