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 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Re: Need help..

Here is more info.
---
Message produced by (xc_dom_create.py -Dvmid=1)

Parsing config file '/etc/xc/defaults'
VM image           : "/boot/xenolinux.gz"
VM ramdisk         : ""
VM memory (MB)     : "64"
VM IP address(es)  : "141.209.170.222; 169.254.1.1"
VM block device(s) : "phy:hda8,sda1,w; phy:hda7,sda6,r"
VM cmdline         : 
"ip=141.209.170.222:169.254.1.0:141.209.170.1:255.255.255.0::eth0:off 
root=/dev/sda1 ro 4 VMID=1 usr=/dev/sda6"
Warning: one or more hard disk extents are
         writeable by two or more domains simultaneously.
ERROR: This kind of disk sharing is not allowed
        at the current safety level (0).

--/etc/fstab (dom0, / is on hda5 and /usr on hda6)---
LABEL=/                 /                       ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
LABEL=/usr              /usr                    ext3    defaults        1 2
/dev/hda1               swap                    swap    defaults        0 0

--/etc/fstab (dom1)---
/dev/sda1               /                       ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/sda6               /usr                    ext3    defaults        1 2
---

-ishwar

On Wed, 21 Apr 2004, Neugebauer, Rolf wrote:

> xc_dom_create.py should create the correct kernel command line for dom1.
> In particular, it should pass the correct root partition to the domain
> based. That is the "virtual partition", i.e., /dev/sda1 in your setup
> from earlier today. The command line passed into the new domain should
> be printed out by the newly started domain (and IIRC by xc_dom_create.py
> as well)
>
> You still have to have the correct entries in dom1's /etc/fstab (based
> on the translation of physical partitions to 'virtual partitions' you
> create). That's /dev/sda1 for / and /dev/sda6 for /usr of you still have
> the same setup as you emailed earlier today.
>
> What's the error message you get?
>
> Rolf
>
> > -----Original Message-----
> > From: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
> > admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of I RATTAN
> > Sent: 21 April 2004 01:25
> > To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
> > Subject: [Xen-devel] Re: Need help..
> >
> > I have the partitions for separate / and /usr for domain-1
> > but no luck with domain-1 boot success. Domain-0 error about sharing
> > partitons across domians is gone though. So, I would like to know
> > how does exactly domain-1 boots(or will) based on the info in it's
> > / partition or domain-0 / partiotion.
> >
> > 1. Does it use the /boot/grub info of either dom0 or dom1?
> > 2. Does it use the /etc/fstab entries of dom0 or dom1?
> >
> > Any other ideas involved that might significant here?
> >
> > -ishwar
> >
> > On Tue, 20 Apr 2004, I RATTAN wrote:
> >
> > > I am back to trying xen-1.2 and need a little(?) help.
> > >
> > > Hard disk config:
> > > hda1 (primary swap), hda2(extended): had5(/, 1Gb), hda6(/usr, 2Gb),
> > > hda7(1Gb), hda8(1Gb)
> > >
> > > Installed Fedora-core-1 using / and /usr
> > > Downloaded precompiled xen-1.2-install.tar.gz
> > > Installed it
> > > Able to boot domain-0
> > >
> > > How do I put root partition info for dom1 on partition hda8
> > > I tried dd if=/dev/hda5 of=/dev/hda8 bs=1024
> > >   aborts with I/O error after copying the file system
> > >   (mount says that it is invalid FS etc..)
> > >
> > > Is there another way? Just want to see if I can boot one more
> > > domain other than domain-0.
> > >
> > > -ishwar
> > >
> > >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IBM Linux Tutorials
> > Free Linux tutorial presented by Daniel Robbins, President and CEO of
> > GenToo technologies. Learn everything from fundamentals to system
> > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/xen-devel
>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel