Re: [zones-discuss] Newbie: Just upgraded from 2008.11 to 2009.06 and zone

2009-06-12 Thread Edward Pilatowicz
On Fri, Jun 12, 2009 at 01:50:16PM -0700, Ian wrote: > > once you've changed the state to uninstalled, you > > don't need to do a > > detach. just do: > > zoneadm -z attach -u -d > > > Unfortunately, it doesn't like that either: > > # zoneadm -z web attach -u -d /space/zon

Re: [zones-discuss] cli zone configuration

2009-06-12 Thread Menno Lageman
On 06/12/09 22:39, Patrick J. McEvoy wrote: menno, flippedb, Sweet! The semi-colon-spearated list of commands works perfectly. How do I file an RFE to add that to the man page? You can file the bug at http://bugs.opensolaris.org. Category solaris/manpage, subcategory section1m. Menno -- Me

Re: [zones-discuss] Newbie: Just upgraded from 2008.11 to 2009.06 and zone

2009-06-12 Thread Ian
> once you've changed the state to uninstalled, you > don't need to do a > detach. just do: > zoneadm -z attach -u -d > Unfortunately, it doesn't like that either: # zoneadm -z web attach -u -d /space/zones/web/ROOT/zbe zoneadm: web: could not get state: No such zone c

Re: [zones-discuss] cli zone configuration

2009-06-12 Thread Patrick J. McEvoy
menno, flippedb, Sweet! The semi-colon-spearated list of commands works perfectly. How do I file an RFE to add that to the man page? Thanks, swagman -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.or

Re: [zones-discuss] Newbie: Just upgraded from 2008.11 to 2009.06 and zone

2009-06-12 Thread Edward Pilatowicz
On Fri, Jun 12, 2009 at 01:03:17PM -0700, Ian wrote: > Hi ed, > > > hm. detach is failing because attach never marked > > any zone dataset as > > active. could you file a bug against detach to make > > it more robust in > > the face of failiures? > > > Sure. > > > to work around this problem you

Re: [zones-discuss] cli zone configuration

2009-06-12 Thread Menno Lageman
On 06/12/09 21:13, Patrick J. McEvoy wrote: Folks, I am trying to configure zones by running a series of commands because I want to script setting up zones. The man page for zonecfg only shows interactive examples, and the PDF documentation suggests exporting a config, then editing it, then usin

Re: [zones-discuss] Newbie: Just upgraded from 2008.11 to 2009.06 and zone

2009-06-12 Thread Ian
Hi ed, > hm. detach is failing because attach never marked > any zone dataset as > active. could you file a bug against detach to make > it more robust in > the face of failiures? > Sure. > to work around this problem you might just want to > edit /etc/zones/index > and change the zone state t

Re: [zones-discuss] cli zone configuration

2009-06-12 Thread Jordan Vaughan
Hi swagman, You can lump the commands into a single zonecfg execution by passing them as a single string argument in which the commands are separated by semicolons. Using your example: zonecfg -z zfoo "set zonepath=/zonefs/zfoo; add net; set physical=foonic0; end" Hope that helps, Jordan

Re: [zones-discuss] cli zone configuration

2009-06-12 Thread Kris Kasner
In addition to what everyone else has already replied with, I do something like this if [ conditional ]; then cat << EOF >> $zonecfg add fs set dir=/usr/local set special=$dir/$zone/local set type=lofs end EOF fi Since the variables get substituted within the script, you can make th

[zones-discuss] [Fwd: [ogb-discuss] Crossbow Community Group Proposal]

2009-06-12 Thread Nicolas Droux
FYI Original Message Subject: [ogb-discuss] Crossbow Community Group Proposal Date: Fri, 12 Jun 2009 13:51:46 -0600 From: Nicolas Droux To: ogb-disc...@opensolaris.org Dear OGB Members, I am pleased to propose the creation of a new Crossbow Community Group. The full proposal

Re: [zones-discuss] cli zone configuration

2009-06-12 Thread Bernd Schemmer
Hi, write the zonecfg commands that you would enter interactively into a file and use zonecfg -f -z - you don't need expect or something similar for this to work You can also use that syntax to change the configuration of an existing zone (see http://bnsmb.de/solaris/create_zone.html fo

Re: [zones-discuss] cli zone configuration

2009-06-12 Thread Peter Tribble
On Fri, Jun 12, 2009 at 8:13 PM, Patrick J. McEvoy wrote: > Folks, > > I am trying to configure zones by running a series of > commands because I want to script setting up zones. > The man page for zonecfg only shows interactive examples, > and the PDF documentation suggests exporting a config, > t

[zones-discuss] cli zone configuration

2009-06-12 Thread Patrick J. McEvoy
Folks, I am trying to configure zones by running a series of commands because I want to script setting up zones. The man page for zonecfg only shows interactive examples, and the PDF documentation suggests exporting a config, then editing it, then using zonecfg -f. I don't want to write expect scr

Re: [zones-discuss] Newbie: Just upgraded from 2008.11 to 2009.06 and zones fail to boot

2009-06-12 Thread Edward Pilatowicz
hm. detach is failing because attach never marked any zone dataset as active. could you file a bug against detach to make it more robust in the face of failiures? to work around this problem you might just want to edit /etc/zones/index and change the zone state to "uninstalled". (this will esse

Re: [zones-discuss] Newbie: Just upgraded from 2008.11 to 2009.06 and zones fail to boot

2009-06-12 Thread Ian
Hi Jerry, Ok - I fell through the cracks on the upgrade: nothing new there ! I am having some trouble with the detaching though: # zoneadm -z web detach ERROR: Error: no active dataset. Do I have to mount/unmount web/ROOT/zbe manually before trying this ? I think I tried most combinations of

Re: [zones-discuss] set physical=e1000g0

2009-06-12 Thread David . Comay
Thank you guys for your answers! Regarding this networking problem, I think I don't have time to investigate into it and I have decided to deploy on Solaris 10 instead. The changes in OpenSolaris is too overwhelming and even Sun cannot catch up with the documentation (for example, sparse zones

Re: [zones-discuss] Zone error

2009-06-12 Thread James Litchfield
Did you do a zlogin -C and finalize the installation? Jim --- Ketan wrote: I 'm getting following error one of my solaris zone .. any idea what could be the reason for this and hwo to resovle this ? SunOS Release 5.10 Version Generic_137137-09 64-bit Copyright 1983-2008 Sun Microsystems, Inc

Re: [zones-discuss] zonestat 1.4.1 problem

2009-06-12 Thread Jeff Victor
Sorry, it's either line 513/514 - the one that gets the kstat "swapresv_zone" or 504/504, the one that gets the kstat "lockedmem_zone". I need to clean out the "deadwood" in v1.5, too. On Thu, Jun 11, 2009 at 5:41 PM, Phil Freund wrote: > Jeff, > > Those lines were already commented out. It looks

Re: [zones-discuss] Newbie: Just upgraded from 2008.11 to 2009.06 and zones fail to boot

2009-06-12 Thread Jerry Jelinek
Ian wrote: Hiya, I've just upgraded my 2008.11 system but the only way I could get it to upgrade was by detaching all my zones or beadm refused to create a new BE. Now that I'm in 2009.06, I used zoneadm -z web attach -F and I can see the zone claims to be installed when using zoneadm list -c

[zones-discuss] Zone error

2009-06-12 Thread Ketan
I 'm getting following error one of my solaris zone .. any idea what could be the reason for this and hwo to resovle this ? SunOS Release 5.10 Version Generic_137137-09 64-bit Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. INIT: Cannot open /

[zones-discuss] Newbie: Just upgraded from 2008.11 to 2009.06 and zones fail to boot

2009-06-12 Thread Ian
Hiya, I've just upgraded my 2008.11 system but the only way I could get it to upgrade was by detaching all my zones or beadm refused to create a new BE. Now that I'm in 2009.06, I used zoneadm -z web attach -F and I can see the zone claims to be installed when using zoneadm list -cv: ID NAME

Re: [zones-discuss] set physical=e1000g0

2009-06-12 Thread Kevin Pan
Thank you guys for your answers! Regarding this networking problem, I think I don't have time to investigate into it and I have decided to deploy on Solaris 10 instead. The changes in OpenSolaris is too overwhelming and even Sun cannot catch up with the documentation (for example, sparse zones