Skip site navigation (1)Skip section navigation (2)
Date:      07 Oct 2003 09:27:03 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Charles Howse" <chowse@charter.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Mount_nfs permission denied
Message-ID:  <44y8vxkwk8.fsf@be-well.ilk.org>
In-Reply-To: <008501c38b8b$4cc0bac0$04fea8c0@moe>
References:  <008501c38b8b$4cc0bac0$04fea8c0@moe>

next in thread | previous in thread | raw e-mail | index | archive | help
"Charles Howse" <chowse@charter.net> 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?



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