Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Apr 2004 23:25:41 +0200
From:      Stephan Riberi <stephan@berlin-clubs.de>
To:        freebsd-questions@freebsd.org
Subject:   NFSD v3 (CFSD?)
Message-ID:  <448567266.20040404232541@berlin-clubs.de>

next in thread | raw e-mail | index | archive | help
Hello Group,

I have problems with nfsd. I want to use nfs v3 instead of v2.

When I try to mount a dir for the use of cfsd I get this error:
-bash-2.05b# mount -o port=3049,intr,nfsv3 localhost:/crypt_data/crypt/ /crypt/
localhost:/crypt_data/crypt: NFSPROC_NULL: RPC: Program/version mismatch; low version = 2, high version = 2

but if I let away the port=3049 option it gets mountet but the
/crypt/ dir is empty:
-bash-2.05b# mount -o intr,nfsv3 localhost:/crypt_data/crypt/ /crypt/
-bash-2.05b# cattach /crypt_data/data/
Key:
-bash-2.05b# ls /crypt
-bash-2.05b#

using nfs v2, everything works fine:
-bash-2.05b# mount -o port=3049,intr,nfsv2 localhost:/crypt_data/crypt/ /crypt/
-bash-2.05b# cattach /crypt_data/data/
Key:
-bash-2.05b# ls /crypt
data
-bash-2.05b#


I want to use nfs v3 to be able to handle big files.

Here are some details of my system:

-bash-2.05b# uname -a
FreeBSD server.group 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr  3 10:53:38 GMT 2003     root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC  i386
-bash-2.05b# rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
1092830567    2   udp   3049
    100024    1   udp    991  status
    100024    1   tcp   1021  status
    100005    3   udp    956  mountd
    100005    3   tcp   1013  mountd
    100005    1   udp    956  mountd
    100005    1   tcp   1013  mountd

Any Thoughts?
    
Best regards,
Stephan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?448567266.20040404232541>