Sponsored Content
Operating Systems Solaris NFS mount. Nobody Nobody permissions. Post 302240220 by gwhelan on Thursday 25th of September 2008 08:05:39 AM
Old 09-25-2008
I am using NFS version 4. Here is the /etc/default/nfs file.

# cat /etc/default/nfs
# ident "@(#)nfs 1.10 04/09/01 SMI"
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#

# Sets the maximum number of concurrent connection oriented connections.
# Default is unlimited and is obtained by not setting NFSD_MAX_CONNECTIONS.
# Equivalent to -c.
#NFSD_MAX_CONNECTIONS=

# Set connection queue length for the NFS over a connection-oriented
# transport. The default value is 32 entries.
# Equivalent to -l.
NFSD_LISTEN_BACKLOG=32

# Start NFS daemon over the specified protocol only.
# Equivalent to -p, ALL is equivalent to -a on the nfsd command line.
# Mutually exclusive with NFSD_DEVICE.
NFSD_PROTOCOL=ALL

# Start NFS daemon for the transport specified by the given device only.
# Equivalent to -t.
# Mutually exclusive with setting NFSD_PROTOCOL.
#NFSD_DEVICE=

# Maximum number of concurrent NFS requests.
# Equivalent to last numeric argument on nfsd command line.
NFSD_SERVERS=16

# Set connection queue length for lockd over a connection-oriented transport.
# Default and minimum value is 32.
LOCKD_LISTEN_BACKLOG=32

# Maximum number of concurrent lockd requests.
# Default is 20.
LOCKD_SERVERS=20

# Retransmit Timeout before lockd tries again.
# Default is 5.
LOCKD_RETRANSMIT_TIMEOUT=5

# Grace period in seconds that all clients (both NLM & NFSv4) have to
# reclaim locks after a server reboot. Also controls the NFSv4 lease
# interval.
# Overrides the deprecated setting LOCKD_GRACE_PERIOD.
# Default is 90 seconds.
GRACE_PERIOD=90

# Deprecated.
# As for GRACE_PERIOD, above.
# Default is 90 seconds.
#LOCKD_GRACE_PERIOD=90

# Sets the minimum version of the NFS protocol that will be registered
# and offered by the server. The default is 2.
#NFS_SERVER_VERSMIN=2

# Sets the maximum version of the NFS protocol that will be registered
# and offered by the server. The default is 4.
#NFS_SERVER_VERSMAX=4

# Sets the minimum version of the NFS protocol that will be used by
# the NFS client. Can be overridden by the "vers=" NFS mount option.
# The default is 2.
#NFS_CLIENT_VERSMIN=2

# Sets the maximum version of the NFS protocol that will be used by
# the NFS client. Can be overridden by the "vers=" NFS mount option.
# If "vers=" is not specified for an NFS mount, this is the version
# that will be attempted first. The default is 4.
#NFS_CLIENT_VERSMAX=4

# Determines if the NFS version 4 delegation feature will be enabled
# for the server. If it is enabled, the server will attempt to
# provide delegations to the NFS version 4 client. The default is on.
#NFS_SERVER_DELEGATION=on

# Specifies to nfsmapid daemon that it is to override its default
# behavior of using the DNS domain, and that it is to use 'domain' as
# the domain to append to outbound attribute strings, and that it is to
# use 'domain' to compare against inbound attribute strings.
#NFSMAPID_DOMAIN=domain
#
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

nfs permissions

Hi all can someone tell me how to set the follwoing permissions in the /etc/exports file to share a directory. I need 2 users eg a+b to be able to read and write to the directory but everyone else to just read. we have NIS in our environment and I though I could use netgroups do do this. My... (2 Replies)
Discussion started by: silvaman
2 Replies

2. HP-UX

nfs export permissions

Hello, If I have an export like: /usr/temp -rw=ram:alligator means that /usr/temp has "rw" permissions to ram and alligator machines and has "ro" to everyone else? (1 Reply)
Discussion started by: psimoes79
1 Replies

3. UNIX for Dummies Questions & Answers

mount -o llock -F nfs vs mount -F nfs

Hi, We encountered NFS issue (solaris) especially running on Oracle application. Problem such as forms hang when close button is click, concurrent job shows running status all time. Understand we need to use mount -o llock -F nfs instead of mount -F nfs to eliminate? this problem.. Can... (1 Reply)
Discussion started by: KhawHL
1 Replies

4. Solaris

Permissions on NFS mount

I am mounting a directory remotely but I am not able to write to the NFS mount. I am using the following commands to share and mount the file system: On source server in DFStab file share -F nfs -o rw -d "IWStore" /iw-store On the client I am mounting like this: mount -F nfs -o rw... (4 Replies)
Discussion started by: wstclair
4 Replies

5. AIX

NFS mounts and user permissions

We need to allow ordinary users to preform NFS mounts on a AIX server without giving them root access to the server. Is there a way to give an ordinary users root access on a tem basis or a script to allow them to preform NFS mounts? (4 Replies)
Discussion started by: daveisme
4 Replies

6. IP Networking

Can't see home folder on one NFS mount but can in another mount on another share

Hello, I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;) Below are the configs /etc/exports on host /home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies

7. Solaris

NFS Mount permissions weird

Hi all. I have a nas mounted on a solaris box as /u04. Currently I am getting a permission denied error from my HP DataProtector backup and when I ls -l the actual directory I get: drwxrwxrwt 5 65535 nogroup 4096 Nov 9 13:46 u04 I also have SAN mounted as /u06 and it is... (1 Reply)
Discussion started by: jamie_collins
1 Replies

8. Shell Programming and Scripting

Issue with changing the permissions on an nfs mount

Hi All, I have an nfs share which I mounted to my linux machine as below. df -k output TSDapp-na-02:/vol/tsd_app_1/rn_jira 47185920 11663072 35522848 25% /opt/rn_jira I have no entry for this in my /etc/fstab. I did it by the following way. mount -t nfs... (2 Replies)
Discussion started by: Tuxidow
2 Replies

9. UNIX for Dummies Questions & Answers

Permissions for NFS share

Hi, I have created a NFS share in Solaris 10 server1 and mounted it on solaris 10 server 2.But I want to change owner of the files from nobody to a particular user in client. Which command should I use. I have tried the following but it doesn't allow to change permissions in the server2 as... (0 Replies)
Discussion started by: Rossdba
0 Replies

10. Shell Programming and Scripting

Mount NFS Share On NFS Client via bash script.

I need a help of good people with effective bash script to mount nfs shared, By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people. The scenario as follow: An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies
nfs(4)							     Kernel Interfaces Manual							    nfs(4)

NAME
nfs - file containing parameter values for NFS-related daemons SYNOPSIS
DESCRIPTION
The file resides in directory and provides startup parameters for the and daemons. The file format is ASCII; comment lines begin with the crosshatch character. Parameters consist of a keyword followed by an equal sign followed by the parameter value. This is the form of parameters in the file: The following parameters are currently supported in the file: The NFS client only uses NFS versions in the range specified by these variables. Valid values or versions are and By default these variables are unspecified (commented out) and the client's default minimum is Version 2. The default maximum is Version 3. You can override this range on a per-mount basis by using the option to The NFS server only uses NFS versions in the range specified by these variables. Valid values or versions are and As with the client, the default is to leave these variables commented out. The default minimum version is and the default maximum version is By default, this variable is commented out and the NFS server provides delegations to clients. The user can turn on delegations for all exported filesystems by setting this variable to This variable only applies to NFS Version 4. Delegation should only be turned on provided that there is no local access to the exported file system. By default, uses the DNS domain of the system. This setting overrides the default. This domain is used for identifying user and group attribute strings in the NFS Version 4 protocol. Clients and servers must match with this domain for operations to proceed normally. This variable only applies to NFS Version 4. See below for further details. Sets the maximum number of concurrent, connection-oriented connections. The default is unlimited and is obtained by not setting (that is, not commenting out) Equivalent to the option in Set connection queue length for the NFS over a connection-oriented transport. The default value is 32, meaning 32 entries in the queue. Equivalent to the option in Start over the specified protocol only. Equivalent to the option in is equivalent to on the command line. Mutually exclusive of Either or must be commented out. For the UDP protocol, only version 2 and version 3 service is established. NFS Version 4 is not supported for the UDP protocol. Start NFS daemon for the transport specified by the given device only. Equivalent to the option in Mutually exclusive of Either or must be commented out. Maximum number of concurrent NFS requests. Equivalent to last numeric argument on the command line. The default is 16. Set connection queue length for over a connection-oriented transport. The default and minimum value is Maximum number of concurrent requests. The default is Retransmit timeout, in seconds, before retries. The default is Grace period, in seconds, that all clients (both NLM and NFSv4) have to reclaim locks after a server reboot. This parameter also controls the lease interval. The default is Setting NFSMAPID_DOMAIN As described above, the setting for overrides the domain used by for building and comparing outbound and inbound attribute strings, respec- tively. This setting overrides any other mechanism for setting the NFSv4 domain. In the absence of a setting, the daemon determines the NFSv4 domain as follows: If a properly configured (see resolv.conf(4)) exists, queries specified nameserver(s) for the domain. If a properly configured (see resolv.conf(4)) exists, but the queried nameserver does not have a proper record of the domain name, attempts to obtain the domain name through the BIND interface (see resolver(3)). If no exists, falls back on using the configured domain name (see domainname(1)), which is returned with the leading domain suffix removed. For example, for is returned. If does not exist, no domain name has been configured (or no exists), falls back on obtaining the domain name from the host name, if the host name contains a fully qualified domain name (FQDN). If a domainname is still not obtained following all of the preceding steps, will have no domain configured. This results in the following behavior: Outbound "owner" and "owner_group" attribute strings are encoded as literal ids. For example, the UID 12345 is encoded as ignores the "domain" portion of the inbound attribute string and performs name service lookups only for the user or group. If the user/group exists in the local system name service databases, then the proper uid/gid will be mapped even when no domain has been configured. This behavior implies that the same administrative user/group domain exists between NFSv4 client and server (that is, the same uid/gid for users/groups on both client and server). In the case of overlapping id spaces, the inbound attribute string could potentially be mapped to the wrong id. However, this is not functionally different from mapping the inbound string to yet provides greater flexibility. AUTHOR
was developed by Sun Microsystems, Inc. SEE ALSO
lockd(1M), mount_nfs(1M), nfsd(1M), nfsmapid(1M). nfs(4)
All times are GMT -4. The time now is 06:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy