Is it possible? How? (looked for documentation, but I didn''t see any.) I did see xen_cpuperf, but I can''t get any real information from there either. 8-( I have 8 domains (including domain-0) runing on the server. If one goes to 100% cpu time, the system bogs. I''d like to be able to ensure that each instance can''t keep the rest from runing... -- Brian Wolfe | Phone 1-(214)-764-1204 President, | Email brianw@terrabox.com TerraBox.com Inc. | pub 1024D/73C5A2DF 2003-03-18 Brian Wolfe <brianw@terrabox.com> Key fingerprint = 050E 5E3C CF65 4C1E A183 F48F E3E3 5B22 73C5 A2DF sub 1024g/BB87A3DD 2003-03-18 ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> Is it possible? How? (looked for documentation, but I didn''t see any.) > I did see xen_cpuperf, but I can''t get any real information from there > either. 8-( > > I have 8 domains (including domain-0) runing on the server. If one goes to > 100% cpu time, the system bogs. I''d like to be able to ensure that each > instance can''t keep the rest from runing...I''m not sure exactly what you mean. By default each domain will get a fair share of the CPU on which it runs -- if N domains are all CPU-bound then each will get 1/N of the CPU. Domains which are woken by an incoming event (eg. network packet or key press) should get run with reasonably low latency. By bogged down, do you mean that interactive response suffers? What is the busy domain doing -- just CPU-intensive work and no I/O? -- Keir ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Hi Brian, which version of Xen/Xenolinux are you using? the scheduler implementation changed from 1.2 to 1.3-unstable. On Fri, 2004-04-16 at 17:40, Brian Wolfe wrote:> Is it possible? How? (looked for documentation, but I didn''t see any.) > I did see xen_cpuperf, but I can''t get any real information from there > either. 8-( > > I have 8 domains (including domain-0) runing on the server. If one goes to > 100% cpu time, the system bogs. I''d like to be able to ensure that each > instance can''t keep the rest from runing...This should definitely not happen!!! Could you provide a little more detail on what is running in the different domains? In 1.2 the scheduler is a weighted proportional share scheduler (BVT) and by default all domains get the same weight and therefore should get the same share. in 1.3 you have a boot-time choice between schedulers, BVT (same as in 1.2, Atropos (a soft real time scheduler based on EDF) I have just tested with 1.3-unstable, four domains on a dual processor machine (two domains per CPU) and BVT as the scheduler and they happily share the CPU 50/50 if both run the equivalent of a while(1) loop. Rolf ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Well, I''m not certain exactly to be honest. the filesystems are nfs mounted. the domain that was eating everything up was stuck in a nasty php infinite loop. I''ll see if I can do a bit more tracking and report back. It may very well have been a network saturation problem.( gotta locate a few more compatible cards. and get gig-e backside for the nfs mounts.) I was also wondering if there is a way to assign a percentage of cpu time to a domain. Eg guarantee domain 3 gets 25% of the cpu time no matter how many other domains are in there, or how much cpu time they want. Also, I assume that xc_dom_control list right most column shows the amount of time each domain has eaten up? -- Brian Wolfe | Phone 1-(214)-764-1204 President, | Email brianw@terrabox.com TerraBox.com Inc. | pub 1024D/73C5A2DF 2003-03-18 Brian Wolfe <brianw@terrabox.com> Key fingerprint = 050E 5E3C CF65 4C1E A183 F48F E3E3 5B22 73C5 A2DF sub 1024g/BB87A3DD 2003-03-18 Rolf Neugebauer said:> Hi Brian, > > which version of Xen/Xenolinux are you using? the scheduler > implementation changed from 1.2 to 1.3-unstable. > > On Fri, 2004-04-16 at 17:40, Brian Wolfe wrote: >> Is it possible? How? (looked for documentation, but I didn''t see any.) >> I did see xen_cpuperf, but I can''t get any real information from there >> either. 8-( >> >> I have 8 domains (including domain-0) runing on the server. If one goes >> to >> 100% cpu time, the system bogs. I''d like to be able to ensure that each >> instance can''t keep the rest from runing... > > This should definitely not happen!!! Could you provide a little more > detail on what is running in the different domains? > > In 1.2 the scheduler is a weighted proportional share scheduler (BVT) > and by default all domains get the same weight and therefore should get > the same share. > > in 1.3 you have a boot-time choice between schedulers, BVT (same as in > 1.2, Atropos (a soft real time scheduler based on EDF) > > I have just tested with 1.3-unstable, four domains on a dual processor > machine (two domains per CPU) and BVT as the scheduler and they happily > share the CPU 50/50 if both run the equivalent of a while(1) loop. > > Rolf > > > > > > ------------------------------------------------------- > 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@lists.sourceforge.net > 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Xen schedules domains on the available CPUs pre-emptively, so CPU usage limiting should work just fine. The default scheduler (BVT) is configured to provide an equal share of a CPU to each of the domains running on it. You can change the weights so that domains will get larger or smaller shares (there are some options in xc_dom_control.py). A single domain shouldn''t be able to bog down the others on the system by its CPU usage in the default configuration. In fact, the plan is that disk and network usage will also be controllable so that you can give some guarantees on the slice of the machine a domain receives. [I think there are controls in place for network, mechanisms for disk are being worked on] I''ll be checking in a little documentation about the CPU schedulers next week. Eventually, we should have some kind of "friendly" user interface for controlling them. To solve your current problem, a little more information would be handy (e.g. what release you''re using, what scheduler you''re using, anything else that''s odd about the configuration, what configuration the domains have (what is it that is consuming 100% CPU in the domain, are the domains sharing any external resources that could cause performance problems), anything else you can think of). Cheers, Mark ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
All network I/O on your system is done via PIO if you''re still using the 3c595 card. Any network-intensive workload will screw system-wide performance. If you care about performance then you need GigE NICs, or a 3c905. -- Keir> Well, I''m not certain exactly to be honest. the filesystems are nfs > mounted. the domain that was eating everything up was stuck in a nasty > php infinite loop. > I''ll see if I can do a bit more tracking and report back. It may very well > have been a network saturation problem.( gotta locate a few more > compatible cards. and get gig-e backside for the nfs mounts.) > > I was also wondering if there is a way to assign a percentage of cpu time > to a domain. Eg guarantee domain 3 gets 25% of the cpu time no matter how > many other domains are in there, or how much cpu time they want. > > Also, I assume that xc_dom_control list right most column shows the amount > of time each domain has eaten up? > > > -- > Brian Wolfe | Phone 1-(214)-764-1204 > President, | Email brianw@terrabox.com > TerraBox.com Inc. | > > > pub 1024D/73C5A2DF 2003-03-18 Brian Wolfe <brianw@terrabox.com> > Key fingerprint = 050E 5E3C CF65 4C1E A183 F48F E3E3 5B22 73C5 A2DF > sub 1024g/BB87A3DD 2003-03-18 > > > Rolf Neugebauer said: > > Hi Brian, > > > > which version of Xen/Xenolinux are you using? the scheduler > > implementation changed from 1.2 to 1.3-unstable. > > > > On Fri, 2004-04-16 at 17:40, Brian Wolfe wrote: > >> Is it possible? How? (looked for documentation, but I didn''t see any.) > >> I did see xen_cpuperf, but I can''t get any real information from there > >> either. 8-( > >> > >> I have 8 domains (including domain-0) runing on the server. If one goes > >> to > >> 100% cpu time, the system bogs. I''d like to be able to ensure that each > >> instance can''t keep the rest from runing... > > > > This should definitely not happen!!! Could you provide a little more > > detail on what is running in the different domains? > > > > In 1.2 the scheduler is a weighted proportional share scheduler (BVT) > > and by default all domains get the same weight and therefore should get > > the same share. > > > > in 1.3 you have a boot-time choice between schedulers, BVT (same as in > > 1.2, Atropos (a soft real time scheduler based on EDF) > > > > I have just tested with 1.3-unstable, four domains on a dual processor > > machine (two domains per CPU) and BVT as the scheduler and they happily > > share the CPU 50/50 if both run the equivalent of a while(1) loop. > > > > Rolf > > > > > > > > > > > > ------------------------------------------------------- > > 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@lists.sourceforge.net > > 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@lists.sourceforge.net > 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> I was also wondering if there is a way to assign a percentage of cpu time > to a domain. Eg guarantee domain 3 gets 25% of the cpu time no matter how > many other domains are in there, or how much cpu time they want.The Atropos scheduler allows you to specify that a domain should receive x nanoseconds of CPU time per y nanoseconds of real time, i.e. what share of the CPU a domain gets and how regularly it gets scheduled. Don''t overcommit the CPU, though (i.e. reserve more than [100 minus a small margin for overheads] percent in total across all domains). You can select Atropos using sched=atropos as a boot param to Xen. The administrator tools (xc_dom_control.py and friends) don''t have support for actually configuring it yet (though there''s some library calls available in the Python Xc module if you want to write your own script) but I''ll be checking in basic support early next week. Cheers, Mark ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Sounds great. :) It''s probably that 3com card then that''s nailing the cpu. Anyone thought of starting some kind of wiki for xen yet? If not, I''m willing to toss up some space as xen.terrabox.com and an install of phpwiki. I''m definitly looking froward to the new scheduler''s controls. I''ll wait as pantiently as I can (heh, bout as good as a kid in a candy store. ;) ). Thanks guys! Again, Xen and ya''ll rock! -- Brian Wolfe | Phone 1-(214)-764-1204 President, | Email brianw@terrabox.com TerraBox.com Inc. | pub 1024D/73C5A2DF 2003-03-18 Brian Wolfe <brianw@terrabox.com> Key fingerprint = 050E 5E3C CF65 4C1E A183 F48F E3E3 5B22 73C5 A2DF sub 1024g/BB87A3DD 2003-03-18 Mark Williamson said:>> I was also wondering if there is a way to assign a percentage of cpu >> time >> to a domain. Eg guarantee domain 3 gets 25% of the cpu time no matter >> how >> many other domains are in there, or how much cpu time they want. > > The Atropos scheduler allows you to specify that a domain should receive x > nanoseconds of CPU time per y nanoseconds of real time, i.e. what share of > the > CPU a domain gets and how regularly it gets scheduled. Don''t overcommit > the > CPU, though (i.e. reserve more than [100 minus a small margin for > overheads] > percent in total across all domains). > > You can select Atropos using sched=atropos as a boot param to Xen. The > administrator tools (xc_dom_control.py and friends) don''t have support for > actually configuring it yet (though there''s some library calls available > in > the Python Xc module if you want to write your own script) but I''ll be > checking in basic support early next week. > > Cheers, > > Mark > > > > ------------------------------------------------------- > 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@lists.sourceforge.net > 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> Anyone thought of starting some kind of wiki for xen yet? If not, I''m > willing to toss up some space as xen.terrabox.com and an install of > phpwiki.Having a wiki might be a good way of making it easy for people to contribute documentation. I think we''d need one that supported logins for editing, and had good revision control. We''ve used wiki''s internally, and they''ve worked quite well for some projects. There''s always the danger that it would be yet another source of incomplete and potentially out of date information. However, perhaps we''d end up declaring the wiki to be the definitive version, and adjusting the READMEs etc just to point at the wiki, or perhaps auto generating them as a snapshot of the wiki. It would certainly be good to pull together Jan''s FAQ, and all the various HOWTOs. As with any kind of documentation, the trick is in having a good editorial team... Have you used MoinMoin wiki? We''ve found this to be the best of the bunch we''ve looked at. It''s a pity sourceforge don''t provide a wiki facility. It''s also a shame that their mailing list archive isn''t as good as the gmane.org one... Ian ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
How about a 3 part wiki then? part I = Stable xen docs (by coders and approved volunteers.) Part II = Unstable Xen docs (more informal like the readme''s and current docs.) Part III = User contributed docs. (Q&A for end-users, faqs, specific howtos etc.) As I said, I would be glad to host a site for it. :) I have a partial one setup for my xen virtual server account users at http://wiki.terrabox.com. Maybe I should just go ahead and set one up.... -- Brian Wolfe | Phone 1-(214)-764-1204 President, | Email brianw@terrabox.com TerraBox.com Inc. | pub 1024D/73C5A2DF 2003-03-18 Brian Wolfe <brianw@terrabox.com> Key fingerprint = 050E 5E3C CF65 4C1E A183 F48F E3E3 5B22 73C5 A2DF sub 1024g/BB87A3DD 2003-03-18 Ian Pratt said:> >> Anyone thought of starting some kind of wiki for xen yet? If not, I''m >> willing to toss up some space as xen.terrabox.com and an install of >> phpwiki. > > Having a wiki might be a good way of making it easy for people to > contribute documentation. I think we''d need one that supported > logins for editing, and had good revision control. > > We''ve used wiki''s internally, and they''ve worked quite well for > some projects. There''s always the danger that it would be yet > another source of incomplete and potentially out of date > information. However, perhaps we''d end up declaring the wiki to > be the definitive version, and adjusting the READMEs etc just to > point at the wiki, or perhaps auto generating them as a snapshot > of the wiki. It would certainly be good to pull together Jan''s > FAQ, and all the various HOWTOs. As with any kind of > documentation, the trick is in having a good editorial team... > > Have you used MoinMoin wiki? We''ve found this to be the best of > the bunch we''ve looked at. > > It''s a pity sourceforge don''t provide a wiki facility. It''s also > a shame that their mailing list archive isn''t as good as the > gmane.org one... > > Ian > > > > ------------------------------------------------------- > 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@lists.sourceforge.net > 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
OK, the scheduler-related updates I mentioned have been pushed now. There''s some (brief!) scheduler documentation in docs/Sched-HOWTO.txt and xc_dom_control.py can now set parameters for Atropos and Round-robin, as well as BVT. The scheduler control interface is rather "raw" at the moment. At some stage we''re planning some friendlier controls for the scheduler so it''ll get easier to use and harder to shoot yourself in the foot ;-) If you have any problems, yell! Have fun, Mark ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Yikes! Is this where that saying "be carefull what you wish for" comes into play? :) I hope you didn''t push this out just because I asked about the schedulers. I''d feel kind of guilty of making ya''lls work go in the direction i''m asking about. -- Brian Wolfe | Phone 1-(214)-764-1204 President, | Email brianw@terrabox.com TerraBox.com Inc. | pub 1024D/73C5A2DF 2003-03-18 Brian Wolfe <brianw@terrabox.com> Key fingerprint = 050E 5E3C CF65 4C1E A183 F48F E3E3 5B22 73C5 A2DF sub 1024g/BB87A3DD 2003-03-18 Mark Williamson said:> OK, the scheduler-related updates I mentioned have been pushed now. > There''s > some (brief!) scheduler documentation in docs/Sched-HOWTO.txt and > xc_dom_control.py can now set parameters for Atropos and Round-robin, as > well > as BVT. > > The scheduler control interface is rather "raw" at the moment. At some > stage > we''re planning some friendlier controls for the scheduler so it''ll get > easier > to use and harder to shoot yourself in the foot ;-) > > If you have any problems, yell! > > Have fun, > > Mark > >------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> I hope you didn''t push this out just because I asked about the schedulers.I''d been working on it anyway - you just had good timing ;-)> I''d feel kind of guilty of making ya''lls work go in the direction i''m > asking about.Suggestions of useful things are always welcome, although depending on the suggestion we can''t guarantee when / if we''d get around to implementing them. Cheers, Mark ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Hmmm, maybe I should add a section called "Developer Wishlist" on the Wiki. ;) I''m taking a break from any more real work today since a person is suposed to relax on their birthday. -- Brian Wolfe | Phone 1-(214)-764-1204 President, | Email brianw@terrabox.com TerraBox.com Inc. | pub 1024D/73C5A2DF 2003-03-18 Brian Wolfe <brianw@terrabox.com> Key fingerprint = 050E 5E3C CF65 4C1E A183 F48F E3E3 5B22 73C5 A2DF sub 1024g/BB87A3DD 2003-03-18 Mark Williamson said:> >> I hope you didn''t push this out just because I asked about the >> schedulers. > > I''d been working on it anyway - you just had good timing ;-) > >> I''d feel kind of guilty of making ya''lls work go in the direction i''m >> asking about. > > Suggestions of useful things are always welcome, although depending on the > suggestion we can''t guarantee when / if we''d get around to implementing > them. > > Cheers, > > Mark > >------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Tuesday 20 of April 2004 17:44, I RATTAN wrote:> 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..)1. mke2fs /dev/hda8 2. mount /dev/hda8 /mnt 3. mkdir /mnt/mnt /mnt/proc/ 4. cp -a /bin /boot /etc ... /mnt (everything but /proc) presto, an exact copy. I tend to do this stuff from single user mode, but it might not be necessary. regards, Borut. -- Zakaj ravno mene? ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Addition to my message: I copied from hda5 to hda8 the relevant directories using cp -pr (bin boot dev etc initrd lib home opt sbin tmp var), couldn''t copy proc (is it created and populated at boot time?). Command xc_dom_create.py -Dvmid=1 results in error: ... VM block device(s): "phy:hda8,sda1,w; phy:hda6,sda6,r" VM cmdline: ...::eth0:off root=/dev/sda1 ro VMID=1 usr=/dev/hda6 Warning: one or more hard disk extents are writable by two or more domains simulteneously. ERROR: This kind of disk sharing is not allowed at current safety level (0). How do I make it work? -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@lists.sourceforge.net > 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
does dom0 still have /dev/hda8 mounted? unmount it. how does dom0 have /dev/hda6 mounted? if it is mounted read/write, mount it read-only. for all partitions: If you want to mount a partition rw in one domain it *can not* be mounted in any other domain If you want to mount a partition in multiple domains it has to mounted *read-only* in *all* domains. Rolf On Tue, 2004-04-20 at 19:02, I RATTAN wrote:> Addition to my message: > > I copied from hda5 to hda8 the relevant directories using cp -pr > (bin boot dev etc initrd lib home opt sbin tmp var), couldn''t copy > proc (is it created and populated at boot time?). > > Command > > xc_dom_create.py -Dvmid=1 > results in error: > ... > VM block device(s): "phy:hda8,sda1,w; phy:hda6,sda6,r" > VM cmdline: ...::eth0:off root=/dev/sda1 ro VMID=1 usr=/dev/hda6 > Warning: one or more hard disk extents are writable by two or more > domains simulteneously. > ERROR: This kind of disk sharing is not allowed at current > safety level (0). > > How do I make it work? > > -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@lists.sourceforge.net > > 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@lists.sourceforge.net > 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel