Re: NFS Problems...

From: Bernd Walter <ticso_at_cicely12.cicely.de>
Date: Thu, 5 Jun 2003 01:03:17 +0200
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
> 
> <manually mounting>
> mount NFSD:/home2 /home
> 
> root_at_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_at_HTTPD:~ -13:58:45- # cd /home/dkdesign/
> root_at_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_at_bwct.de                                  info_at_bwct.de
Received on Wed Jun 04 2003 - 14:03:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:10 UTC