Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2009 12:49:28 -0500
From:      "Doug Poland" <doug@polands.org>
To:        freebsd-questions@freebsd.org
Subject:   NFS issues on 8.0-BETA4
Message-ID:  <a52c062500a90703b3ffaae82b78f231.squirrel@email.polands.org>

next in thread | raw e-mail | index | archive | help

Hello,

I have a 7.2-RELEASE(i386) server hosting NFSv3.  I've installed
8.0-BETA4(amd64) in a VMware 6.5 workstation virtual machine.

I cannot sucessfully mount exports from the NFSv3 server on the
8.0-BETA4 client.  All works well with 7.2 clients.

The strange thing is, the directory in which I mount the nfs
filesystem disappears, and I get an error when I attempt to access the
directory.


On working the server, I set these knobs in /etc/rc.conf:
mountd_flags="-l"
nfs_reserved_port_only="NO"
nfs_server_enable="YES"
nfs_server_flags="-u -n 6"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"

On the client, I set these knobs in /etc/rc.conf:
nfs_client_enable="YES"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"

client#  mount -t nfs -o
nfsv3,retrycnt=3,intr,soft,rsize=32768,wsize=32768 fs:/usr/ports
/usr/ports

I get a long delay (several seconds)

client# echo $?
0

client# ls /usr/ports
ls: /usr/ports: Permission denied

client#  echo $?
1

client# mount -t nfs
fs:/usr/ports on /usr/ports (nfs)


client# umount /usr/ports
client#  ls -ld /usr/ports
drwxr-xr-x  2 root  wheel  512 Sep 11 08:54 /usr/ports

If I simplify the mount command, I get a different error:
client# mount -t nfs fs:/usr/ports /usr/ports
mount: /usr/ports: Permission denied
client# echo $?
64

client# mount -t nfs
fs:/usr/ports on /usr/ports (nfs)


Any suggestions?


-- 
Regards,
Doug



-- 
Regards,
Doug




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