Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  5 Jun 2003 10:10:17 +0700
From:      supote@cscoms.net
To:        jle <jle@baa.ssars.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: NFS Problems...
Message-ID:  <1054782617.3edeb499ba2b0@mail.cscoms.net>

next in thread | raw e-mail | index | archive | help
> 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

> <manually mounting works>
> 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

Hi,
   In your fstab, what is the "bg" purpose ? I never seen this option
before. Make sure such option is usable.

Pote




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1054782617.3edeb499ba2b0>