Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2015 09:59:16 +0100
From:      Manish Jain <bourne.identity@hotmail.com>
To:        User Questions <freebsd-questions@freebsd.org>
Subject:   NFS export not working
Message-ID:  <DUB131-W56E8E258513902CEC0B343F6DF0@phx.gbl>
In-Reply-To: <BLU436-SMTP9788A1C9972B6DA4E3259EF6050@phx.gbl>
References:  <BLU436-SMTP9788A1C9972B6DA4E3259EF6050@phx.gbl>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

Hi=2C

On a FreeBSD 10.1 amd64 system=2C I am trying to export /mnt/nfs to other h=
osts on my network.

This is what my /etc/exports says :

/mnt/nfs 192.168.10.

/etc/rc.conf has :
nfs_server_enable=3D"YES"
rpcbind_enable=3D"YES"
mountd_enable=3D"YES"
nfs_client_enable=3D"YES"

Running rpcinfo with my IP address produces decent output=2C but 'rpcinfo q=
uota' does not. 'showmount' returns an empty list :

/root # rpcinfo 192.168.10.101
   program version netid     address                service    owner
    100000    4    tcp       0.0.0.0.0.111          rpcbind    superuser
    100000    3    tcp       0.0.0.0.0.111          rpcbind    superuser
    100000    2    tcp       0.0.0.0.0.111          rpcbind    superuser
    100000    4    udp       0.0.0.0.0.111          rpcbind    superuser
    100000    3    udp       0.0.0.0.0.111          rpcbind    superuser
    100000    2    udp       0.0.0.0.0.111          rpcbind    superuser
    100000    4    tcp6      ::.0.111               rpcbind    superuser
    100000    3    tcp6      ::.0.111               rpcbind    superuser
    100000    4    udp6      ::.0.111               rpcbind    superuser
    100000    3    udp6      ::.0.111               rpcbind    superuser
    100000    4    local     /var/run/rpcbind.sock  rpcbind    superuser
    100000    3    local     /var/run/rpcbind.sock  rpcbind    superuser
    100000    2    local     /var/run/rpcbind.sock  rpcbind    superuser
    100005    1    udp6      ::.3.140               mountd     superuser
    100005    3    udp6      ::.3.140               mountd     superuser
    100005    1    tcp6      ::.3.140               mountd     superuser
    100005    3    tcp6      ::.3.140               mountd     superuser
    100005    1    udp       0.0.0.0.3.140          mountd     superuser
    100005    3    udp       0.0.0.0.3.140          mountd     superuser
    100005    1    tcp       0.0.0.0.3.140          mountd     superuser
    100005    3    tcp       0.0.0.0.3.140          mountd     superuser

/root # rpcinfo quota        =20
rpcinfo: can't contact rpcbind: RPC: (unknown error code)

/root # showmount -e
Exports list on localhost:

Not surprisingly=2C mount fails :

/root # mount -t nfs 192.168.10.101:/mnt/nfs /mnt/nfsc
[tcp] 192.168.10.101:/mnt/nfs: Permission denied

/var/log/messages records the following :

May  7 14:05:46 roundabout sshd[1884]: error: PAM: authentication error for=
 root from 218.87.111.118
May  7 14:26:57 roundabout mountd[666]: mount request denied from 192.168.1=
0.101 for /mnt/nfs

What could be the problem and how do I fix the issue ?

Thanks & Regards
Manish Jain

 		 	   		  =



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?DUB131-W56E8E258513902CEC0B343F6DF0>