From owner-freebsd-questions@FreeBSD.ORG Thu May 7 09:00:25 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B0D9E18F for ; Thu, 7 May 2015 09:00:25 +0000 (UTC) Received: from DUB004-OMC4S27.hotmail.com (dub004-omc4s27.hotmail.com [157.55.2.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3096D1240 for ; Thu, 7 May 2015 09:00:24 +0000 (UTC) Received: from DUB131-W56 ([157.55.2.72]) by DUB004-OMC4S27.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Thu, 7 May 2015 01:59:16 -0700 X-TMN: [R+Ajzkzj10Gzkgu+vJUzVPC36yovcIcM] X-Originating-Email: [bourne.identity@hotmail.com] Message-ID: From: Manish Jain To: User Questions Subject: NFS export not working Date: Thu, 7 May 2015 09:59:16 +0100 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 07 May 2015 08:59:16.0311 (UTC) FILETIME=[18A33E70:01D088A4] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2015 09:00:25 -0000 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 =