Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 1999 11:04:23 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        knollm@lafcol.lafayette.edu (Mike Knoll)
Cc:        questions@FreeBSD.ORG
Subject:   Re: NFS
Message-ID:  <199902101604.LAA15920@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <Pine.SOL.3.96.990210085531.10886A-100000@lafcol.lafayette.edu> from Mike Knoll at "Feb 10, 99 09:00:05 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Knoll wrote,
> Is kill -HUP'ing the mountd process enough to get the NFS servers to
> reread /etc/exports?

Should be.

> Also, I am trying to set up amd, but first I just want to be able to mount
> the share.  I can't get a second machine to mount the first machine's home
> directory.
> 
> My exports are:
> 
> /usr/src        -maproot=root   secondmachine
> /usr/home/auser   -maproot=root     secondmachine

Could you show us /etc/exports verbatim (you can 'sed
s/realmachine/fakename/g' of course).

> I can mount -t nfs firstmachine:/usr/src, but not /usr/home/auser.
> 
> I get the following error in /var/log/messages:
> 
> Feb 10 01:32:09 firstmachine mountd[99]: Can't change attributes for
> /usr/home/auser. 
> Feb 10 01:32:09 firstmachine mountd[99]: Bad exports list line
> /usr/home/auser     -maproot
> 
> Trying to mount /usr/home fails in the same way.

I am not clear on when you get these messages. Does it occur when you
SIGHUP mountd or when you try to mount from the secondmachine? One
question, is /usr/home an absolute path? You have not made a /home
partition and made /usr/home a symlink to it, right? (It does not look
like the right error message for that.) Oh, and one last thing, why
are you testing this at 1:30 in the morning? ;)

Now for a question of my own, I was looking at mountd docks again and
was reminded of this. Why is the '-r' option on mountd in the default
rc.conf? Seems like something few people really need, or is it such a
harmless extension that it is added by default (in whichcase, why make
it an option at all)? Will I break anything if I take it out (I'm not
using it to my knowledge)? Is there a reason to take it out?
-- 
Crist J. Clark                           cjclark@home.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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