From owner-freebsd-current@FreeBSD.ORG Wed Jun 4 16:55:19 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AB5B37B401; Wed, 4 Jun 2003 16:55:18 -0700 (PDT) Received: from baa.ssars.net (baa.ssars.net [216.112.90.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40E6D43FA3; Wed, 4 Jun 2003 16:55:17 -0700 (PDT) (envelope-from jle@baa.ssars.net) Received: from baa.ssars.net (jle@localhost [127.0.0.1]) by baa.ssars.net (8.12.9/8.12.9) with ESMTP id h54NrWYe001309; Wed, 4 Jun 2003 16:53:32 -0700 (PDT) (envelope-from jle@baa.ssars.net) Received: from localhost (jle@localhost) by baa.ssars.net (8.12.9/8.12.9/Submit) with ESMTP id h54NrVoD001306; Wed, 4 Jun 2003 16:53:32 -0700 (PDT) Date: Wed, 4 Jun 2003 16:53:31 -0700 (PDT) From: jle To: freebsd-questions@freebsd.org Message-ID: <20030604161707.B1231@baa.ssars.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: NFS Problems... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2003 23:55:19 -0000 > > 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. There shouldn't BE a /home2 on HTTPD but I figured out what happened. I copied /etc/group /etc/passwd /etc/pwd.db and /etc/master.passwd from NFSD to HTTPD to sync users and passwords and forgot to edit the home dir with vipw. I just did a global search and replace of /home2 to /home and rebuilt the pwd.db and it mounted fine and apache now serves "public_html" from the users shells. However, on reboot it doesn't mount from /etc/fstab, I have to mount it manually for some reason. So now I'm down to the one NFS problem. 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 Works fine until I reboot. Shouldn't it mount by itself like it used to? What am I missing now? Why doesn't HTTPD mount NFSD:/home2 on /home when it reboots? TIA