9 More Discussions You Might Find Interesting
1. Solaris
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
2. Solaris
Hello all,
I just want to update the timezone file with new file to update the time, so the zone in /etc/TIMEZONE will be the same but the file it refers to will be changed, and the local time should be changed, can this take effect without rebooting Solaris 10? (9 Replies)
Discussion started by: Amr.Es
9 Replies
3. UNIX for Advanced & Expert Users
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)
Discussion started by: custos
2 Replies
4. Solaris
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)
Discussion started by: ravijanjanam12
3 Replies
5. Solaris
I have two physical servers, with zones that mount local storage.
We were using "raw device" in the zonecfg to point to a metadevice on the global zone (it was not mounted in the global zone at any point).
It failed to mount on every boot because the directory existed in the zone.
I... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies
6. Solaris
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)
Discussion started by: vvpotugunta
2 Replies
7. Solaris
Hi All,
I have Solaris-10 M4000 server with VxVM file-system and 7 zones. I rebooted the server and after that one of the zone shows me in running state, but after zlogin, it is showing no df and other output. It is also throwing lot of core dumps
# uname -a
SunOS tssoaq01-ztbgps17 5.10... (7 Replies)
Discussion started by: solaris_1977
7 Replies
8. Solaris
Hello.
I have a problem where the non global zone does not reboot when I issue
init 6 from withinit.
I logon to the zone do init 6 can the see "shuttingdown on signal 15" message but nothing more happens. after 10 minutes in var adm messages there is no more information written after the... (2 Replies)
Discussion started by: vettec3
2 Replies
9. Solaris
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)
Discussion started by: fulhamfcboy
1 Replies
MALLOC_ZONE_MALLOC(3) BSD Library Functions Manual MALLOC_ZONE_MALLOC(3)
NAME
malloc_create_zone, malloc_destroy_zone, malloc_default_zone, malloc_zone_from_ptr, malloc_zone_malloc, malloc_zone_calloc,
malloc_zone_valloc, malloc_zone_realloc, malloc_zone_memalign, malloc_zone_free -- zone-based memory allocation
SYNOPSIS
#include <malloc/malloc.h>
malloc_zone_t *
malloc_create_zone(vm_size_t start_size, unsigned flags);
void
malloc_destroy_zone(malloc_zone_t *zone);
malloc_zone_t *
malloc_default_zone(void);
malloc_zone_t *
malloc_zone_from_ptr(const void *ptr);
void *
malloc_zone_malloc(malloc_zone_t *zone, size_t size);
void *
malloc_zone_calloc(malloc_zone_t *zone, size_t num_items, size_t size);
void *
malloc_zone_valloc(malloc_zone_t *zone, size_t size);
void *
malloc_zone_realloc(malloc_zone_t *zone, void *ptr, size_t size);
void *
malloc_zone_memalign(malloc_zone_t *zone, size_t alignment, size_t size);
void
malloc_zone_free(malloc_zone_t *zone, void *ptr);
DESCRIPTION
The malloc_create_zone() function creates a malloc zone, advising an initial allocation of start_size bytes, and specifying flags that alter
the standard behavior of the zone. The returned malloc zone can be used to provide custom allocation and deallocation behavior, and to
retrieve additional information about the allocations in that zone.
The malloc_destroy_zone() function deallocates all memory associated with objects in zone as well as zone itself.
The malloc_default_zone() function returns the default system malloc zone, used by malloc(3), and free(3).
The malloc_zone_from_ptr() function returns a pointer to the malloc zone which contains ptr or NULL, if the pointer does not point to an
allocated object in any current malloc zone.
The malloc_zone_malloc(), malloc_zone_calloc(), malloc_zone_valloc(), malloc_zone_realloc(), malloc_zone_memalign(), and malloc_zone_free()
perform the same task on zone as their non-prefixed variants, malloc(3), calloc(3), valloc(3), realloc(3), posix_memalign(3), and free(3)
perform on the default system malloc zone.
RETURN VALUES
The malloc_create_zone(), malloc_default_zone(), and malloc_zone_from_ptr() functions return a pointer to a malloc_zone_t structure, or NULL
if there was an error.
The malloc_zone_malloc(), malloc_zone_calloc(), malloc_zone_valloc(), malloc_zone_realloc(), and malloc_zone_memalign() functions return a
pointer to allocated memory. If there is an error, they return a NULL pointer. They are not required to set errno.
SEE ALSO
malloc(3), posix_memalign(3)
BSD
Aug 13, 2008 BSD