OK, try this then:
1. Set autoboot to false
2. Boot up the zone (or leave it running if it is already up)
3. Reboot global zone
4. After the global zone is up again, run:
Hi,
I have a primary/slave Bind 9 setup running on a Solaris 10 platform. Everything is hunky dorey, except for when I make a zone file change and up the serial the file that is transferred to the slave looses all its comments, and the entries are place in alphabetical order.
I administer many... (1 Reply)
Hi All ,
I try to install some packages in my global zone...
On the execution of the installion of the script it quits by saying the error
"Non global zone check failed"
Kindly help me in this regard
Thanks in advance,
jeganr (7 Replies)
Hi All
There is one folder in global zone I just want to share the same folder innon global zone. How can i do it?
pls send me script for this. (2 Replies)
Hi Greetings...
I have an issue in connecting the zone from outside the network and it is because of default gateway. I can ping default gateway from inside the zone and not able to ping from global zone due to different VLAN issue. If i add two different gateways and restart network services,... (2 Replies)
can some one help me out as it is showing 2 different time zones in global zone and nonglobal zone .In global zone it is showing in GMT while in nonglobal zone i it showing as PDT.
System in running with solaris 10 (3 Replies)
So this is Solaris 11.1. I have a Global zone that has several non-global zones running in it. I want to change the capped-memory.physical resources setting in ALL the zone configs of the running zones.
if I were to do this manually here's what I would do:
zonecfg -z zone1
select... (2 Replies)
Dear all,
recently, I migrated a solaris zone from one host to another. The zone was inside of a zpool. The zpool cotains two volumes.
I did the following:
host1:
$ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed
$ zpool export zone1
host2:
$ zpool... (2 Replies)
Hi, hoping someone can help, its been a while since I used Solaris.
After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin)
However, the NGZ cannot access any other netwqork devices, it can't even see the default router
... (2 Replies)
Discussion started by: GazinLincoln
2 Replies
LEARN ABOUT OPENSOLARIS
getzonerootbyid
getzonerootbyid(3TSOL) Trusted Extensions Library Functions getzonerootbyid(3TSOL)NAME
getzonerootbyid, getzonerootbylabel, getzonerootbyname - map between zone root pathnames and labels
SYNOPSIS
cc [flags...] file... -ltsol [library...]
#include <tsol/label.h>
char *getzonerootbyid(zoneid_t zoneid);
char *getzonerootbylabel(const m_label_t *label);
char *getzonerootbyname(const char *zonename);
DESCRIPTION
The getzonerootbyid() function returns the root pathname of zoneid.
The getzonerootbylabel() function returns the root pathname of the zone whose label is label.
The getzonerootbyname() function returns the root pathname of zonename.
All of these functions require that the specified zone's state is at least ZONE_IS_READY. The zone of the calling process must dominate the
specified zone's label, or the calling process must be in the global zone. The returned pathname is relative to the root path of the call-
er's zone.
RETURN VALUES
On successful completion, the getzonerootbyid(), getzonerootbylabel(), and getzonerootbyname() functions return a pointer to a pathname
that is allocated within these functions. To free the storage, use free(3C). On failure, these functions return NULL and set errno to indi-
cate the error.
ERRORS
These functions will fail if:
EFAULT Invalid argument; pointer location is invalid.
EINVAL zoneid invalid, or zone not found or not ready.
ENOENT Zone does not exist.
ENOMEM Unable to allocate pathname.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------+-----------------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------+-----------------------------------+
|Interface Stability | Committed |
+-----------------------+-----------------------------------+
|MT-Level | Safe |
+-----------------------+-----------------------------------+
SEE ALSO Intro(2), free(3C), getzonenamebyid(3C), libtsol(3LIB), attributes(5), labels(5)NOTES
The functionality described on this manual page is available only if the system is configured with Trusted Extensions.
SunOS 5.11 20 Jul 2007 getzonerootbyid(3TSOL)