All of lore.kernel.org
 help / color / mirror / Atom feed
* Passing the automounter mount options
@ 2003-10-03 15:28 Justin Rush
  2003-10-03 16:09 ` Mike Waychison
  2003-10-03 16:28 ` Ladd Hebert
  0 siblings, 2 replies; 4+ messages in thread
From: Justin Rush @ 2003-10-03 15:28 UTC (permalink / raw)
  To: autofs

Hi,
  I am troubleshooting nfs performance and I am trying to pass some 
options to the automounter.  We are using NIS with an auto.home file to 
automount user's homedirectories.  I have a line like :
jrush -rw,soft,rsize=32768,wsize=32768,nfsvers=3 host:/path/to/home
However it does not seem to work because I do not get the same perfermance 
as when I do an nfs mount manually, ie. mount -t nfs host:/path dir/ -o 
rsize=32768,wsize=32768,nfsvers=3

Am I missing something here or just editing the wrong file?

Any input is greatly appreciated.

-- 
Justin Rush
Technical Specialist
Internet Scout Project
jrush@scout.wisc.edu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Passing the automounter mount options
  2003-10-03 15:28 Passing the automounter mount options Justin Rush
@ 2003-10-03 16:09 ` Mike Waychison
  2003-10-03 16:28 ` Ladd Hebert
  1 sibling, 0 replies; 4+ messages in thread
From: Mike Waychison @ 2003-10-03 16:09 UTC (permalink / raw)
  To: Justin Rush; +Cc: autofs

Justin Rush wrote:

>Hi,
>  I am troubleshooting nfs performance and I am trying to pass some 
>options to the automounter.  We are using NIS with an auto.home file to 
>automount user's homedirectories.  I have a line like :
>jrush -rw,soft,rsize=32768,wsize=32768,nfsvers=3 host:/path/to/home
>However it does not seem to work because I do not get the same perfermance 
>as when I do an nfs mount manually, ie. mount -t nfs host:/path dir/ -o 
>rsize=32768,wsize=32768,nfsvers=3
>  
>

Does /proc/mounts say that it is actually mounted with those options?

If not, then chances are the NIS map didn't get rebuilt.  Did you re-run 
'make' in /var/yp on the nis server?  If you are using NIS slaves, did 
you push the maps to them?

Mike Waychison

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Passing the automounter mount options
  2003-10-03 15:28 Passing the automounter mount options Justin Rush
  2003-10-03 16:09 ` Mike Waychison
@ 2003-10-03 16:28 ` Ladd Hebert
  2003-10-03 18:13   ` Justin Rush
  1 sibling, 1 reply; 4+ messages in thread
From: Ladd Hebert @ 2003-10-03 16:28 UTC (permalink / raw)
  To: Justin Rush; +Cc: autofs

On Fri, Oct 03, 2003 at 10:28:37AM -0500, thus Justin Rush spoke:
> Hi,
>   I am troubleshooting nfs performance and I am trying to pass some 
> options to the automounter.  We are using NIS with an auto.home file to 
> automount user's homedirectories.  I have a line like :
> jrush -rw,soft,rsize=32768,wsize=32768,nfsvers=3 host:/path/to/home
> However it does not seem to work because I do not get the same perfermance 
> as when I do an nfs mount manually, ie. mount -t nfs host:/path dir/ -o 
> rsize=32768,wsize=32768,nfsvers=3
> 
> Am I missing something here or just editing the wrong file?
> 
---end quoted text---

You didn't specify which OS/Distro, but on my Redhat machines, I edit the
/etc/init.d/autofs init script directly. There is a section in the init
script that allows you to specify mount options and daemon options.

Ie:
#
# We can add local options here
# e.g. localoptions='rsize=8192,wsize=8192'
#
localoptions=''

# Daemon options
# e.g. --timeout 60
#
daemonoptions=''


-Ladd

-- 
+----------------------------------+
| Ladd J Hebert <lhebert/@\ti.com> |
| UNIX Systems Administrator       |
| Stafford Infrastructure Team     |
| Texas Instruments - Stafford,TX  |
| "visualize world blinker usage"  |
+----------------------------------+

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Passing the automounter mount options
  2003-10-03 16:28 ` Ladd Hebert
@ 2003-10-03 18:13   ` Justin Rush
  0 siblings, 0 replies; 4+ messages in thread
From: Justin Rush @ 2003-10-03 18:13 UTC (permalink / raw)
  To: Ladd Hebert; +Cc: autofs

Thanks to everyone for their input,
  I did try to originally put it in the auto.home file, and yes I did 
remake the NIS files and push them out.
  When that didn't work, I tried editing the autofs init script, however 
this seemed not to work either.
localoptions='rsize=32768,wsize=32768,nfsvers=3'
is the line that I used.
I am running redhat 9 with all the updated rpms.

Is there anything else that I missing?
Again, any responses are greatly appreciated.

On Fri, 3 Oct 2003, Ladd Hebert wrote:

> On Fri, Oct 03, 2003 at 10:28:37AM -0500, thus Justin Rush spoke:
> > Hi,
> >   I am troubleshooting nfs performance and I am trying to pass some 
> > options to the automounter.  We are using NIS with an auto.home file to 
> > automount user's homedirectories.  I have a line like :
> > jrush -rw,soft,rsize=32768,wsize=32768,nfsvers=3 host:/path/to/home
> > However it does not seem to work because I do not get the same perfermance 
> > as when I do an nfs mount manually, ie. mount -t nfs host:/path dir/ -o 
> > rsize=32768,wsize=32768,nfsvers=3
> > 
> > Am I missing something here or just editing the wrong file?
> > 
> ---end quoted text---
> 
> You didn't specify which OS/Distro, but on my Redhat machines, I edit the
> /etc/init.d/autofs init script directly. There is a section in the init
> script that allows you to specify mount options and daemon options.
> 
> Ie:
> #
> # We can add local options here
> # e.g. localoptions='rsize=8192,wsize=8192'
> #
> localoptions=''
> 
> # Daemon options
> # e.g. --timeout 60
> #
> daemonoptions=''
> 
> 
> -Ladd
> 
> 

-- 
Justin Rush
Technical Specialist
Internet Scout Project
jrush@scout.wisc.edu

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-10-03 18:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-03 15:28 Passing the automounter mount options Justin Rush
2003-10-03 16:09 ` Mike Waychison
2003-10-03 16:28 ` Ladd Hebert
2003-10-03 18:13   ` Justin Rush

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.