Skip to contentSkip to conversation

NFS3 in RHEL3

DISCUSSION shashi 4 participants 5 messages Apr 14, 2006

Subsystems (2)
lore
Share & tools
lore

shashi

author
#0 lore raw

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.

Signature · 12 lines
Thanks & Regards,
Shashi Kanth,SSCP(ISO/IEC17024)


-------------------------------------------------------
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  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#1 lore raw
Quoted 10 lines · shashi

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

Quoted 8 lines
[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.

Signature · 12 lines
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  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#2 lore raw
In reply to shashi
Quoted 10 lines · shashi

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

Quoted 9 lines
[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

Signature · 16 lines
Stephen Carville <[email protected]>
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  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#3 lore raw
Quoted 14 lines · Stephen Carville
Quoted 13 lines · shashi

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)
Quoted 8 lines
Quoted 6 lines

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.

Signature · 12 lines
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  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#4 lore raw
In reply to shashi

On Fri, Apr 14, 2006 at 11:19:46AM +0530, shashi alleged:

Quoted 8 lines

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 ?

Quoted 8 lines

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.

Signature · 2 lines
Garrick Staples, Linux/HPCC Administrator
University of Southern California