* Re: NFS3 in RHEL3
2006-04-14 5:49 NFS3 in RHEL3 shashi
@ 2006-04-14 14:54 ` Chuck Lever
2006-04-14 21:20 ` Stephen Carville
2006-04-14 23:38 ` Garrick Staples
2 siblings, 0 replies; 5+ messages in thread
From: Chuck Lever @ 2006-04-14 14:54 UTC (permalink / raw)
To: shashi; +Cc: nfs
shashi wrote:
> Hi
>
> A small doubt about NFS3 in Linux . If i mount a NFS share (From NetApp
> , ONTAP 6.5 ) on a Linux machine with only ro,nolock options , then
> still the NFS mount options like
> bg,intr,hard,timeo,wsize,rsize,nfsvers,tcp are still applied ? If they
> are applied , how can i check is those are applied or not ?
>
> In my Linux box , after mounting with only ro,nolock options .....
>
> [root@<hostname>]# mount | grep < Mount point>
> <NFS server> on < Mount point > type nfs (ro,nolock,addr=144.20.129.248)
>
> In this case , is other other options like
> bg,intr,hard,timeo,wsize,rsize,nfsvers,tcp are applied ? if they are
> applied , what are the default values ?
>
> Please answer to my question.
You can examine /proc/mounts to find out the other mount options, but
most of them are not displayed unless you set them explicitly. The only
way to tell exactly what is going on is to capture a network trace.
I highly recommend that you do not rely on the defaults. They change
over time, and most of the default settings in many distributions are
not very good.
--
corporate: <cel at netapp dot com>
personal: <chucklever at bigfoot dot com>
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: NFS3 in RHEL3
2006-04-14 5:49 NFS3 in RHEL3 shashi
2006-04-14 14:54 ` Chuck Lever
@ 2006-04-14 21:20 ` Stephen Carville
2006-04-14 22:12 ` Chuck Lever
2006-04-14 23:38 ` Garrick Staples
2 siblings, 1 reply; 5+ messages in thread
From: Stephen Carville @ 2006-04-14 21:20 UTC (permalink / raw)
To: NFS List
shashi wrote:
> Hi
>
> A small doubt about NFS3 in Linux . If i mount a NFS share (From NetApp
> , ONTAP 6.5 ) on a Linux machine with only ro,nolock options , then
> still the NFS mount options like
> bg,intr,hard,timeo,wsize,rsize,nfsvers,tcp are still applied ? If they
> are applied , how can i check is those are applied or not ?
>
> In my Linux box , after mounting with only ro,nolock options .....
>
> [root@<hostname>]# mount | grep < Mount point>
> <NFS server> on < Mount point > type nfs (ro,nolock,addr=144.20.129.248)
>
> In this case , is other other options like
> bg,intr,hard,timeo,wsize,rsize,nfsvers,tcp are applied ? if they are
> applied , what are the default values ?
>
> Please answer to my question.
>
"man nfs" lists the options and their defaults
--
Stephen Carville <stephen@totalflood.com>
Unix and Network Admin
Nationwide Totalflood
6033 W. Century Blvd
Los Angeles, CA 90045
310-342-3602
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: NFS3 in RHEL3
2006-04-14 21:20 ` Stephen Carville
@ 2006-04-14 22:12 ` Chuck Lever
0 siblings, 0 replies; 5+ messages in thread
From: Chuck Lever @ 2006-04-14 22:12 UTC (permalink / raw)
To: Stephen Carville; +Cc: NFS List
Stephen Carville wrote:
> shashi wrote:
>> Hi
>>
>> A small doubt about NFS3 in Linux . If i mount a NFS share (From NetApp
>> , ONTAP 6.5 ) on a Linux machine with only ro,nolock options , then
>> still the NFS mount options like
>> bg,intr,hard,timeo,wsize,rsize,nfsvers,tcp are still applied ? If they
>> are applied , how can i check is those are applied or not ?
>>
>> In my Linux box , after mounting with only ro,nolock options .....
>>
>> [root@<hostname>]# mount | grep < Mount point>
>> <NFS server> on < Mount point > type nfs (ro,nolock,addr=144.20.129.248)
>>
>> In this case , is other other options like
>> bg,intr,hard,timeo,wsize,rsize,nfsvers,tcp are applied ? if they are
>> applied , what are the default values ?
>>
>> Please answer to my question.
>>
>
> "man nfs" lists the options and their defaults
Hi Stephen-
It's been my experience that the man pages on Linux are often quite out
of date, and sometimes don't match the actual behavior of the commands
available in each distribution. Thus I recommend using a network trace
to make sure.
--
corporate: <cel at netapp dot com>
personal: <chucklever at bigfoot dot com>
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: NFS3 in RHEL3
2006-04-14 5:49 NFS3 in RHEL3 shashi
2006-04-14 14:54 ` Chuck Lever
2006-04-14 21:20 ` Stephen Carville
@ 2006-04-14 23:38 ` Garrick Staples
2 siblings, 0 replies; 5+ messages in thread
From: Garrick Staples @ 2006-04-14 23:38 UTC (permalink / raw)
To: nfs
[-- Attachment #1: Type: text/plain, Size: 913 bytes --]
On Fri, Apr 14, 2006 at 11:19:46AM +0530, shashi alleged:
> Hi
>
> A small doubt about NFS3 in Linux . If i mount a NFS share (From NetApp
> , ONTAP 6.5 ) on a Linux machine with only ro,nolock options , then
> still the NFS mount options like
> bg,intr,hard,timeo,wsize,rsize,nfsvers,tcp are still applied ? If they
> are applied , how can i check is those are applied or not ?
>
> In my Linux box , after mounting with only ro,nolock options .....
>
> [root@<hostname>]# mount | grep < Mount point>
> <NFS server> on < Mount point > type nfs (ro,nolock,addr=144.20.129.248)
>
> In this case , is other other options like
> bg,intr,hard,timeo,wsize,rsize,nfsvers,tcp are applied ? if they are
> applied , what are the default values ?
Look in /proc/mounts for the actual options applied to the mount.
--
Garrick Staples, Linux/HPCC Administrator
University of Southern California
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread