changing nfs options on Solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris changing nfs options on Solaris 10
# 1  
Old 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.
# 2  
Old 05-06-2008
Automounts are a bit different especially on /net, to see automount changes on /net you need either to reboot or wait for the automount to timeout (15 minutes if memory serves) and then retry so that it remounts. You could unmount it manually and see if it remounts with the new options, I can't remember the behavior and I'm not in front of a Solaris box to check.
# 3  
Old 05-07-2008
Hi,

To give you more details on the issue I have:

HostA (solaris 10)
REMOTESERVER (solaris 10)

I can set nfs options if I use mount (not through /net)

mount -F nfs -o rw,bg,hard,nointr,rsize=32768,wsize=32768,vers=3,timeo=600,actimeo=0 -O REMOTESERVER:/REMOTESERVER9 /mnt/REMOTESERVER9

What needs to be done on REMOTESERVER to have these options set when I access /net/REMOTESERVER/REMOTESERVER9?

thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

NFS write error on host xyz: Stale NFS file handle - Solaris 10

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

2. 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

3. Solaris

Window NFS VS Solaris NFS

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

4. Solaris

Solaris 9 as a nfs client -- centos as a nfs server.

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

5. AIX

changing values for nfs shared file system on 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

NFS share options

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

7. UNIX for Dummies Questions & Answers

changing root menu options on Redaht

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

8. Programming

Changing TCP/IP Options in SunOS

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

9. UNIX for Advanced & Expert Users

changing Hash printing options for FTP

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
Login or Register to Ask a Question