05-06-2008
changing nfs options on Solaris 10
hi
I changed nfs options in "/etc/auto_master":
/net -hosts rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,ve
rs=3,timeo=600,actimeo=0
then I did
automount -v
svcadm restart svc:/system/filesystem/autofs
svcadm restart svc:/network/nfs/server:default
When doing 'mount' command,I see
remote/read/write/nosetuid/nodevices/xattr/dev=4702d15 on Tue May 6 16:39:04 2008
for /net/remote/remoteserver9
Shouldn't I see the new options?
How to check that Solaris has the new options?
Do I need to restart other services?
thanks.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi!!,
I usually have to ftp massive files ~200MB. The default hash printing option marks a hash for every 1024 bytes. Any ideas how to change this setting to some other value??
I know no one like to see logfiles of size ~2mb just filled with hashes.. :D (1 Reply)
Discussion started by: jyotipg
1 Replies
2. Programming
Due to some project requirement I am writing an application which uses Transport Layer Interface (TLI's) in Sun OS Release 5.8.
The problem is in setting the tcp's TCP_KEEPIDLE or TCP_KEEPINTVL or TCP_NKEEP parameters by t_optmgmt ( ) function.I understand that in Sun OS these are referenced by... (2 Replies)
Discussion started by: S.P.Prasad
2 Replies
3. UNIX for Dummies Questions & Answers
Hello all,
I would like to change the options on the root menu when I use the middle button on a three mouse buttom setting. I can append to the menu but, I seem to be unable to find the lisp code for pop-root-menu. Does anyone know how to change this? THANKS ALL (3 Replies)
Discussion started by: larry
3 Replies
4. Solaris
Hello,
I'm doing a Perl script to parse the dfstab file and find dangerous configurations (rw to everyone, root access, etc). My question is, if I have a share command like this:
share -F nfs -o ro=chrome:copper:zinc,root=chrome /usr/man
it means that the /usr/man is "rw" to everyone... (6 Replies)
Discussion started by: psimoes79
6 Replies
5. AIX
Hi,
I want to change the values for shared file system in aix for that I have run the command smitty chnfsexp but I am not getting the all the values which I have seen while adding the file system while exporting
example
smitty chnfsexp
but after selecting shared file system using F4... (3 Replies)
Discussion started by: manoj.solaris
3 Replies
6. 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
7. Solaris
Hi all,
currently i wish to build a NFS server (windows based), is it the I/O speed will slower than the NFS server in Solaris?
any impact, i using the NFS in windows? (2 Replies)
Discussion started by: SmartAntz
2 Replies
8. Shell Programming and Scripting
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. Solaris
Oct 13 12:19:15 xyz nfs: NFS write error on host xyz: Stale NFS file handle.
Oct 13 12:19:15 xyz nfs: (file handle: 68000000 1bc5492e 20000000 377c5e 1ce9395c 720a6203 40000000 bdfb0400)
Oct 13 12:19:15 xyz nfs: NFS write error on host zyz: Stale NFS file handle.
Oct 13 12:19:15 xyz nfs: ... (5 Replies)
Discussion started by: psychocandy
5 Replies
LEARN ABOUT POSIX
automountd
automountd(1M) automountd(1M)
NAME
automountd - autofs mount/unmount daemon
SYNOPSIS
automountd [-Tvn] [-D name=value]
automountd is an RPC server that answers file system mount and unmount requests from the autofs file system. It uses local files or name
service maps to locate file systems to be mounted. These maps are described with the automount(1M) command.
If automount finds any non-trivial entries in either the local or distributed automount maps and if the daemon is not running already, the
automountd daemon is automatically invoked by automount(1M). automountd enables the svc:/network/nfs/nlockmgr service (lockd(1M)), and the
svc:/network/nfs/status service (statd(1M)), if NFS mounts need to be done.
At startup, the automountd daemon is invoked as is invoked as the system/filesystem/autofs:default service. See .
The following options are supported:
-D name=value Assign value to the indicated automount map substitution variable. These assignments cannot be used to substitute variables
in the master map auto_master.
-n Turn off browsing for all autofs mount points. This option overrides the -browse autofs map option on the local host.
-T Trace. Expand each RPC call and display it on the standard output.
-v Verbose. Log status messages to the console.
USAGE
See largefile(5) for the description of the behavior of automountd when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
/etc/auto_master Master map for automounter.
/etc/default/autofs Supplies default values for parameters for automount and automountd. See autofs(4).
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
svcs(1), automount(1M), svcadm(1M), autofs(4), attributes(5), largefile(5), smf(5)
The automountd service is managed by the service management facility, smf(5), under the service identifier:
svc:/system/filesystem/autofs
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser-
vice's status can be queried using svcs(1). If it is disabled, it is enabled by automount(1M) unless the application/auto_enable property
is set to false.
3 Mar 2005 automountd(1M)