All of lore.kernel.org
 help / color / mirror / Atom feed
* Configuration for NFSv3 only?
@ 2005-07-25 20:40 Bill Johnstone
  2005-07-25 20:51 ` Trond Myklebust
  2005-07-25 21:47 ` Peter Staubach
  0 siblings, 2 replies; 15+ messages in thread
From: Bill Johnstone @ 2005-07-25 20:40 UTC (permalink / raw)
  To: nfs

Hello all.

What I would like to do is configure my server and clients to use NFSv3
only.  I'm running recent 2.6 kernels, e.g. 2.6.12 .  I have read the
FAQ on nfs.sourceforge.net .

My kernel on the server is configured for Providing NFS3 client and
server support.  My kernel on the test client is configured for NFS3
client support.

My init script on the server is giving rpc.mountd the "-N 1 -N 2"
command-line options.

Running "rpcinfo -p" on the server gives:

    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  32768  status
    100024    1   tcp  32769  status
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100021    1   udp  32770  nlockmgr
    100021    3   udp  32770  nlockmgr
    100021    4   udp  32770  nlockmgr
    100021    1   tcp  32770  nlockmgr
    100021    3   tcp  32770  nlockmgr
    100021    4   tcp  32770  nlockmgr
    100005    3   udp    687  mountd
    100005    3   tcp    690  mountd

On the client, trying to perform a "mount -o vers=3D3 <server
IP>:<exportname> <local mountpoint>" gives the error "NFSv3 not
supported!" and the mount fails.  If I remove the options to
rpc.mountd,   and do not specify "-o vers=3D3" on the client side, then
mountd listens for protocol versions 1 and 2, and the mount succeeds.

This leads me to the following questions:

1. Should "rpcinfo -p" list a version 3 for portmapper in order for
NFSv3 to be successfully used, or should portmapper only be at version
2 even for the NFSv3 protocol?

2. Is it possible to tell the other NFS-related daemons to only listen
for NFSv3, e.g. "status" only seems to be speaking version 1, the nfs
daemon versions 2 and 3, and "nlockmgr" versions 1, 3, and 4.

3. Any suggestions on how to troubleshoot this problem?

Thanks.


	=09
__________________________________=20
Yahoo! Mail for Mobile=20
Take Yahoo! Mail with you! Check email on your mobile phone.=20
http://mobile.yahoo.com/learn/mail=20


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclic=
k
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

end of thread, other threads:[~2005-07-27  0:32 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-25 20:40 Configuration for NFSv3 only? Bill Johnstone
2005-07-25 20:51 ` Trond Myklebust
2005-07-25 21:17   ` Bill Johnstone
2005-07-25 21:27     ` Trond Myklebust
2005-07-25 22:30       ` Bill Johnstone
2005-07-25 23:38         ` Trond Myklebust
2005-07-26  3:55           ` Bill Johnstone
2005-07-26 15:25             ` Trond Myklebust
2005-07-26 22:52               ` Bill Johnstone
2005-07-27  0:32                 ` Trond Myklebust
2005-07-25 22:32       ` Bill Johnstone
2005-07-25 21:47 ` Peter Staubach
2005-07-25 22:35   ` Bill Johnstone
2005-07-26 12:52     ` Peter Staubach
2005-07-26 22:48       ` Bill Johnstone

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.