From owner-freebsd-questions Wed Feb 10 08:02:57 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA15793 for freebsd-questions-outgoing; Wed, 10 Feb 1999 08:02:57 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA15786 for ; Wed, 10 Feb 1999 08:02:54 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.8.8/8.8.8) id LAA15920; Wed, 10 Feb 1999 11:04:23 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199902101604.LAA15920@cc942873-a.ewndsr1.nj.home.com> Subject: Re: NFS In-Reply-To: from Mike Knoll at "Feb 10, 99 09:00:05 am" To: knollm@lafcol.lafayette.edu (Mike Knoll) Date: Wed, 10 Feb 1999 11:04:23 -0500 (EST) Cc: questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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