05-09-2012
Can you elaborate about "I tried sharing the required local zone mount points from the global zone but this seems to give very odd results. (Makes some files available/visible but not others.)"
This should just work.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
We use an WIN2000 NT Server and some Unix (Scitex Brisque) in our prepress network.
We want to create a folder onto the unix machine which is visible for the NTServer. The nfs apllication is Disk Acces.
The people at scitex told me to that I'd to make an export folder so the unix... (3 Replies)
Discussion started by: Vanstraelen
3 Replies
2. UNIX for Advanced & Expert Users
Hello,
We have an NFS problem :
when we try to automount or mount a share file system to a client we have the following error :
NFS acces failed for server xxxxx : error 7 (RPC : Authentication error).
We've have this error after the reboot of the client.
Rerun the automount daemon... (1 Reply)
Discussion started by: christophe
1 Replies
3. Solaris
Hello!
I have a Linux nfs server (called server100 below) with a export nfs. My problem is that the Solaris client (called client100 below) doesn't seems to like it. In the Solaris syslog I got following messages (and after a while the solaris client behave liked its hanged/to buzy). Also see... (3 Replies)
Discussion started by: sap4ever
3 Replies
4. UNIX for Dummies Questions & Answers
How can i create a nfs share in Windows? (4 Replies)
Discussion started by: proactiveaditya
4 Replies
5. Solaris
Hello,
I have a centos as nfs server, its name is centos_A.
After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/*
But,
My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
1 Replies
6. HP-UX
Hi there!
I'm having problems migrating and vgimport onto a different server. Original server uses the legacy DSF naming (ctd naming like /dev/dsk/c0t1d0) and the new server where i'm migrating those luns to is using the Agile addressing (i.e persistent DSF i.e. /dev/disk/diskxxx)
Importing a... (1 Reply)
Discussion started by: ilan
1 Replies
7. UNIX for Advanced & Expert Users
Hello everyone!! Long time, no see!!
I have an issue with a Solaris server that I am working with. I am trying to set up a backup solution for someone that will involve a Solaris 9 server with NFS enabled allowing a Windows machine to map a drive to it (NFS Maestro).
NFS Maestro appears... (3 Replies)
Discussion started by: Jody
3 Replies
8. HP-UX
I am running HP9000 Containers version A.03.01. I have the container up and running. I now need to mount an exported file system from another HPUX server with both read and write permissions. I can get the mount okay but from the container I cannot read or write properly to the mounted file... (2 Replies)
Discussion started by: PaleRider
2 Replies
9. AIX
Hi 2 ALL,
try to run NFS Server in AIX 7.1 :
1. Step by step on NFS Server node
mkdir /tmp/test
chgrp staff /tmp/test
chmod 775 /tmp/test-- create export directory (fs)
mknfsexp -d /tmp/test -t ro
exportfs -va
show mount -e
:/# exportfs -av
exports: 1831-187 re-exported /tmp/test... (4 Replies)
Discussion started by: penchev
4 Replies
LEARN ABOUT MOJAVE
getzoneid
getzoneid(3C) Standard C Library Functions getzoneid(3C)
NAME
getzoneid, getzoneidbyname, getzonenamebyid - map between zone id and name
SYNOPSIS
#include <zone.h>
zoneid_t getzoneid(void);
zoneid_t getzoneidbyname(const char *name);
ssize_t getzonenamebyid(zoneid_t id, char *buf, size_t buflen);
DESCRIPTION
The getzoneid() function returns the zone ID of the calling process.
The getzoneidbyname() function returns the zone ID corresponding to the named zone, if that zone is currently active. If name is NULL, the
function returns the zone ID of the calling process.
The getzonenamebyid() function stores the name of the zone with ID specified by id in the location specified by buf. The bufsize argument
specifies the size in bytes of the buffer. If the buffer is too small to hold the complete null-terminated name, the first bufsize bytes of
the name are stored in the buffer. A buffer of size {ZONENAME_MAX} is sufficient to hold any zone name. If buf is NULL or bufsize is 0, the
name is not copied into the buffer.
RETURN VALUES
On successful completion, getzoneid() and getzoneidbyname() return a non-negative zone ID. Otherwise, getzoneidbyname() returns -1 and sets
errno to indicate the error.
On successful completion, the getzonenamebyid() function returns the buffer size required to hold the full null-terminated name. Otherwise,
it returns -1 and sets errno to indicate the error.
ERRORS
The getzoneidbyname() function will fail if:
EFAULT The name argument is non-null and points to an illegal address.
EINVAL A zone with the indicated name is not active.
ENAMETOOLONG The length of the name argument exceeds {ZONENAME_MAX}.
The getzonenamebyid() function will fail if:
EINVAL A zone with the specified ID is not active.
EFAULT The buf argument points to an illegal address.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
intro(2), chroot(2), malloc(3C), attributes(5), zones(5)
SunOS 5.10 1 Nov 2004 getzoneid(3C)