From owner-freebsd-questions@FreeBSD.ORG Sat Jan 8 15:43:47 2005 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 387D116A4CE for ; Sat, 8 Jan 2005 15:43:47 +0000 (GMT) Received: from top.daemonsecurity.com (FW-182-254.go.retevision.es [62.174.254.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1948C43D2F for ; Sat, 8 Jan 2005 15:43:46 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.0.32] (charm.daemonsecurity.com [192.168.0.32]) by top.daemonsecurity.com (Postfix) with ESMTP id 127ADFD01F; Sat, 8 Jan 2005 16:43:44 +0100 (CET) Message-ID: <41DFFFAE.8000107@locolomo.org> Date: Sat, 08 Jan 2005 16:43:42 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041114 X-Accept-Language: en, en-us, da, it, es MIME-Version: 1.0 To: "Colin J. Raven" References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD Questions Subject: Re: NFS mount issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jan 2005 15:43:47 -0000 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 12.34.56.789 #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, quote: 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 did this: $ 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[95]: 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 well. quote-end. > 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 > mounted. > > 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. Cheers, Erik 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 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2