NFSD v3 (CFSD?)
Stephan Riberi
stephan at berlin-clubs.de
Wed Apr 14 14:22:49 PDT 2004
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 at 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
More information about the freebsd-questions
mailing list