From owner-freebsd-questions@FreeBSD.ORG Wed Jun 4 16:03:32 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 6A24A37B405; Wed, 4 Jun 2003 16:03:32 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 285B443F85; Wed, 4 Jun 2003 16:03:31 -0700 (PDT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.9/8.12.9) with ESMTP id h54N3KrN025906 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 5 Jun 2003 01:03:23 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.9/8.12.9) with ESMTP id h54N3IOs038817 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 5 Jun 2003 01:03:19 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.9/8.12.9) with ESMTP id h54N3Iio075734; Thu, 5 Jun 2003 01:03:18 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.9/8.12.9/Submit) id h54N3HV2075725; Thu, 5 Jun 2003 01:03:17 +0200 (CEST) Date: Thu, 5 Jun 2003 01:03:17 +0200 From: Bernd Walter To: jle Message-ID: <20030604230316.GI3231@cicely12.cicely.de> References: <20030604141028.Q905@baa.ssars.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030604141028.Q905@baa.ssars.net> X-Operating-System: FreeBSD cicely12.cicely.de 5.1-BETA alpha User-Agent: Mutt/1.5.4i cc: freebsd-current@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: NFS Problems... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2003 23:03:32 -0000 On Wed, Jun 04, 2003 at 02:21:29PM -0700, jle wrote: > I retired my old p200 fbsd 4.4-stable web server and built a newer box for > it. I used to mount the /home2 dir from my nfs server (fbsd 5.1-current) > to /home on the webserver and it used to work fine but now it doesn't > mount /home2 on /home on boot up. I can manually mount it but then it > gets confused and thinks it's mounted on /home2 when it's not. Evidently > something must have changed since 4.4-S because it worked until today. > > on NFSD: (/etc/exports) > /home2 -maproot=0 -alldirs httpd > > on HTTPD: (/etc/fstab) > NFSD:/home2 /home nfs rw,bg 0 0 > > > mount NFSD:/home2 /home > > root@HTTPD:~ -13:55:06- # cd ~dkdesign > -su: cd: /home2/dkdesign: No such file or directory Not surprising, because you mounted on /home not /home2. > root@HTTPD:~ -13:58:45- # cd /home/dkdesign/ > root@HTTPD:/home/dkdesign -14:02:21- # ls -al > drwxr-xr-x 2 dkdesign dkdesign 512 Mar 13 09:15 public_html/ Yes - that's /home, only /home2 is failing... Works as designed. > >From /var/log/httpd-error.log: > [Wed Jun 4 13:56:45 2003] [error] [client xxx.xxx.xxx.xxx] File does not > exist: /home2/dkdesigns/public_html/ > > I don't get it. Any help? ed /etc/fstab /home2 s/home/home2/ w q -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de