From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 06:27:04 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF7FA16A4BF for ; Tue, 7 Oct 2003 06:27:04 -0700 (PDT) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [66.30.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2E4F43FF2 for ; Tue, 7 Oct 2003 06:27:03 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 8946C3AB7; Tue, 7 Oct 2003 09:27:03 -0400 (EDT) Sender: lowell@be-well.ilk.org To: "Charles Howse" References: <008501c38b8b$4cc0bac0$04fea8c0@moe> From: Lowell Gilbert Date: 07 Oct 2003 09:27:03 -0400 In-Reply-To: <008501c38b8b$4cc0bac0$04fea8c0@moe> Message-ID: <44y8vxkwk8.fsf@be-well.ilk.org> Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: Mount_nfs permission denied X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2003 13:27:04 -0000 "Charles Howse" writes: > I'm trying to mount_nfs larry:/usr /mnt > And I always get permission denied. > It also fails on mount_nfs larry:/disk2 /mnt > Any idea what I'm doing wrong? > > [root@larry ~]# df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0s1a 492M 54M 399M 12% / > /dev/ad2s1f 1.1G 43M 1.0G 4% /disk2 > /dev/ad0s1f 492M 4.0K 453M 0% /tmp > /dev/ad0s1g 6.1G 902M 4.7G 16% /usr > /dev/ad2s1e 984M 347M 558M 38% /usr/obj > /dev/ad0s1e 492M 5.2M 448M 1% /var > procfs 4.0K 4.0K 0B 100% /proc > > [root@larry ~]# cat /etc/exports > /disk2 -alldirs -network 192.168.254.0 -mask 255.255.255.0 > /usr -alldirs -network 192.168.254.0 -mask 255.255.255.0 > > [root@larry ~]# showmount -e > Exports list on localhost: > /usr 192.168.254.0 > /disk2 192.168.254.0 > > [root@larry ~]# ls -l / | grep usr > lrwxr-xr-x 1 root wheel 10 Sep 4 02:58 compat -> usr/compat > lrwxrwxrwx 1 root wheel 9 Sep 4 03:00 home -> /usr/home > lrwxr-xr-x 1 root wheel 11 Sep 27 15:17 sys -> usr/src/sys > drwxr-xr-x 19 root wheel 512 Sep 4 09:25 usr Looks okay to me. Are you trying to do the mount on the same machine? Do you have portmap, nfsd, and mountd running on "larry"? Is "larry" on the same subnet?