NFS mount issue
norgaard at locolomo.org
Sat Jan 8 07:43:47 PST 2005
Colin J. Raven wrote:
> I'm trying to mount my home directory on my office box (5.3-RELEASE) on
> my home box (5.3-RELEASE) and there is _no_ _way_ I have ever been
> able to make this work.
> /etc/exports on the NFS server is configured correctly (other exports to
> other boxen work fine)
> my entry reads:
> /usr/home/colin -mapall root 18.104.22.1689 #home IP
Output of `showmount -e` is more usefull, then we can see what is
actually exported. NFS is very sensitive to errors in exports. You
probably don't want to use "-mapall root", but rather "-maproot=root",
see exports(5). Get rid of the comment, just to be sure.
Second: What have you set in your rc.conf? Are all things up and running?
> when - from the console as root - I do:
> mount -v office.nfs.server:/usr/home/colin /office-box
You forgot to specify '-t nfs' or use 'mount_nfs' ?
> I get rewarded with this message:
> [udp] office.nfs.server:/usr/home/colin: RPCPROG_MNT: RPC:
> Authentication error; why = Client credential too weak
> I'm coming in from the IP specified in /etc/exports on the server
> I'm doing it (as said above) as root
> I followeed the directions on:
> http://www.freebsddiary.org/nfs.php#mount to the letter
That article is from 1998, take a look in the handbook. And if you
scrool further down, it has been updated, 18 june 2004,
Today I encounted this error for the first time. I was compiling a
kernel on my fast box and while I was waiting I set up the slow box. I
$ mount polo:/usr/src /usr/src
polo:/usr/src: RPCPROG_MNT: RPC: Authentication error; why = Client
credential too weak
That confused me. I checked /var/log/messageson the NFS server:
mountd: mount request from 10.0.0.20 from unprivileged port
Ahhh! I wasn't root when I tried to mount! I su'd to root, and all was
> How...HOW do I solve this? I've been wrestling with this one simple
> problem forever now, and no matter what I try I cannot get my homedir
> Help _really_ would be appreciated!!
I think it would help following an updated guide :-), I have had no
problem exporting my /home. And, then post relevant settings from
rc.conf, exports, `showmount -e` etc.
PS: I note you are nfs-exporting across the internet, are you sure that
is a good idea? Consider tunneling.
Ph: +34.666334818 web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
More information about the freebsd-questions