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
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
> 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 /
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
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
22 matches
Mail list logo