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 is no supported in 
OpenSolaris but the OpenSolaris documentation advises using the 
inherit-pkg-dir). I'd prefer to wait for OpenSolaris features to be 
incorporated into the next version of Solaris 11.

Kevin Pan - http://ikevin.tv
http://ObjectsOnClouds.org
-- 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


[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 STATUS PATH   BRANDIP
   0 global   running/  native   shared
   - web  installed  /space/zones/web   ipkg shared

 but when I try to start it I get:

zoneadm: zone 'web': call to zoneadmd failed

everytime.  Have I messed things up by using -F instead of -u when trying to 
re-attach the zones, or is it stuffed because it was detached during the 
upgrade process and is therefore still 2008.11 internally ?

I've Googled myself in circles so pointers would be very helpful right now 
(including any way of getting more helpful error messages).  I can still see 
the zone data so I suppose the last resort is to create a new zone now and 
manually copy the config over, but I have half a dozen or so and it'd get 
rather tedious.

Thanks in advance,
-- 
Ian.
-- 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


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 -cv:

  ID NAME STATUS PATH   BRANDIP
   0 global   running/  native   shared

   - web  installed  /space/zones/web   ipkg shared

 but when I try to start it I get:

zoneadm: zone 'web': call to zoneadmd failed

everytime.  Have I messed things up by using -F instead of -u when trying to 
re-attach the zones, or is it stuffed because it was detached during the 
upgrade process and is therefore still 2008.11 internally ?

I've Googled myself in circles so pointers would be very helpful right now 
(including any way of getting more helpful error messages).  I can still see 
the zone data so I suppose the last resort is to create a new zone now and 
manually copy the config over, but I have half a dozen or so and it'd get 
rather tedious.


I'm not sure why you had to first detach your zones.
There was a bug in beadm on that but I thought it was
fixed.  The attach -F does nothing except change the state
of the zone to be installed.  You are in the state right
now where you zones are out of sync with the global
zone.  This happens because pkg image-update does not
yet update all of the zones when you update the global
zone.  We' working on that for the next release.  You
should be able to just detach the zones and then attach -u
them again which will do the update of the zone automatically.

Jerry
___
zones-discuss mailing list
zones-discuss@opensolaris.org


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 Freundno-re...@opensolaris.org wrote:
 Jeff,

 Those lines were already commented out. It looks like the problem is in these 
 lines:

 500  # Get amount and cap of memory locked by processes in each zone.
   501  $kstat-update();
   502  my $zh = $kstat-{caps};
   503  foreach my $z (keys(%$zh)) {
   504    ($lkd_use[$z], $lkd_cap[$z]) = @{$kstat-{caps}{$z}
   505                                   {lockedmem_zone_.$z}}{qw(usage 
 value)};
   506  #printf (kstat: lkd_use[$z
   507    $lkd_use_sum += $lkd_use[$z];
   508  # $lkd_cap[$z] = $lkd_cap[$z]/1024;
   509  # printf ($z:lkd:%d MB / %d %s.\n, $lkd_use[$z]/1024/1024,
   510  #    $lkd_cap[$z](1024^3) ? $lkd_cap[$z]/1024/1024/1024 : 
 $lkd_cap[$z]/1024,
   511  #    $lkd_cap[$z](1024^3) ? TB : MB);
   512
   513    ($vm_use[$z], $vm_cap[$z]) = @{$kstat-{caps}{$z}
   514                                 {swapresv_zone_.$z}}{qw(usage value)};
   515    $vm_use_sum += $vm_use[$z];


-- 
--JeffV
___
zones-discuss mailing list
zones-discuss@opensolaris.org


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.  All rights reserved.
Use is subject to license terms.

INIT: Cannot open /etc/default/init. Environment not initialized.
INIT: Cannot stat /etc/inittab, errno: 2
INIT: Absent svc.startd entry or bad contract template.  Not starting 
svc.startd.
Requesting maintenance mode
(See /lib/svc/share/README for additional information.)
INIT: execle of /etc/sulogin failed: No such file or directory
INIT: Cannot stat /etc/inittab, errno: 2
INIT: Cannot stat /etc/inittab, errno: 2

INIT: Cannot stat /etc/inittab, errno: 2

INIT: Cannot stat /etc/inittab, errno: 2

INIT: Cannot stat /etc/inittab, errno: 2

INIT: Cannot stat /etc/inittab, errno: 2
  


___
zones-discuss mailing list
zones-discuss@opensolaris.org


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 is no supported in OpenSolaris but the 
OpenSolaris documentation advises using the inherit-pkg-dir). I'd prefer to 
wait for OpenSolaris features to be incorporated into the next version of Solaris 11.


With respect to the issue you noted, it's not clear with the details
you provided whether you will see a difference with Solaris 10.  You
need to provide more details of what you're trying to do.  For example
if you have only one physical interface, then creating an exclusive-IP
zone is impossible without using OpenSolaris and its virtual NIC (VNIC)
capability.

Yes, at this time sparse-root zones are not supported in OpenSolaris
however there is work underway on how best to support them in the
future or perhaps better stated, how best to support the attributes of
sparse-root zones that make them useful.  The OpenSolaris documentatin
advises about using inherit-pkg-dir because it reflects the older model
but that doesn't mean the whole-root model isn't supported either.
___
zones-discuss mailing list
zones-discuss@opensolaris.org


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 zfs mount/unmount last night when I ran into this, 
but haven't managed to solve it :(

Thanks,
-- 
Ian.
-- 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


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 essentially undo
the attach -F you did earlier.)  then you can do an attach -u to
properly attach the zone.

ed

On Fri, Jun 12, 2009 at 09:12:53AM -0700, Ian wrote:
 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 zfs mount/unmount last night when I ran 
 into this, but haven't managed to solve it :(

 Thanks,
 --
 Ian.
 --
 This message posted from opensolaris.org
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


[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 scripts or edit files -- I just want to
run some commands to create and modify zones.

For the global scope, this works:

zonecfg -z zfoo set zonepath=/zonefs/zfoo

But for other scopes I can't find an invocation that works.
For example, if I would do this interactively:

zonecfg:zfoo add net
zonecfg:zfoo:net set physical=foonic0
zonecfg:zfoo:net end
zonecfg:zfoo

how would I do it non-interactively? I can't find any
invocation of zonecfg that lets me both specify scope
and set a property. This works, but is dorky:

printf add net\nset physical=foonic0\nend\n | zonecfg -z zfoo

So...is there any good general way to configure zones
by running a command or series of commands?

Thanks for any help,
swagman
-- 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] cli zone configuration

2009-06-12 Thread Peter Tribble
On Fri, Jun 12, 2009 at 8:13 PM, Patrick J.
McEvoyno-re...@opensolaris.org 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 using zonecfg -f. I don't want to
 write expect scripts or edit files -- I just want to
 run some commands to create and modify zones.

 For the global scope, this works:

zonecfg -z zfoo set zonepath=/zonefs/zfoo

 But for other scopes I can't find an invocation that works.
 For example, if I would do this interactively:

zonecfg:zfoo add net
zonecfg:zfoo:net set physical=foonic0
zonecfg:zfoo:net end
zonecfg:zfoo

 how would I do it non-interactively? I can't find any
 invocation of zonecfg that lets me both specify scope
 and set a property. This works, but is dorky:

printf add net\nset physical=foonic0\nend\n | zonecfg -z zfoo

 So...is there any good general way to configure zones
 by running a command or series of commands?

I just have a file (call it input_file):

create
set zonepath=/export/zones/mysql-node1
set autoboot=true
add net
set physical=nge0
set address=172.18.1.89/24
end
add fs
set dir=/opt/db
set special=/storage/db
set type=lofs
end
verify
commit


And then do

zonecfg -z zone_name -f input_file

(What I actually do is have a skeleton input file for each type of zone that
has parameter substitution run on it to create the above input file, but any
mechanism to build up the file would do.)

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
___
zones-discuss mailing list
zones-discuss@opensolaris.org


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 yourfile -z yourzone  - 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 for an example)

regards

Bernd



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 using zonecfg -f. I don't want to
write expect scripts or edit files -- I just want to
run some commands to create and modify zones.

For the global scope, this works:

zonecfg -z zfoo set zonepath=/zonefs/zfoo

But for other scopes I can't find an invocation that works.
For example, if I would do this interactively:

zonecfg:zfoo add net
zonecfg:zfoo:net set physical=foonic0
zonecfg:zfoo:net end
zonecfg:zfoo

how would I do it non-interactively? I can't find any
invocation of zonecfg that lets me both specify scope
and set a property. This works, but is dorky:

printf add net\nset physical=foonic0\nend\n | zonecfg -z zfoo

So...is there any good general way to configure zones
by running a command or series of commands?

Thanks for any help,
swagman
  



--
Bernd Schemmer, Frankfurt am Main, Germany
http://bnsmb.de/

M s temprano que tarde el mundo cambiar .
   Fidel Castro

___
zones-discuss mailing list
zones-discuss@opensolaris.org


[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 nicolas.dr...@sun.com
To: ogb-disc...@opensolaris.org

Dear OGB Members,

I am pleased to propose the creation of a new Crossbow Community Group.
The full proposal is available at
http://opensolaris.org/os/project/crossbow/community-proposal/
and is also attached below for your convenience.

Thanks!
Nicolas.


Summary
---

The following is a proposal for the creation of an OpenSolaris
Crossbow community group that focuses on the area of network
virtualization.


Background
--

Crossbow has been an OpenSolaris project since in inception in 2006.
Project Crossbow re-architected the OpenSolaris networking stack to
provide built-in NIC and network virtualization, improved scalability
on multi-core, multi-threaded platforms, and a new way to do QoS.

Project Crossbow was integrated in OpenSolaris (ONNV build 105)
in December 2008, and is currently endorsed by several communities
(Networking, Device Drivers, HPC Developer, Logical Domains,
OS/Net (ON), Performance, Xen)

The home of Project Crossbow is currently at the following location:
http://opensolaris.org/os/project/crossbow


Proposal


Since its integration into OpenSolaris, several follow-on projects
under the umbrella of Project Crossbow and based on the technology
it introduced have been created, or will soon be created.
Crossbow has thus evolved from an OpenSolaris project into a community
of projects and users.

We hereby propose the creation of an OpenSolaris Crossbow community
group to represent that evolution. If this proposal is approved, the
existing Crossbow project will be superseded by the Crossbow
community group.

The area of network virtualization is unique and different from
general virtualization and networking and will exist for a long
time. As such, creating a Crossbow community focused in this area
will allow OpenSolaris to showcase its leadership in network
virtualization.


Focus and Goals
---

This new community will foster the development of projects based on,
and extending the technology introduced by the Crossbow project.
Several such projects are already under way, and it is expected
that the majority of projects will initially fall into one of the
following broad categories:

- Core OS components: core kernel and administration infrastructure.
  These projects will focus on providing new features, improved
  performance, and so on, to the core OpenSolaris OS. Some of these
  projects include:

  . NUMA awareness and thread placement
  . Leveraging hardware layer-3 and layer-4 classification
  . Bandwidth Guarantees
  . Dynamic resource assignment based on usage
  . Inter-VNIC communication fastpath
  . Real-time priorities for VNICs and flows
  . Finer-grain hardware resource assignment

- Analytics, observability, and management: provide tools and
  infrastructure needed to facilitate and improve the management
  and observability of Crossbow components, and to enable
  OpenSolaris as a platform for network consolidation,
  for example:

  . dlstat(1M) and flowstat(1) for fine grained runtime statistics
  . Management shell similar to those used in routers and switches
  . VirtualWire (vWire) tools
  . Virtual Network Machines as pre-canned zones

- Integration with other virtualization technologies: enhance the
  integration of Crossbow with OpenSolaris virtualization
  technologies such as zones, xVM, and LDOMs. Projects in this
  area include:

  . VNIC configuration from zonecfg(1M)
  . VLAN and bandwidth management from xVM configuration tools
  . Enable the configuration of bandwidth control for LDOM guests

- APIs: provide a collection of APIs at various levels of the stack
  to enable ISVs to be successful on OpenSolaris using
  Crossbow. Efforts in this area include:

  . Publish stable GLDv3 driver APIs
  . Publish MAC client APIs
  . Management libraries (libdladm and libflowadm)
  . Kernel- and user-level flow APIs
  . Socket options for bandwidth control


Initial Core Contributors
-

Sunay Tripathi
Nicolas Droux
Kais Belgaied
Markus Flierl


Facilitator
---

Nicolas Droux




--
Nicolas Droux - Solaris Kernel Networking - Sun Microsystems, Inc.
nicolas.dr...@sun.com - http://blogs.sun.com/droux
___
ogb-discuss mailing list
ogb-disc...@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/ogb-discuss

--
Nicolas Droux - Solaris Kernel Networking - Sun Microsystems, Inc.
nicolas.dr...@sun.com - http://blogs.sun.com/droux
___
zones-discuss mailing list
zones-discuss@opensolaris.org


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 the zone 
config very very specific according to what exists on the global, command line 
arguments, phase of moon, whatever.


Then feed it to zonecfg with the -f flag.

Good luck.

--Kris

Today at 12:13, Patrick J. McEvoy no-re...@opensolaris.org 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 using zonecfg -f. I don't want to
write expect scripts or edit files -- I just want to
run some commands to create and modify zones.

For the global scope, this works:

   zonecfg -z zfoo set zonepath=/zonefs/zfoo

But for other scopes I can't find an invocation that works.
For example, if I would do this interactively:

zonecfg:zfoo add net
zonecfg:zfoo:net set physical=foonic0
zonecfg:zfoo:net end
zonecfg:zfoo

how would I do it non-interactively? I can't find any
invocation of zonecfg that lets me both specify scope
and set a property. This works, but is dorky:

printf add net\nset physical=foonic0\nend\n | zonecfg -z zfoo

So...is there any good general way to configure zones
by running a command or series of commands?

Thanks for any help,
swagman



--

Thomas Kris Kasner
Qualcomm Inc.
5775 Morehouse Drive
San Diego, CA 92121
(858)658-4932


You want to be President?
Yes
Good. Put your hand on the book and say 'I Do'
I Do
Done! Let's Eat.
G'Kar and Sheridan, Babylon 5-No Compromises

___
zones-discuss mailing list
zones-discuss@opensolaris.org


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

On 06/12/09 12: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 using zonecfg -f. I don't want to
write expect scripts or edit files -- I just want to
run some commands to create and modify zones.

For the global scope, this works:

zonecfg -z zfoo set zonepath=/zonefs/zfoo

But for other scopes I can't find an invocation that works.
For example, if I would do this interactively:

zonecfg:zfoo add net
zonecfg:zfoo:net set physical=foonic0
zonecfg:zfoo:net end
zonecfg:zfoo

how would I do it non-interactively? I can't find any
invocation of zonecfg that lets me both specify scope
and set a property. This works, but is dorky:

printf add net\nset physical=foonic0\nend\n | zonecfg -z zfoo

So...is there any good general way to configure zones
by running a command or series of commands?

Thanks for any help,
swagman


___
zones-discuss mailing list
zones-discuss@opensolaris.org


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 to uninstalled.  (this
 will essentially undo
 the attach -F you did earlier.)  then you can do an
 attach -u to
 properly attach the zone.
 
Unfortunately, this doesn't seem to fix things.  If I change the 'installed' to 
'uninstalled' then I get:

# zoneadm -z web detach
zoneadm: web: could not get state: No such zone configured

Is there any other information I can offer to help get around this ?

Thanks,
-- 
Ian.
-- 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


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 using zonecfg -f. I don't want to
write expect scripts or edit files -- I just want to
run some commands to create and modify zones.

For the global scope, this works:

zonecfg -z zfoo set zonepath=/zonefs/zfoo

But for other scopes I can't find an invocation that works.
For example, if I would do this interactively:

zonecfg:zfoo add net
zonecfg:zfoo:net set physical=foonic0
zonecfg:zfoo:net end
zonecfg:zfoo

how would I do it non-interactively? I can't find any
invocation of zonecfg that lets me both specify scope
and set a property. This works, but is dorky:

printf add net\nset physical=foonic0\nend\n | zonecfg -z zfoo

So...is there any good general way to configure zones
by running a command or series of commands?


You can do that like this:

# zonecfg -z foo 'create; set zonepath=/zones/foo; add net; set 
physical=e1000g0; set address=192.168.1.123/24; end'


(Insert a ; where you would use the enter key in interactive mode.)

Menno
--
Menno Lageman - Sun Microsystems - http://blogs.sun.com/menno
___
zones-discuss mailing list
zones-discuss@opensolaris.org


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.org


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 lt;zonegt; attach -u -d lt;zbe_datasetgt;
 
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 configured

I tried a selection of paths and ZFS pool names, just in case.  Same result.
-- 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


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
--
Menno Lageman - Sun Microsystems - http://blogs.sun.com/menno
___
zones-discuss mailing list
zones-discuss@opensolaris.org


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 lt;zonegt; attach -u -d lt;zbe_datasetgt;
 
 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 configured


this error seems to indicate that the zone state in /etc/zones/index is
invalid.  (normally people shouldn't edit this file for exactly this
reason.  ;)  what are the contents of this file?

 I tried a selection of paths and ZFS pool names, just in case.  Same result.

you need to specify a zfs dataset name, not a filesystem path.  on my
laptop i would specifly something like:
-d rpool/export/zones/z2/ROOT/zbe

ed
___
zones-discuss mailing list
zones-discuss@opensolaris.org